-
Notifications
You must be signed in to change notification settings - Fork 521
/
ChangeBlendRenderer.xaml
61 lines (61 loc) · 2.71 KB
/
ChangeBlendRenderer.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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
<?xml version="1.0" encoding="utf-8" ?>
<ContentPage x:Class="ArcGIS.Samples.ChangeBlendRenderer.ChangeBlendRenderer"
xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
xmlns:esriUI="clr-namespace:Esri.ArcGISRuntime.Maui;assembly=Esri.ArcGISRuntime.Maui">
<Grid Style="{DynamicResource EsriSampleContainer}">
<esriUI:MapView x:Name="MyMapView" Style="{DynamicResource EsriSampleGeoView}" />
<Border Style="{DynamicResource EsriSampleControlPanel}">
<Grid Padding="5"
ColumnDefinitions="auto,*"
ColumnSpacing="5"
RowDefinitions="auto,auto,auto,auto,auto"
RowSpacing="5">
<Label x:Name="Label_Altitude"
Grid.Row="0"
Grid.Column="0"
Text="Altitude"
VerticalTextAlignment="Center" />
<Slider x:Name="Altitude_Slider"
Grid.Row="0"
Grid.Column="1"
HorizontalOptions="Start"
WidthRequest="150" />
<Label x:Name="Label_Azimuth"
Grid.Row="1"
Grid.Column="0"
Text="Azimuth"
VerticalTextAlignment="Center" />
<Slider x:Name="Azimuth_Slider"
Grid.Row="1"
Grid.Column="1"
HorizontalOptions="Start"
WidthRequest="150" />
<Label x:Name="Label_SlopeTypes"
Grid.Row="2"
Grid.Column="0"
Text="Slope Type" />
<ListView x:Name="SlopeTypes"
Grid.Row="2"
Grid.Column="1"
HeightRequest="90" />
<Label x:Name="Label_ColorRamps"
Grid.Row="3"
Grid.Column="0"
Text="Color Ramp" />
<ListView x:Name="ColorRamps"
Grid.Row="3"
Grid.Column="1"
HeightRequest="90" />
<Button x:Name="UpdateRenderer"
Grid.Row="4"
Grid.Column="0"
Grid.ColumnSpan="2"
Clicked="OnUpdateRendererClicked"
HorizontalOptions="FillAndExpand"
IsEnabled="True"
Text="Update Renderer" />
</Grid>
</Border>
</Grid>
</ContentPage>