|
1 | | -<Page x:Class="CommunityToolkit.Labs.Shared.Renderers.ToolkitDocumentationRenderer" |
| 1 | +<Page x:Class="CommunityToolkit.Labs.Shared.Renderers.ToolkitDocumentationRenderer" |
2 | 2 | xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" |
3 | 3 | xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" |
4 | 4 | xmlns:d="http://schemas.microsoft.com/expression/blend/2008" |
|
19 | 19 |
|
20 | 20 | <DataTemplate x:Key="SampleTemplate" |
21 | 21 | x:DataType="metadata:ToolkitSampleMetadata"> |
22 | | - <!-- TODO: Display Header for name of sample? --> |
| 22 | + <!-- TODO: Display Header for name of sample? --> |
23 | 23 | <renderer:ToolkitSampleRenderer Metadata="{Binding}" /> |
24 | 24 | </DataTemplate> |
25 | 25 |
|
|
30 | 30 |
|
31 | 31 | <Grid> |
32 | 32 | <Grid.ColumnDefinitions> |
33 | | - <ColumnDefinition Width="*"/> |
34 | | - <ColumnDefinition Width="Auto"/> |
| 33 | + <ColumnDefinition Width="*" /> |
| 34 | + <ColumnDefinition Width="Auto" /> |
35 | 35 | </Grid.ColumnDefinitions> |
36 | 36 | <ScrollViewer> |
37 | 37 | <ItemsControl x:Name="DocItemsControl" |
38 | | - ItemsSource="{x:Bind DocsAndSamples, Mode=OneWay}" |
39 | | - ItemTemplateSelector="{StaticResource DocOrSampleTemplateSelector}" /> |
| 38 | + ItemTemplateSelector="{StaticResource DocOrSampleTemplateSelector}" |
| 39 | + ItemsSource="{x:Bind DocsAndSamples, Mode=OneWay}" /> |
40 | 40 | </ScrollViewer> |
41 | 41 | <ItemsControl Grid.Column="1" |
42 | 42 | ItemsSource="{x:Bind Samples, Mode=OneWay}"> |
43 | 43 | <ItemsControl.ItemTemplate> |
44 | 44 | <DataTemplate x:DataType="metadata:ToolkitSampleMetadata"> |
45 | | - <HyperlinkButton Content="{Binding DisplayName}" |
46 | | - Click="SampleListHyperlink_Click"/> |
| 45 | + <HyperlinkButton Click="SampleListHyperlink_Click" |
| 46 | + Content="{Binding DisplayName}" /> |
47 | 47 | </DataTemplate> |
48 | 48 | </ItemsControl.ItemTemplate> |
49 | 49 | </ItemsControl> |
|
0 commit comments