Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion WinUIGallery/Pages/AllControlsPage.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,11 @@
ItemTemplate="{StaticResource ControlItemTemplate}"
ItemsSource="{x:Bind Items, Mode=OneWay}"
Loaded="OnItemGridViewLoaded"
SelectionMode="None" />
SelectionMode="None">
<GridView.Resources>
<CornerRadius x:Key="GridViewItemCornerRadius">8</CornerRadius>
</GridView.Resources>
</GridView>
<VisualStateManager.VisualStateGroups>
<!-- Visual states reflect the application's window size -->
<VisualStateGroup x:Name="LayoutVisualStates">
Expand Down
6 changes: 4 additions & 2 deletions WinUIGallery/Pages/HomePage.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@
HighContrastAdjustment="None">
<Grid>
<Grid.Resources>
<CornerRadius x:Key="GridViewItemCornerRadius">8</CornerRadius>

<animations:ImplicitAnimationSet x:Name="ShowTransitions">
<animations:OffsetAnimation
EasingMode="EaseOut"
Expand Down Expand Up @@ -121,7 +123,7 @@
Loaded="OnItemGridViewLoaded"
SelectionMode="None"
AutomationProperties.AutomationId="RecentlyAddedAndUpdatedGridView"
AutomationProperties.Name="Recently added and updated Samples" />
AutomationProperties.Name="Recently added and updated Samples"/>
</StackPanel>
</toolkit:Case>
<toolkit:Case Value="Favorites">
Expand Down Expand Up @@ -185,4 +187,4 @@
</VisualStateGroup>
</VisualStateManager.VisualStateGroups>
</Grid>
</local:ItemsPageBase>
</local:ItemsPageBase>
6 changes: 5 additions & 1 deletion WinUIGallery/Pages/SearchResultsPage.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,11 @@
ItemsSource="{x:Bind ((local:Filter)resultsNavView.SelectedItem).Items, Mode=OneWay}"
Loaded="OnItemGridViewLoaded"
SelectionMode="None"
TabIndex="1" />
TabIndex="1">
<GridView.Resources>
<CornerRadius x:Key="GridViewItemCornerRadius">8</CornerRadius>
</GridView.Resources>
</GridView>
</UserControl>
</NavigationView>

Expand Down
6 changes: 5 additions & 1 deletion WinUIGallery/Pages/SectionPage.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,11 @@
ItemsSource="{x:Bind Items, Mode=OneWay}"
Loaded="OnItemGridViewLoaded"
SelectionMode="None"
TabIndex="1" />
TabIndex="1">
<GridView.Resources>
<CornerRadius x:Key="GridViewItemCornerRadius">8</CornerRadius>
</GridView.Resources>
</GridView>
<!-- Visual states reflect the application's window size -->
<VisualStateManager.VisualStateGroups>
<VisualStateGroup x:Name="LayoutVisualStates">
Expand Down