Skip To Content ArcGIS for Developers Sign In Dashboard

Spatial operations

Spatial operations result

Loading

<UserControl 
    x:Class="ArcGISRuntime.UWP.Samples.SpatialOperations.SpatialOperations"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:esriUI="using:Esri.ArcGISRuntime.UI.Controls">
    <Grid>
        <esriUI:MapView x:Name="MyMapView" />
        <Border Background="White" BorderBrush="Black" BorderThickness="1"
                HorizontalAlignment="Center" VerticalAlignment="Top"
                Margin="30" Padding="10" Width="275">
            <StackPanel>
                <TextBlock Text="Select a spatial operation:"/>
                <ComboBox x:Name="SpatialOperationComboBox" 
                          Margin="0,5"
                          SelectionChanged="SpatialOperationComboBox_SelectionChanged" Width="253"/>
                <Button x:Name="ResetOperationButton"
                        Content="Reset operation"
                        Click="ResetOperationButton_Click" Width="253"/>
            </StackPanel>
        </Border>
    </Grid>
</UserControl>

In this topic
  1. Code