Skip to content

Commit 012dc60

Browse files
committed
Applied XAML styles
1 parent ce92693 commit 012dc60

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

components/AccentAnalyzer/samples/AccentAnalyzerSampleOptionsPane.xaml

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<UserControl x:Class="AccentAnalyzerExperiment.Samples.AccentAnalyzerSampleOptionsPane"
1+
<UserControl x:Class="AccentAnalyzerExperiment.Samples.AccentAnalyzerSampleOptionsPane"
22
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
33
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
44
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
@@ -14,13 +14,16 @@
1414
Content="Set Image" />
1515
</StackPanel>
1616

17-
<GridView ItemsSource="{x:Bind StockImages, Mode=OneWay}" SelectionMode="Single" IsItemClickEnabled="True" ItemClick="GridView_ItemClick"
18-
>
17+
<GridView IsItemClickEnabled="True"
18+
ItemClick="GridView_ItemClick"
19+
ItemsSource="{x:Bind StockImages, Mode=OneWay}"
20+
SelectionMode="Single">
1921
<GridView.ItemTemplate>
2022
<DataTemplate x:DataType="x:String">
21-
<Image Stretch="UniformToFill" MaxWidth="128">
23+
<Image MaxWidth="128"
24+
Stretch="UniformToFill">
2225
<Image.Source>
23-
<BitmapImage UriSource="{x:Bind}"/>
26+
<BitmapImage UriSource="{x:Bind}" />
2427
</Image.Source>
2528
</Image>
2629
</DataTemplate>

0 commit comments

Comments
 (0)