Skip to content
Open
Show file tree
Hide file tree
Changes from 3 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
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,10 @@
</Page.Resources>

<StackPanel Spacing="12">
<StackPanel.ChildrenTransitions>
<RepositionThemeTransition />
</StackPanel.ChildrenTransitions>

<RichTextBlock>
<Paragraph>
Accessibility is about building experiences that make your Windows application usable by people of
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,10 @@
</Page.Resources>

<StackPanel Spacing="12">
<StackPanel.ChildrenTransitions>
<RepositionThemeTransition />
</StackPanel.ChildrenTransitions>

<RichTextBlock>
<Paragraph>
Accessibility is about building experiences that make your Windows application usable by people of
Expand Down
4 changes: 4 additions & 0 deletions WinUIGallery/Samples/ControlPages/AcrylicPage.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,10 @@
</ResourceDictionary>
</Page.Resources>
<StackPanel>
<StackPanel.ChildrenTransitions>
<RepositionThemeTransition />
</StackPanel.ChildrenTransitions>

<RichTextBlock>
<Paragraph>
Acrylic Brush might fall back to SolidColorbrush in certain scenarios.
Expand Down
4 changes: 4 additions & 0 deletions WinUIGallery/Samples/ControlPages/AnimatedIconPage.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
mc:Ignorable="d">
<StackPanel>
<StackPanel.ChildrenTransitions>
<RepositionThemeTransition />
</StackPanel.ChildrenTransitions>

<controls:ControlExample
x:Name="AnimatedIconExample1"
CSharpSource="Icons/AnimatedIconSample1_cs.txt"
Expand Down
4 changes: 4 additions & 0 deletions WinUIGallery/Samples/ControlPages/AppBarButtonPage.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
mc:Ignorable="d">
<StackPanel>
<StackPanel.ChildrenTransitions>
<RepositionThemeTransition />
</StackPanel.ChildrenTransitions>

<controls:ControlExample x:Name="Example1" HeaderText="An AppBarButton with a symbol icon.">
<StackPanel Orientation="Horizontal">
<!-- App bar button with symbol icon. -->
Expand Down
4 changes: 4 additions & 0 deletions WinUIGallery/Samples/ControlPages/AppBarToggleButtonPage.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
mc:Ignorable="d">
<StackPanel>
<StackPanel.ChildrenTransitions>
<RepositionThemeTransition />
</StackPanel.ChildrenTransitions>

<controls:ControlExample x:Name="Example1" HeaderText="An AppBarToggleButton with a symbol icon.">
<controls:ControlExample.Example>
<StackPanel Orientation="Horizontal">
Expand Down
4 changes: 4 additions & 0 deletions WinUIGallery/Samples/ControlPages/AppNotificationPage.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@
mc:Ignorable="d">

<StackPanel>
<StackPanel.ChildrenTransitions>
<RepositionThemeTransition />
</StackPanel.ChildrenTransitions>

<StackPanel Spacing="8"
Margin="0,16,0,0">
<InfoBar IsOpen="True"
Expand Down
4 changes: 4 additions & 0 deletions WinUIGallery/Samples/ControlPages/AppWindowPage.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@
mc:Ignorable="d">

<StackPanel>
<StackPanel.ChildrenTransitions>
<RepositionThemeTransition />
</StackPanel.ChildrenTransitions>

<TextBlock
Margin="0,16,0,-16"
Style="{ThemeResource SubtitleTextBlockStyle}"
Expand Down
4 changes: 4 additions & 0 deletions WinUIGallery/Samples/ControlPages/AutoSuggestBoxPage.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@
x:Name="pageRoot"
mc:Ignorable="d">
<StackPanel>
<StackPanel.ChildrenTransitions>
<RepositionThemeTransition />
</StackPanel.ChildrenTransitions>

<controls:ControlExample x:Name="Example1" HeaderText="A basic autosuggest box.">
<StackPanel Orientation="Horizontal">
<AutoSuggestBox
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@
mc:Ignorable="d">

