|
5 | 5 | xmlns:controls="clr-namespace:ArcGIS.Controls" |
6 | 6 | xmlns:converters="clr-namespace:ArcGIS.WPF.Viewer.Converters" |
7 | 7 | xmlns:local="clr-namespace:ArcGIS.WPF.Viewer" |
| 8 | + xmlns:calcite="http://schemas.esri.com/calcite/2024" |
8 | 9 | Title="ArcGIS Maps SDK for .NET Samples" |
9 | 10 | Icon="Assets/ApplicationIcons/windows-desktop-256.ico" |
10 | 11 | WindowStartupLocation="CenterScreen" |
|
36 | 37 | Click="SampleGridFavoriteButton_Click" |
37 | 38 | CommandParameter="{Binding FormalName}" |
38 | 39 | Style="{DynamicResource SampleGridFavoriteButton}"> |
39 | | - <Path |
40 | | - Data="M15.633 6.718l-3.666 3.176 1.107 4.732a.632.632 0 0 1-.221.68.572.572 0 0 1-.34.11.72.72 0 0 1-.373-.111l-4.165-2.533-4.163 2.532a.607.607 0 0 1-.936-.676l1.107-4.734L.317 6.718a.633.633 0 0 1-.22-.68.63.63 0 0 1 .578-.418l4.824-.406 1.9-4.537a.619.619 0 0 1 1.154 0l1.898 4.537 4.824.406a.606.606 0 0 1 .358 1.098z" |
41 | | - Fill="{Binding Foreground, RelativeSource={RelativeSource Mode=FindAncestor, AncestorType=Button}}" |
42 | | - Stroke="{Binding Foreground, RelativeSource={RelativeSource Mode=FindAncestor, AncestorType=Button}}" /> |
| 40 | + <Path Data="{calcite:CalciteIconGeometry Icon=StarFilled, Scale=Small}" |
| 41 | + Width="18" Height="18" Stretch="Uniform" |
| 42 | + Fill="{Binding Foreground, RelativeSource={RelativeSource Mode=FindAncestor, AncestorType=Button}}" |
| 43 | + Stroke="{Binding Foreground, RelativeSource={RelativeSource Mode=FindAncestor, AncestorType=Button}}" /> |
43 | 44 | </Button> |
44 | 45 | <TextBlock |
45 | 46 | Grid.Row="0" |
|
144 | 145 | Background="Transparent" |
145 | 146 | BorderBrush="Transparent" |
146 | 147 | Click="SettingsButton_Click"> |
147 | | - <Image |
148 | | - MaxWidth="24" |
149 | | - MaxHeight="24" |
150 | | - Source="Resources/ic_menu_settings_dark.png" /> |
| 148 | + <Path Data="{calcite:CalciteIconGeometry Icon=Gear, Scale=Large}" |
| 149 | + Stroke="White" |
| 150 | + Width="22" Height="22" Stretch="Uniform" /> |
151 | 151 | </Button> |
152 | 152 | <Button |
153 | 153 | Grid.Column="3" |
|
159 | 159 | Margin="5,5" |
160 | 160 | VerticalAlignment="Center" |
161 | 161 | Foreground="White"> |
162 | | - <Path Fill="White" |
163 | | - Data="M18 10H7V9h11v1zm0 2H7v1h11v-1zm-1 3H7v1h10v-1zm-4 3H7v1h6v-1zm8-15v10.19c-.23.21-.54.51-1 .97V4h-1V3h2zM5 22h7.73l-.41 1H4V3h2v1H5v18zm16-3.13V23h-4.14c.07-.05.06-.05 1.01-1H20v-2.13l1-1zM8.5 5.25v-3.5A.752.752 0 0 0 7.75 1a.752.752 0 0 0-.75.75v3.5c0 .412.338.75.75.75s.75-.338.75-.75zm3 0v-3.5a.752.752 0 0 0-.75-.75.752.752 0 0 0-.75.75v3.5c0 .412.338.75.75.75s.75-.338.75-.75zm3.5 0v-3.5a.752.752 0 0 0-.75-.75.752.752 0 0 0-.75.75v3.5c0 .412.338.75.75.75s.75-.338.75-.75zm3 0v-3.5a.752.752 0 0 0-.75-.75.752.752 0 0 0-.75.75v3.5c0 .412.338.75.75.75s.75-.338.75-.75zm3.435 11.772l-1.413-1.415-5.184 5.184 1.414 1.414 5.183-5.183zm1.725-2.05l-1.13-1.132a.2.2 0 0 0-.283 0l-.734.734 1.414 1.414.734-.734a.2.2 0 0 0 0-.283zm-9.32 6.941L13 24l2.086-.84-1.247-1.247z" /> |
| 162 | + <Path Data="{calcite:CalciteIconGeometry Icon=NotePadEdit, Scale=Small}" |
| 163 | + Fill="White" |
| 164 | + Width="22" Height="22" Stretch="Uniform" /> |
164 | 165 | </Button> |
165 | 166 | </Grid> |
166 | 167 |
|
|
175 | 176 | Padding="0,10,0,0" |
176 | 177 | Background="#FFF8F8F8" |
177 | 178 | BorderBrush="Transparent" |
178 | | - FontSize="18" |
| 179 | + FontSize="16" |
179 | 180 | ItemsSource="{Binding}" |
180 | 181 | ScrollViewer.HorizontalScrollBarVisibility="Disabled" |
181 | 182 | SelectedItemChanged="categories_SelectedItemChanged" |
|
216 | 217 | Height="25" |
217 | 218 | Margin="5,5" |
218 | 219 | VerticalAlignment="Center" |
219 | | - Background="white" |
| 220 | + Foreground="White" |
| 221 | + Background="White" |
220 | 222 | BorderThickness="0" |
221 | 223 | Click="InSampleFavoriteButton_Click" |
222 | | - CommandParameter="{Binding FormalName}"> |
223 | | - <Path |
224 | | - Data="M15.633 6.718l-3.666 3.176 1.107 4.732a.632.632 0 0 1-.221.68.572.572 0 0 1-.34.11.72.72 0 0 1-.373-.111l-4.165-2.533-4.163 2.532a.607.607 0 0 1-.936-.676l1.107-4.734L.317 6.718a.633.633 0 0 1-.22-.68.63.63 0 0 1 .578-.418l4.824-.406 1.9-4.537a.619.619 0 0 1 1.154 0l1.898 4.537 4.824.406a.606.606 0 0 1 .358 1.098z" |
225 | | - Fill="{Binding Foreground, RelativeSource={RelativeSource Mode=FindAncestor, AncestorType=Button}}" |
226 | | - Stroke="Black" /> |
| 224 | + CommandParameter="{Binding FormalName}" |
| 225 | + Style="{x:Null}"> |
| 226 | + <Path Data="{calcite:CalciteIconGeometry Icon=StarFilled, Scale=Small}" |
| 227 | + Stroke="Black" |
| 228 | + Fill="{Binding Foreground, RelativeSource={RelativeSource Mode=FindAncestor, AncestorType=Button}}" |
| 229 | + Width="18" Height="18" Stretch="Uniform" /> |
227 | 230 | </Button> |
228 | 231 | </StackPanel> |
229 | 232 | <StackPanel Grid.Column="1" Orientation="Horizontal"> |
|
235 | 238 | Background="White" |
236 | 239 | BorderThickness="0" |
237 | 240 | Click="ScreenshotButton_Click" |
238 | | - Visibility="Hidden"> |
239 | | - <Path Data="M14.5 8a4.5 4.5 0 1 0 4.5 4.5A4.505 4.505 0 0 0 14.5 8zm0 8a3.5 3.5 0 1 1 3.5-3.5 3.504 3.504 0 0 1-3.5 3.5zM8 9H4V8h4zm13 11H3a2.002 2.002 0 0 1-2-2V8a2.002 2.002 0 0 1 2-2h1V5h4v1h1.5a.5.5 0 0 0 .5-.5A1.502 1.502 0 0 1 11.5 4h6A1.502 1.502 0 0 1 19 5.5a.5.5 0 0 0 .5.5H21a2.002 2.002 0 0 1 2 2v10a2.002 2.002 0 0 1-2 2zM3 7a1.001 1.001 0 0 0-1 1v10a1.001 1.001 0 0 0 1 1h18a1.001 1.001 0 0 0 1-1V8a1.001 1.001 0 0 0-1-1h-1.5A1.502 1.502 0 0 1 18 5.5a.5.5 0 0 0-.5-.5h-6a.5.5 0 0 0-.5.5A1.502 1.502 0 0 1 9.5 7H7V6H5v1z" Stroke="Black" /> |
| 241 | + Visibility="Hidden" |
| 242 | + Style="{x:Null}"> |
| 243 | + <Path Data="{calcite:CalciteIconGeometry Icon=Camera, Scale=Large}" |
| 244 | + Stroke="Black" |
| 245 | + Width="22" Height="22" Stretch="Uniform" /> |
240 | 246 | </Button> |
241 | 247 | <RadioButton |
242 | 248 | x:Name="SampleRadTab" |
|
0 commit comments