Skip to content

Commit

Permalink
Apply XAML Styler
Browse files Browse the repository at this point in the history
  • Loading branch information
michael-hawker committed Apr 29, 2022
1 parent 7dbb399 commit a5d2709
Showing 1 changed file with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<Page x:Class="CommunityToolkit.Labs.Shared.Renderers.ToolkitDocumentationRenderer"
<Page x:Class="CommunityToolkit.Labs.Shared.Renderers.ToolkitDocumentationRenderer"
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"
Expand All @@ -19,7 +19,7 @@

<DataTemplate x:Key="SampleTemplate"
x:DataType="metadata:ToolkitSampleMetadata">
<!-- TODO: Display Header for name of sample? -->
<!-- TODO: Display Header for name of sample? -->
<renderer:ToolkitSampleRenderer Metadata="{Binding}" />
</DataTemplate>

Expand All @@ -30,20 +30,20 @@

<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="*"/>
<ColumnDefinition Width="Auto"/>
<ColumnDefinition Width="*" />
<ColumnDefinition Width="Auto" />
</Grid.ColumnDefinitions>
<ScrollViewer>
<ItemsControl x:Name="DocItemsControl"
ItemsSource="{x:Bind DocsAndSamples, Mode=OneWay}"
ItemTemplateSelector="{StaticResource DocOrSampleTemplateSelector}" />
ItemTemplateSelector="{StaticResource DocOrSampleTemplateSelector}"
ItemsSource="{x:Bind DocsAndSamples, Mode=OneWay}" />
</ScrollViewer>
<ItemsControl Grid.Column="1"
ItemsSource="{x:Bind Samples, Mode=OneWay}">
<ItemsControl.ItemTemplate>
<DataTemplate x:DataType="metadata:ToolkitSampleMetadata">
<HyperlinkButton Content="{Binding DisplayName}"
Click="SampleListHyperlink_Click"/>
<HyperlinkButton Click="SampleListHyperlink_Click"
Content="{Binding DisplayName}" />
</DataTemplate>
</ItemsControl.ItemTemplate>
</ItemsControl>
Expand Down

0 comments on commit a5d2709

Please sign in to comment.