<StackPanel>
<StackPanel.ChildrenTransitions>
<RepositionThemeTransition />
</StackPanel.ChildrenTransitions>

<InfoBar Margin="0,10,0,0" IsOpen="True" IsClosable="False" Severity="Warning" Title="BadgeNotificationManager is not available in unpackaged mode." Message="This API requires the app to be running in packaged mode (MSIX)."/>
<controls:ControlExample HeaderText="Setting badge notifications with count">
<StackPanel Spacing="8">
Expand Down
4 changes: 4 additions & 0 deletions WinUIGallery/Samples/ControlPages/BreadcrumbBarPage.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
mc:Ignorable="d">
<StackPanel>
<StackPanel.ChildrenTransitions>
<RepositionThemeTransition />
</StackPanel.ChildrenTransitions>

<controls:ControlExample x:Name="Example1" HeaderText="A BreadcrumbBar control">
<controls:ControlExample.Example>
<BreadcrumbBar x:Name="BreadcrumbBar1" ItemsSource="{x:Bind FoldersString}"/>
Expand Down
4 changes: 4 additions & 0 deletions WinUIGallery/Samples/ControlPages/ButtonPage.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
mc:Ignorable="d">
<StackPanel>
<StackPanel.ChildrenTransitions>
<RepositionThemeTransition />
</StackPanel.ChildrenTransitions>

<controls:ControlExample x:Name="Example1" HeaderText="A simple Button with text content.">
<controls:ControlExample.Example>
<Button
Expand Down
4 changes: 4 additions & 0 deletions WinUIGallery/Samples/ControlPages/CheckBoxPage.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
mc:Ignorable="d">
<StackPanel>
<StackPanel.ChildrenTransitions>
<RepositionThemeTransition />
</StackPanel.ChildrenTransitions>

<controls:ControlExample x:Name="Example1" HeaderText="A 2-state CheckBox.">
<controls:ControlExample.Example>
<StackPanel Orientation="Horizontal">
Expand Down
4 changes: 4 additions & 0 deletions WinUIGallery/Samples/ControlPages/ClipboardPage.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
mc:Ignorable="d">
<StackPanel>
<StackPanel.ChildrenTransitions>
<RepositionThemeTransition />
</StackPanel.ChildrenTransitions>

<!-- COPY TO CLIPBOARD -->
<controls:ControlExample x:Name="Example1" HeaderText="Copy text to the Clipboard">

Expand Down
4 changes: 4 additions & 0 deletions WinUIGallery/Samples/ControlPages/ComboBoxPage.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
mc:Ignorable="d">
<StackPanel>
<StackPanel.ChildrenTransitions>
<RepositionThemeTransition />
</StackPanel.ChildrenTransitions>

<controls:ControlExample HeaderText="A ComboBox with items defined inline and its width set.">
<controls:ControlExample.Example>
<StackPanel>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,10 @@
x:Name="pageRoot"
mc:Ignorable="d">
<StackPanel>

<StackPanel.ChildrenTransitions>
<RepositionThemeTransition />
</StackPanel.ChildrenTransitions>

<controls:ControlExample
CSharpSource="Motion/ConnectedAnimation/ConnectedAnimationSample1_cs.txt"
HeaderText="A connected animation between a list page and a detail page"
Expand Down
4 changes: 4 additions & 0 deletions WinUIGallery/Samples/ControlPages/ContentDialogPage.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
mc:Ignorable="d">
<StackPanel>
<StackPanel.ChildrenTransitions>
<RepositionThemeTransition />
</StackPanel.ChildrenTransitions>

<controls:ControlExample
x:Name="Example1"
CSharpSource="ContentDialog/ContentDialogSample1_cs.txt"
Expand Down
4 changes: 4 additions & 0 deletions WinUIGallery/Samples/ControlPages/DatePickerPage.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
mc:Ignorable="d">
<StackPanel>
<StackPanel.ChildrenTransitions>
<RepositionThemeTransition />
</StackPanel.ChildrenTransitions>

