<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Alias from a graphics layer in ArcGIS API for Silverlight Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/alias-from-a-graphics-layer/m-p/595558#M15285</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Is there a way to get the field alias to show up in a datagrid after a query and identify task.&amp;nbsp; I can get it to populate a combobox with the correct value but when I do that in a datagrid it&amp;nbsp; shows the real name in one column and the alias in the other.&amp;nbsp; I need the alias in one column and the value in the other. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Dictionary&amp;lt;string, string&amp;gt; flds = e.FeatureSet.FieldAliases;//give &amp;lt;name, alias&amp;gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 22 Jun 2010 21:34:27 GMT</pubDate>
    <dc:creator>BrianGustafson</dc:creator>
    <dc:date>2010-06-22T21:34:27Z</dc:date>
    <item>
      <title>Alias from a graphics layer</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/alias-from-a-graphics-layer/m-p/595558#M15285</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Is there a way to get the field alias to show up in a datagrid after a query and identify task.&amp;nbsp; I can get it to populate a combobox with the correct value but when I do that in a datagrid it&amp;nbsp; shows the real name in one column and the alias in the other.&amp;nbsp; I need the alias in one column and the value in the other. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Dictionary&amp;lt;string, string&amp;gt; flds = e.FeatureSet.FieldAliases;//give &amp;lt;name, alias&amp;gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Jun 2010 21:34:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/alias-from-a-graphics-layer/m-p/595558#M15285</guid>
      <dc:creator>BrianGustafson</dc:creator>
      <dc:date>2010-06-22T21:34:27Z</dc:date>
    </item>
    <item>
      <title>Re: Alias from a graphics layer</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/alias-from-a-graphics-layer/m-p/595559#M15286</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;One option is you to use the LINQ projection to create a new enumerable with the pair alias/value.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Something like:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;using System.Linq;

......
&amp;nbsp;&amp;nbsp;&amp;nbsp; QueryDetailsDataGrid.ItemsSource = from keyValuePair in selectedFeature.Attributes
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; select new KeyValuePair&amp;lt;String, Object&amp;gt;(featureSet.FieldAliases[keyValuePair.Key], keyValuePair.Value);&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 01:34:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/alias-from-a-graphics-layer/m-p/595559#M15286</guid>
      <dc:creator>DominiqueBroux</dc:creator>
      <dc:date>2021-12-12T01:34:18Z</dc:date>
    </item>
    <item>
      <title>Re: Alias from a graphics layer</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/alias-from-a-graphics-layer/m-p/595560#M15287</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;That is what I needed.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jun 2010 12:49:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/alias-from-a-graphics-layer/m-p/595560#M15287</guid>
      <dc:creator>BrianGustafson</dc:creator>
      <dc:date>2010-06-23T12:49:56Z</dc:date>
    </item>
  </channel>
</rss>

