forked from Esri/arcgis-maps-sdk-dotnet-samples
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathChangeTimeExtent.xaml
33 lines (33 loc) · 1.39 KB
/
ChangeTimeExtent.xaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
<UserControl
x:Class="ArcGISRuntime.WPF.Samples.ChangeTimeExtent.ChangeTimeExtent"
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 Style="{StaticResource BorderStyle}">
<Grid>
<Grid.RowDefinitions>
<RowDefinition />
<RowDefinition />
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="*" />
<ColumnDefinition Width="*" />
</Grid.ColumnDefinitions>
<Label Content="Tap a year to filter the data."
Grid.Row="0" Grid.Column="0" Grid.ColumnSpan="2"
HorizontalAlignment="Center"
FontWeight="SemiBold" />
<Button Content="2000"
Grid.Row="1" Grid.Column="0"
Margin="0,5,5,0"
Click="twoThousand_Click" />
<Button Content="2005"
Grid.Row="1" Grid.Column="1"
Margin="5,5,0,0"
Click="twoThousandFive_Click" />
</Grid>
</Border>
</Grid>
</UserControl>