<controls:ControlExample x:Name="Example1" HeaderText="A simple DatePicker with a header.">
<controls:ControlExample.Example>
<DatePicker Header="Pick a date" />
Expand Down
4 changes: 4 additions & 0 deletions WinUIGallery/Samples/ControlPages/DropDownButtonPage.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@
mc:Ignorable="d">

<StackPanel>
<StackPanel.ChildrenTransitions>
<RepositionThemeTransition />
</StackPanel.ChildrenTransitions>

<controls:ControlExample HeaderText="Simple DropDownButton" XamlSource="Buttons/DropDown/DropDownButton_Simple.txt">
<StackPanel x:Name="Control1" Orientation="Horizontal">
<DropDownButton Content="Email">
Expand Down
4 changes: 4 additions & 0 deletions WinUIGallery/Samples/ControlPages/EasingFunctionPage.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@
mc:Ignorable="d">

<StackPanel>
<StackPanel.ChildrenTransitions>
<RepositionThemeTransition />
</StackPanel.ChildrenTransitions>

<RichTextBlock Style="{ThemeResource BodyRichTextBlockStyle}">
<Paragraph>- Use the Standard easing function for animating general property changes.</Paragraph>
<Paragraph>- Use the Accelerate easing function to animate objects that are exiting the scene.</Paragraph>
Expand Down
4 changes: 4 additions & 0 deletions WinUIGallery/Samples/ControlPages/ExpanderPage.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@
mc:Ignorable="d">

<StackPanel>
<StackPanel.ChildrenTransitions>
<RepositionThemeTransition />
</StackPanel.ChildrenTransitions>

<controls:ControlExample x:Name="Example1" HeaderText="An Expander with text in the header and content areas">
<controls:ControlExample.Example>
<Expander
Expand Down
4 changes: 4 additions & 0 deletions WinUIGallery/Samples/ControlPages/FlipViewPage.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@
xmlns:models="using:WinUIGallery.Models"
xmlns:pages="using:WinUIGallery.Pages">
<StackPanel>
<StackPanel.ChildrenTransitions>
<RepositionThemeTransition />
</StackPanel.ChildrenTransitions>

<controls:ControlExample
x:Name="Example1"
ExampleHeight="Auto"
Expand Down
4 changes: 4 additions & 0 deletions WinUIGallery/Samples/ControlPages/FlyoutPage.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@
</Flyout>
</Page.Resources>
<StackPanel>
<StackPanel.ChildrenTransitions>
<RepositionThemeTransition />
</StackPanel.ChildrenTransitions>

<controls:ControlExample HeaderText="A button with a flyout">
<controls:ControlExample.Example>
<Button x:Name="Control1" Content="Empty cart">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@
mc:Ignorable="d">

<StackPanel>
<StackPanel.ChildrenTransitions>
<RepositionThemeTransition />
</StackPanel.ChildrenTransitions>

<StackPanel Margin="0,12,0,0" Spacing="12">
<RichTextBlock>
<Paragraph FontWeight="SemiBold">Key concepts</Paragraph>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@
mc:Ignorable="d">

<StackPanel>
<StackPanel.ChildrenTransitions>
<RepositionThemeTransition />
</StackPanel.ChildrenTransitions>

<TextBlock Text="Custom (templated) control" Style="{ThemeResource SubtitleTextBlockStyle}" Margin="0,8" />
<StackPanel Spacing="8">
<RichTextBlock>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@
</Page.Resources>

<StackPanel>
<StackPanel.ChildrenTransitions>
<RepositionThemeTransition />
</StackPanel.ChildrenTransitions>

<StackPanel Margin="0,12,0,0" Spacing="12">
<RichTextBlock>
<Paragraph FontWeight="SemiBold">Placement of Templates</Paragraph>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@
</Page.Resources>

<StackPanel>
<StackPanel.ChildrenTransitions>
<RepositionThemeTransition />
</StackPanel.ChildrenTransitions>

<TextBlock
Margin="0,12,0,4"
Style="{ThemeResource SubtitleTextBlockStyle}"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@
mc:Ignorable="d">

