-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathSample.xaml
More file actions
34 lines (33 loc) · 1.17 KB
/
Copy pathSample.xaml
File metadata and controls
34 lines (33 loc) · 1.17 KB
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
<?xml version="1.0" encoding="utf-8"?>
<Page
x:Class="AIDevGallery.Sample.Sample"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
mc:Ignorable="d">
<ScrollViewer>
<Grid RowSpacing="16">
<Grid.RowDefinitions>
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
</Grid.RowDefinitions>
<Image
x:Name="DefaultImage"
MaxWidth="800"
MaxHeight="500" />
<ProgressRing
x:Name="Loader"
Grid.Row="1"
IsActive="false"
Visibility="Collapsed" />
<Button
x:Name="UploadButton"
Grid.Row="1"
HorizontalAlignment="Center"
Click="UploadButton_Click"
Content="Select image"
Style="{StaticResource AccentButtonStyle}" />
</Grid>
</ScrollViewer>
</Page>