|
1 | | -<!-- |
| 1 | +<!-- |
2 | 2 | //********************************************************* |
3 | 3 | // |
4 | 4 | // Copyright (c) Microsoft. All rights reserved. |
|
88 | 88 | NotEmptyValue="False" /> |
89 | 89 | </Page.Resources> |
90 | 90 |
|
91 | | - <Grid HorizontalAlignment="Stretch" RowSpacing="8"> |
| 91 | + <Grid RowSpacing="8"> |
92 | 92 | <Grid.RowDefinitions> |
93 | | - <RowDefinition Height="Auto" /> |
94 | 93 | <RowDefinition Height="Auto" /> |
95 | 94 | <RowDefinition Height="Auto" /> |
96 | 95 | <RowDefinition Height="*" /> |
97 | 96 | </Grid.RowDefinitions> |
98 | 97 |
|
99 | 98 | <toolkit:SettingsExpander |
100 | | - Grid.Row="1" |
101 | 99 | AutomationProperties.AccessibilityView="Raw" |
102 | 100 | Header="How to use Segoe Fluent Icons" |
103 | 101 | IsExpanded="False"> |
|
143 | 141 | </toolkit:SettingsExpander> |
144 | 142 |
|
145 | 143 | <StackPanel |
146 | | - Grid.Row="2" |
| 144 | + Grid.Row="1" |
147 | 145 | Margin="0,24,0,0" |
148 | 146 | Spacing="8"> |
149 | 147 | <TextBlock Style="{ThemeResource BodyStrongTextBlockStyle}" Text="Fluent Icons Library" /> |
|
158 | 156 | </StackPanel> |
159 | 157 |
|
160 | 158 | <controls:SampleThemeListener |
161 | | - Grid.Row="3" |
162 | | - VerticalAlignment="Top" |
| 159 | + Grid.Row="2" |
163 | 160 | IsTabStop="True"> |
164 | 161 | <Grid Style="{ThemeResource GalleryTileGridStyle}"> |
165 | 162 | <Grid.ColumnDefinitions> |
166 | 163 | <ColumnDefinition Width="*" /> |
167 | | - <ColumnDefinition Width="316" /> |
| 164 | + <ColumnDefinition Width="334" /> |
168 | 165 | </Grid.ColumnDefinitions> |
169 | 166 | <ItemsView |
170 | 167 | x:Name="IconsItemsView" |
171 | 168 | MinWidth="100" |
172 | 169 | Padding="16" |
173 | | - HorizontalAlignment="Stretch" |
174 | 170 | ItemTemplate="{StaticResource IconTemplate}" |
175 | 171 | SelectionChanged="IconsItemsView_SelectionChanged" |
176 | 172 | TabFocusNavigation="Once"> |
|
223 | 219 | <TextBlock |
224 | 220 | Foreground="{ThemeResource TextFillColorSecondaryBrush}" |
225 | 221 | Style="{StaticResource CaptionTextBlockStyle}" |
226 | | - Text="XAML" /> |
227 | | - <controls:SampleCodePresenter x:Name="XAMLCodePresenter" Style="{StaticResource CodeValuePresenterStyle}" /> |
| 222 | + Text="FontIcon XAML" /> |
| 223 | + <controls:SampleCodePresenter x:Name="XAMLCodePresenterFont" Style="{StaticResource CodeValuePresenterStyle}" /> |
| 224 | + <TextBlock |
| 225 | + Foreground="{ThemeResource TextFillColorSecondaryBrush}" |
| 226 | + Style="{StaticResource CaptionTextBlockStyle}" |
| 227 | + Text="FontIcon C#" /> |
| 228 | + <controls:SampleCodePresenter x:Name="CSharpCodePresenterFont" Style="{StaticResource CodeValuePresenterStyle}" /> |
| 229 | + <TextBlock |
| 230 | + Foreground="{ThemeResource TextFillColorSecondaryBrush}" |
| 231 | + Style="{StaticResource CaptionTextBlockStyle}" |
| 232 | + Text="SymbolIcon XAML" |
| 233 | + Visibility="{Binding SelectedItem.SymbolName, Converter={StaticResource nullToVisibilityConverter}, Mode=OneWay}"/> |
| 234 | + <controls:SampleCodePresenter x:Name="XAMLCodePresenterSymbol" Style="{StaticResource CodeValuePresenterStyle}" /> |
228 | 235 | <TextBlock |
229 | 236 | Foreground="{ThemeResource TextFillColorSecondaryBrush}" |
230 | 237 | Style="{StaticResource CaptionTextBlockStyle}" |
231 | | - Text="C#" /> |
232 | | - <controls:SampleCodePresenter x:Name="CSharpCodePresenter" Style="{StaticResource CodeValuePresenterStyle}" /> |
| 238 | + Text="SymbolIcon C#" |
| 239 | + Visibility="{Binding SelectedItem.SymbolName, Converter={StaticResource nullToVisibilityConverter}, Mode=OneWay}"/> |
| 240 | + <controls:SampleCodePresenter x:Name="CSharpCodePresenterSymbol" Style="{StaticResource CodeValuePresenterStyle}" /> |
233 | 241 | <TextBlock |
234 | 242 | Margin="0,4,0,0" |
235 | 243 | Foreground="{ThemeResource TextFillColorSecondaryBrush}" |
|
0 commit comments