<StackPanel>
<StackPanel.ChildrenTransitions>
<RepositionThemeTransition />
</StackPanel.ChildrenTransitions>

<StackPanel Margin="0,12,0,0" Spacing="12">
<RichTextBlock>
<Paragraph>The definition of styles is similiar to other resources: app-level, page-level, control-level.</Paragraph>
Expand Down
4 changes: 4 additions & 0 deletions WinUIGallery/Samples/ControlPages/GridViewPage.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,10 @@
</Page.Resources>

<StackPanel>
<StackPanel.ChildrenTransitions>
<RepositionThemeTransition />
</StackPanel.ChildrenTransitions>

<controls:ControlExample
CSharpSource="GridView/GridViewSample1_cs.txt"
HeaderText="Basic GridView with Simple DataTemplate"
Expand Down
4 changes: 4 additions & 0 deletions WinUIGallery/Samples/ControlPages/HyperlinkButtonPage.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@
mc:Ignorable="d">

<StackPanel>
<StackPanel.ChildrenTransitions>
<RepositionThemeTransition />
</StackPanel.ChildrenTransitions>

<controls:ControlExample x:Name="Example1" HeaderText="A hyperlink button that navigates to a URI.">
<controls:ControlExample.Example>
<HyperlinkButton
Expand Down
4 changes: 4 additions & 0 deletions WinUIGallery/Samples/ControlPages/IconElementPage.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
mc:Ignorable="d">
<StackPanel>
<StackPanel.ChildrenTransitions>
<RepositionThemeTransition />
</StackPanel.ChildrenTransitions>

<controls:ControlExample x:Name="Example1" HeaderText="A BitmapIcon with a multicolor bitmap image">
<controls:ControlExample.Example>
<StackPanel>
Expand Down
4 changes: 4 additions & 0 deletions WinUIGallery/Samples/ControlPages/ImagePage.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
mc:Ignorable="d">
<StackPanel>
<StackPanel.ChildrenTransitions>
<RepositionThemeTransition />
</StackPanel.ChildrenTransitions>

<controls:ControlExample x:Name="Example1" HeaderText="A basic image from a local file.">

<Image Height="100" Source="/Assets/SampleMedia/treetops.jpg" />
Expand Down
4 changes: 4 additions & 0 deletions WinUIGallery/Samples/ControlPages/ImplicitTransitionPage.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@
</Style>
</Page.Resources>
<StackPanel>
<StackPanel.ChildrenTransitions>
<RepositionThemeTransition />
</StackPanel.ChildrenTransitions>

<controls:ControlExample HeaderText="Automatically animate changes to Opacity">
<Rectangle
x:Name="OpacityRectangle"
Expand Down
4 changes: 4 additions & 0 deletions WinUIGallery/Samples/ControlPages/InfoBadgePage.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@
mc:Ignorable="d">

<StackPanel>
<StackPanel.ChildrenTransitions>
<RepositionThemeTransition />
</StackPanel.ChildrenTransitions>

<controls:ControlExample
x:Name="Example1"
HorizontalContentAlignment="Stretch"
Expand Down
4 changes: 4 additions & 0 deletions WinUIGallery/Samples/ControlPages/InfoBarPage.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
mc:Ignorable="d">
<StackPanel>
<StackPanel.ChildrenTransitions>
<RepositionThemeTransition />
</StackPanel.ChildrenTransitions>

<controls:ControlExample x:Name="Example1" HeaderText="A closable InfoBar with options to change its Severity.">
<controls:ControlExample.Example>
<InfoBar
Expand Down
4 changes: 4 additions & 0 deletions WinUIGallery/Samples/ControlPages/ItemsRepeaterPage.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,10 @@
</Page.Resources>

<StackPanel>
<StackPanel.ChildrenTransitions>
<RepositionThemeTransition />
</StackPanel.ChildrenTransitions>

<controls:ControlExample HeaderText="Basic, non-interactive items laid out by ItemsRepeater">
<ScrollViewer
MaxHeight="500"
Expand Down
Loading