ArcGIS Runtime SDK for .NET Samples

Edit and sync features

Edit and sync features
Loading

Code

<UserControl x:Class="ArcGISRuntime.WPF.Samples.EditAndSyncFeatures.EditAndSyncFeatures"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:esri="http://schemas.esri.com/arcgis/runtime/2013">
    <Grid>
        <esri:MapView x:Name="MyMapView"
                      GeoViewTapped="GeoViewTapped" />
        <Border Background="White" BorderBrush="Black" BorderThickness="1"
                HorizontalAlignment="Right" VerticalAlignment="Top"
                Margin="30" Padding="20" Width="375">
            <StackPanel>
                <TextBlock x:Name="MyHelpLabel"
                           Text="1. Click 'Generate Geodatabase'"
                           TextAlignment="Center" FontWeight="SemiBold" />
                <Button x:Name="MyGenerateButton"
                        Content="Generate geodatabase"
                        Margin="0,5,0,5"
                        IsEnabled="False"
                        Click="GenerateButton_Clicked" />
                <Button x:Name="MySyncButton"
                        Content="Sync geodatabase"
                        IsEnabled="False"
                        Click="SyncButton_Click" />
                <ProgressBar x:Name="MyProgressBar"
                             Visibility="Collapsed"
                             MinHeight="15" Margin="0,5,0,0" />
            </StackPanel>
        </Border>
    </Grid>
</UserControl>


In this topic
  1. Code