ArcGIS Runtime SDK for .NET Samples

Feature layer query

FeatureLayer query
Loading

Code

<UserControl x:Class="ArcGISRuntime.WPF.Samples.FeatureLayerQuery.FeatureLayerQuery"
             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" />
        <Border
            Background="White" BorderBrush="Black" BorderThickness="1"
            HorizontalAlignment="Right" VerticalAlignment="Top"
            Margin="30" Padding="20" Width="375">
            <StackPanel Orientation="Vertical">
                <TextBlock Text="Enter a state name and click 'Query' to search."
                           TextWrapping="Wrap" FontWeight="SemiBold" TextAlignment="Center" />
                <TextBox x:Name="QueryEntry"
                         Text="New York"
                         TextAlignment="Center"
                         Margin="0,5,0,0" />
                <Button Content="Query"
                        Margin="0,5,0,0"
                        Click="OnQueryClicked" />
            </StackPanel>
        </Border>
    </Grid>

</UserControl>


In this topic
  1. Code