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; }
Aangemelde leden kunnen berichten plaatsen, updates volgen en meer. Nieuw hier? Registreer een gratis account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.