Select to view content in your preferred language

FeatureDataGrid: Auto Zoom Selected checked by default

665
1
03-24-2012 09:07 AM
CraigPatterson
Regular Contributor
Hi.  Is there a way to configure the featuredatagrid so that the Auto Zoom Selected checkbox is checked by default? 

Thanks,

Craig Patterson
0 Kudos
1 Reply
JenniferNery
Esri Regular Contributor
You can follow the steps from this blog post: http://blogs.esri.com/esri/arcgis/2010/05/20/use-control-templates-to-customize-the-look-and-feel-of... to create a style for FeatureDataGrid. You can update the style by setting IsChecked property of AutoChangeMapExtentCheckBox.

<CheckBox x:Name="AutoChangeMapExtentCheckBox" Content="Auto Zoom to Selected" Margin="10,5" IsChecked="True"/>
0 Kudos