<?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 Re: FeatureDatagrid columns visibility in ArcGIS API for Silverlight Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/featuredatagrid-columns-visibility/m-p/254279#M6605</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;The visible columns is tied to the OutFields collection so the easiest way is to just set the OutFields to only the ones you want.&amp;nbsp; But it seems you want attributes available for the map tip that do not show up.&lt;BR /&gt;&lt;BR /&gt;While I have not done it FeatureDataGrid inherits from DataGrid so I assume you can set the Columns like you have started to below.&amp;nbsp; In order to do this you need to first set the AutoGererateColumns&amp;nbsp; property on the FeatureDataGrid to false.&amp;nbsp; Then in your Columns definition only put the ones you do want to see\&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Hope that helps&lt;BR /&gt;-Joe&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks minerjoe, &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I setted AutoGeneratedColumns=false, property of featuredatagrid &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;&amp;lt;data: DataGridTextColumn Binding="{Binding NAME}" Header="City Name"/&amp;gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;(not Binding [NAME], this not worked)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;the problem solved.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 05 Jun 2012 12:33:11 GMT</pubDate>
    <dc:creator>bayramüçüncü</dc:creator>
    <dc:date>2012-06-05T12:33:11Z</dc:date>
    <item>
      <title>FeatureDatagrid columns visibility</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/featuredatagrid-columns-visibility/m-p/254277#M6603</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I wanna set the visibility unvisible, some columns of my featuredatagrid. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I am binding a featuredatalayer to datagrid. I can specify the visible layers in featurelayer. but I wanna see all of properties in map tip, when I click the layer on the map.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;So a cannot limited the featuredatalayer. So I need specify the featuredatagrid columns visibility.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I used the following code but this not worked&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;xmlns:data="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Data"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; &amp;lt;esri:FeatureDataGrid x:Name="mygrid" Map="{Binding ElementName=Map}" HeadersVisibility="Column" GraphicsLayer="{Binding ElementName=Map, Path=Layers.[cities]}"&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&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;lt;esri:FeatureDataGrid.Columns&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&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;lt;data: DataGridTextColumn Binding="{Binding Attributes[NAME]}" Visibility="Collapsed"/&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&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;lt;/esri:FeatureDataGrid.Columns&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/esri:FeatureDataGrid&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This is not worked&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;data: DataGridTextColumn Binding="{Binding Attributes[NAME]}" Visibility="Collapsed"/&amp;gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Jun 2012 11:41:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/featuredatagrid-columns-visibility/m-p/254277#M6603</guid>
      <dc:creator>bayramüçüncü</dc:creator>
      <dc:date>2012-06-05T11:41:16Z</dc:date>
    </item>
    <item>
      <title>Re: FeatureDatagrid columns visibility</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/featuredatagrid-columns-visibility/m-p/254278#M6604</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The visible columns is tied to the OutFields collection so the easiest way is to just set the OutFields to only the ones you want.&amp;nbsp; But it seems you want attributes available for the map tip that do not show up.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;While I have not done it FeatureDataGrid inherits from DataGrid so I assume you can set the Columns like you have started to below.&amp;nbsp; In order to do this you need to first set the AutoGererateColumns&amp;nbsp; property on the FeatureDataGrid to false.&amp;nbsp; Then in your Columns definition only put the ones you do want to see\&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope that helps&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-Joe&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Jun 2012 12:06:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/featuredatagrid-columns-visibility/m-p/254278#M6604</guid>
      <dc:creator>JoeHershman</dc:creator>
      <dc:date>2012-06-05T12:06:09Z</dc:date>
    </item>
    <item>
      <title>Re: FeatureDatagrid columns visibility</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/featuredatagrid-columns-visibility/m-p/254279#M6605</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;The visible columns is tied to the OutFields collection so the easiest way is to just set the OutFields to only the ones you want.&amp;nbsp; But it seems you want attributes available for the map tip that do not show up.&lt;BR /&gt;&lt;BR /&gt;While I have not done it FeatureDataGrid inherits from DataGrid so I assume you can set the Columns like you have started to below.&amp;nbsp; In order to do this you need to first set the AutoGererateColumns&amp;nbsp; property on the FeatureDataGrid to false.&amp;nbsp; Then in your Columns definition only put the ones you do want to see\&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Hope that helps&lt;BR /&gt;-Joe&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks minerjoe, &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I setted AutoGeneratedColumns=false, property of featuredatagrid &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;&amp;lt;data: DataGridTextColumn Binding="{Binding NAME}" Header="City Name"/&amp;gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;(not Binding [NAME], this not worked)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;the problem solved.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Jun 2012 12:33:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/featuredatagrid-columns-visibility/m-p/254279#M6605</guid>
      <dc:creator>bayramüçüncü</dc:creator>
      <dc:date>2012-06-05T12:33:11Z</dc:date>
    </item>
  </channel>
</rss>

