ArcGIS Runtime SDK for .NET Samples

Change time extent

Change time extent
Loading

Code

<?xml version="1.0" encoding="utf-8" ?>
<ContentPage xmlns="http://xamarin.com/schemas/2014/forms"
             xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"             
             xmlns:esriUI="clr-namespace:Esri.ArcGISRuntime.Xamarin.Forms;assembly=Esri.ArcGISRuntime.Xamarin.Forms"
             x:Class="ArcGISRuntime.Samples.ChangeTimeExtent.ChangeTimeExtent">
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="auto" />
            <RowDefinition Height="auto" />
            <RowDefinition Height="auto" />
            <RowDefinition Height="*" />
        </Grid.RowDefinitions>
        <Label Grid.Row="0"
               Text="Tap a year to filter the data." 
               HorizontalTextAlignment="Center" />
        <Button Grid.Row="1" 
                Text="2000" 
                Clicked="twoThousand_Clicked" />
        <Button Grid.Row="2" 
                Text="2005" 
                Clicked="twoThousandFive_Clicked" />
        <esriUI:MapView x:Name="MyMapView" 
                        Grid.Row="3" />
    </Grid>
</ContentPage>


In this topic
  1. Code