If you want to change the default functionality you will have to download the toolkit and make the change inside the FeatureDataFrom. The entire toolkit is open source on CodePlex
<Border x:Name="FeatureDataFormBorder" Visibility="Visible" HorizontalAlignment="Center" VerticalAlignment="Top" Margin="10,0,10,0" Width="400" Height="300" > <Border.Effect> <DropShadowEffect Color="#FF51626F" Direction="-45" BlurRadius="20" Opacity=".75" /> </Border.Effect> <esri:FeatureDataForm x:Name="MyFeatureDataForm" FeatureLayer="{Binding Path=Layers[AllAvailableFeatureLayer], ElementName=Map}" IsEnabled="True" GotFocus="MyFeatureDataForm_GotFocus" DataContext="{Binding}" IsReadOnly="False" LabelPosition="Left" CommitButtonContent="Save" EditEnded="MyFeatureDataForm_EditEnded"/> </Border>
private void MyFeatureDataForm_GotFocus(object sender, RoutedEventArgs e) { TextBox txb = sender as TextBox; txb.Text = String.Empty; }
Les membres connectés peuvent publier, suivre les mises à jour, et plus encore. Nouveau ici ? Inscrivez-vous gratuitement.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.