├── packagestore
└── readme.md
├── .github
├── assets
│ ├── ReadmeHero-dark.png
│ ├── StoreBadge-dark.png
│ ├── Screenshot-light.png
│ └── StoreBadge-light.png
├── CONTRIBUTING.md
└── PULL_REQUEST_TEMPLATE.md
├── WinUIGallery
├── Assets
│ ├── SampleMedia
│ │ ├── cmd.png
│ │ ├── Slices.png
│ │ ├── cliff.jpg
│ │ ├── fishes.wmv
│ │ ├── folder.png
│ │ ├── grapes.jpg
│ │ ├── linux.png
│ │ ├── sunset.jpg
│ │ ├── valley.jpg
│ │ ├── Slices2.png
│ │ ├── SunBlack.png
│ │ ├── SunWhite.png
│ │ ├── ladybug.wmv
│ │ ├── ninegrid.gif
│ │ ├── rainier.jpg
│ │ ├── treetops.jpg
│ │ ├── CoffeeCup.png
│ │ ├── Dark_Image.png
│ │ ├── Light_Image.png
│ │ ├── MapExample.png
│ │ ├── powershell.png
│ │ ├── LandscapeImage1.jpg
│ │ ├── LandscapeImage10.jpg
│ │ ├── LandscapeImage11.jpg
│ │ ├── LandscapeImage12.jpg
│ │ ├── LandscapeImage13.jpg
│ │ ├── LandscapeImage2.jpg
│ │ ├── LandscapeImage3.jpg
│ │ ├── LandscapeImage4.jpg
│ │ ├── LandscapeImage5.jpg
│ │ ├── LandscapeImage6.jpg
│ │ ├── LandscapeImage7.jpg
│ │ ├── LandscapeImage8.jpg
│ │ └── LandscapeImage9.jpg
│ ├── ControlImages
│ │ ├── Grid.png
│ │ ├── Line.png
│ │ ├── Border.png
│ │ ├── Button.png
│ │ ├── Canvas.png
│ │ ├── Flyout.png
│ │ ├── Image.png
│ │ ├── Pivot.png
│ │ ├── Popup.png
│ │ ├── Shape.png
│ │ ├── Slider.png
│ │ ├── Sound.png
│ │ ├── Acrylic.png
│ │ ├── AppWindow.png
│ │ ├── Checkbox.png
│ │ ├── Clipboard.png
│ │ ├── ComboBox.png
│ │ ├── Expander.png
│ │ ├── FlipView.png
│ │ ├── GridView.png
│ │ ├── InfoBadge.png
│ │ ├── InfoBar.png
│ │ ├── ItemsView.png
│ │ ├── ListBox.png
│ │ ├── ListView.png
│ │ ├── MenuBar.png
│ │ ├── NumberBox.png
│ │ ├── PipsPager.png
│ │ ├── SplitView.png
│ │ ├── TabView.png
│ │ ├── TextBlock.png
│ │ ├── TextBox.png
│ │ ├── TitleBar.png
│ │ ├── ToolTip.png
│ │ ├── TreeView.png
│ │ ├── Viewbox.png
│ │ ├── WebView.png
│ │ ├── CodeTagIcon.png
│ │ ├── ColorPicker.png
│ │ ├── CommandBar.png
│ │ ├── DatePicker.png
│ │ ├── IconElement.png
│ │ ├── MapControl.png
│ │ ├── MenuFlyout.png
│ │ ├── PasswordBox.png
│ │ ├── Placeholder.png
│ │ ├── ProgressBar.png
│ │ ├── RadioButton.png
│ │ ├── RichEditBox.png
│ │ ├── ScratchPad.png
│ │ ├── ScrollView.png
│ │ ├── SplitButton.png
│ │ ├── StackPanel.png
│ │ ├── TeachingTip.png
│ │ ├── ThemeShadow.png
│ │ ├── TimePicker.png
│ │ ├── Accessibility.png
│ │ ├── AnimatedIcon.png
│ │ ├── AppBarButton.png
│ │ ├── AutoSuggestBox.png
│ │ ├── BreadcrumbBar.png
│ │ ├── CalendarView.png
│ │ ├── CaptureElement.png
│ │ ├── CompactSizing.png
│ │ ├── ContentDialog.png
│ │ ├── ContentIsland.png
│ │ ├── CustomControls.png
│ │ ├── DropDownButton.png
│ │ ├── EasingFunction.png
│ │ ├── ItemsRepeater.png
│ │ ├── NavigationView.png
│ │ ├── PageTransition.png
│ │ ├── ParallaxView.png
│ │ ├── PersonPicture.png
│ │ ├── ProgressRing.png
│ │ ├── PullToRefresh.png
│ │ ├── RadioButtons.png
│ │ ├── RatingControl.png
│ │ ├── RelativePanel.png
│ │ ├── RepeatButton.png
│ │ ├── RichTextBlock.png
│ │ ├── ScrollViewer.png
│ │ ├── SemanticZoom.png
│ │ ├── StoragePickers.png
│ │ ├── SwipeControl.png
│ │ ├── ToggleButton.png
│ │ ├── ToggleSwitch.png
│ │ ├── XamlUICommand.png
│ │ ├── AnimationInterop.png
│ │ ├── AppBarSeparator.png
│ │ ├── AppNotification.png
│ │ ├── CommandBarFlyout.png
│ │ ├── HyperlinkButton.png
│ │ ├── ThemeTransition.png
│ │ ├── AnnotatedScrollBar.png
│ │ ├── AppBarToggleButton.png
│ │ ├── BadgeNotification.png
│ │ ├── CalendarDatePicker.png
│ │ ├── ConnectedAnimation.png
│ │ ├── ImplicitTransition.png
│ │ ├── MediaPlayerElement.png
│ │ ├── RadialGradientBrush.png
│ │ ├── StandardUICommand.png
│ │ ├── ToggleSplitButton.png
│ │ ├── AnimatedVisualPlayer.png
│ │ ├── ColorPaletteResources.png
│ │ ├── CreateMultipleWindows.png
│ │ └── VariableSizedWrapGrid.png
│ ├── Design
│ │ ├── Cards.dark.png
│ │ ├── Cards.light.png
│ │ ├── Dialog.dark.png
│ │ ├── Dialog.light.png
│ │ ├── Geometry.dark.png
│ │ ├── Geometry.light.png
│ │ ├── Typography.dark.png
│ │ └── Typography.light.png
│ ├── GalleryHeaderImage.png
│ ├── Tiles
│ │ ├── GalleryIcon.ico
│ │ ├── AppList.scale-100.png
│ │ ├── AppList.scale-125.png
│ │ ├── AppList.scale-150.png
│ │ ├── AppList.scale-200.png
│ │ ├── AppList.scale-400.png
│ │ ├── MedTile.scale-100.png
│ │ ├── MedTile.scale-125.png
│ │ ├── MedTile.scale-150.png
│ │ ├── MedTile.scale-200.png
│ │ ├── MedTile.scale-400.png
│ │ ├── StoreDisplay-150.png
│ │ ├── StoreDisplay-300.png
│ │ ├── StoreDisplay-71.png
│ │ ├── BadgeLogo.scale-100.png
│ │ ├── BadgeLogo.scale-125.png
│ │ ├── BadgeLogo.scale-150.png
│ │ ├── BadgeLogo.scale-200.png
│ │ ├── BadgeLogo.scale-400.png
│ │ ├── LargeTile.scale-100.png
│ │ ├── LargeTile.scale-125.png
│ │ ├── LargeTile.scale-150.png
│ │ ├── LargeTile.scale-200.png
│ │ ├── LargeTile.scale-400.png
│ │ ├── SmallTile.scale-100.png
│ │ ├── SmallTile.scale-125.png
│ │ ├── SmallTile.scale-150.png
│ │ ├── SmallTile.scale-200.png
│ │ ├── SmallTile.scale-400.png
│ │ ├── StoreLogo.scale-100.png
│ │ ├── StoreLogo.scale-125.png
│ │ ├── StoreLogo.scale-150.png
│ │ ├── StoreLogo.scale-200.png
│ │ ├── StoreLogo.scale-400.png
│ │ ├── WideTile.scale-100.png
│ │ ├── WideTile.scale-125.png
│ │ ├── WideTile.scale-150.png
│ │ ├── WideTile.scale-200.png
│ │ ├── WideTile.scale-400.png
│ │ ├── AppList.targetsize-16.png
│ │ ├── AppList.targetsize-20.png
│ │ ├── AppList.targetsize-24.png
│ │ ├── AppList.targetsize-256.png
│ │ ├── AppList.targetsize-30.png
│ │ ├── AppList.targetsize-32.png
│ │ ├── AppList.targetsize-36.png
│ │ ├── AppList.targetsize-40.png
│ │ ├── AppList.targetsize-48.png
│ │ ├── AppList.targetsize-56.png
│ │ ├── AppList.targetsize-60.png
│ │ ├── AppList.targetsize-64.png
│ │ ├── AppList.targetsize-72.png
│ │ ├── AppList.targetsize-80.png
│ │ ├── AppList.targetsize-96.png
│ │ ├── SplashScreen.scale-100.png
│ │ ├── SplashScreen.scale-125.png
│ │ ├── SplashScreen.scale-150.png
│ │ ├── SplashScreen.scale-200.png
│ │ ├── SplashScreen.scale-400.png
│ │ ├── AppList.targetsize-16_altform-unplated.png
│ │ ├── AppList.targetsize-20_altform-unplated.png
│ │ ├── AppList.targetsize-24_altform-unplated.png
│ │ ├── AppList.targetsize-256_altform-unplated.png
│ │ ├── AppList.targetsize-30_altform-unplated.png
│ │ ├── AppList.targetsize-32_altform-unplated.png
│ │ ├── AppList.targetsize-36_altform-unplated.png
│ │ ├── AppList.targetsize-40_altform-unplated.png
│ │ ├── AppList.targetsize-48_altform-unplated.png
│ │ ├── AppList.targetsize-56_altform-unplated.png
│ │ ├── AppList.targetsize-60_altform-unplated.png
│ │ ├── AppList.targetsize-64_altform-unplated.png
│ │ ├── AppList.targetsize-72_altform-unplated.png
│ │ ├── AppList.targetsize-80_altform-unplated.png
│ │ ├── AppList.targetsize-96_altform-unplated.png
│ │ ├── AppList.targetsize-16_altform-lightunplated.png
│ │ ├── AppList.targetsize-20_altform-lightunplated.png
│ │ ├── AppList.targetsize-24_altform-lightunplated.png
│ │ ├── AppList.targetsize-256_altform-lightunplated.png
│ │ ├── AppList.targetsize-30_altform-lightunplated.png
│ │ ├── AppList.targetsize-32_altform-lightunplated.png
│ │ ├── AppList.targetsize-36_altform-lightunplated.png
│ │ ├── AppList.targetsize-40_altform-lightunplated.png
│ │ ├── AppList.targetsize-48_altform-lightunplated.png
│ │ ├── AppList.targetsize-56_altform-lightunplated.png
│ │ ├── AppList.targetsize-60_altform-lightunplated.png
│ │ ├── AppList.targetsize-64_altform-lightunplated.png
│ │ ├── AppList.targetsize-72_altform-lightunplated.png
│ │ ├── AppList.targetsize-80_altform-lightunplated.png
│ │ ├── AppList.targetsize-96_altform-lightunplated.png
│ │ ├── AppList.scale-100_altform-colorful_theme-light.png
│ │ ├── AppList.scale-125_altform-colorful_theme-light.png
│ │ ├── AppList.scale-150_altform-colorful_theme-light.png
│ │ ├── AppList.scale-200_altform-colorful_theme-light.png
│ │ ├── AppList.scale-400_altform-colorful_theme-light.png
│ │ ├── MedTile.scale-100_altform-colorful_theme-light.png
│ │ ├── MedTile.scale-125_altform-colorful_theme-light.png
│ │ ├── MedTile.scale-150_altform-colorful_theme-light.png
│ │ ├── MedTile.scale-200_altform-colorful_theme-light.png
│ │ ├── MedTile.scale-400_altform-colorful_theme-light.png
│ │ ├── WideTile.scale-100_altform-colorful_theme-light.png
│ │ ├── WideTile.scale-125_altform-colorful_theme-light.png
│ │ ├── WideTile.scale-150_altform-colorful_theme-light.png
│ │ ├── WideTile.scale-200_altform-colorful_theme-light.png
│ │ ├── WideTile.scale-400_altform-colorful_theme-light.png
│ │ ├── LargeTile.scale-100_altform-colorful_theme-light.png
│ │ ├── LargeTile.scale-125_altform-colorful_theme-light.png
│ │ ├── LargeTile.scale-150_altform-colorful_theme-light.png
│ │ ├── LargeTile.scale-200_altform-colorful_theme-light.png
│ │ ├── LargeTile.scale-400_altform-colorful_theme-light.png
│ │ ├── SmallTile.scale-100_altform-colorful_theme-light.png
│ │ ├── SmallTile.scale-125_altform-colorful_theme-light.png
│ │ ├── SmallTile.scale-150_altform-colorful_theme-light.png
│ │ ├── SmallTile.scale-200_altform-colorful_theme-light.png
│ │ ├── SmallTile.scale-400_altform-colorful_theme-light.png
│ │ ├── StoreLogo.scale-100_altform-colorful_theme-light.png
│ │ ├── StoreLogo.scale-125_altform-colorful_theme-light.png
│ │ ├── StoreLogo.scale-150_altform-colorful_theme-light.png
│ │ ├── StoreLogo.scale-200_altform-colorful_theme-light.png
│ │ ├── StoreLogo.scale-400_altform-colorful_theme-light.png
│ │ ├── SplashScreen.scale-100_altform-colorful_theme-dark.png
│ │ ├── SplashScreen.scale-100_altform-colorful_theme-light.png
│ │ ├── SplashScreen.scale-125_altform-colorful_theme-dark.png
│ │ ├── SplashScreen.scale-125_altform-colorful_theme-light.png
│ │ ├── SplashScreen.scale-150_altform-colorful_theme-dark.png
│ │ ├── SplashScreen.scale-150_altform-colorful_theme-light.png
│ │ ├── SplashScreen.scale-200_altform-colorful_theme-dark.png
│ │ ├── SplashScreen.scale-200_altform-colorful_theme-light.png
│ │ ├── SplashScreen.scale-400_altform-colorful_theme-dark.png
│ │ └── SplashScreen.scale-400_altform-colorful_theme-light.png
│ ├── CopyLinkTeachingTip.png
│ ├── SceneNode
│ │ ├── DamagedHelmet1.bmp
│ │ ├── DamagedHelmet2.bmp
│ │ ├── DamagedHelmet3.bmp
│ │ ├── DamagedHelmet4.bmp
│ │ ├── DamagedHelmet5.bmp
│ │ ├── DamagedHelmet6.bin
│ │ ├── DamagedHelmet7.bin
│ │ ├── DamagedHelmet8.bin
│ │ └── DamagedHelmet9.bin
│ └── HomeHeaderTiles
│ │ ├── Header-WinUI.png
│ │ ├── Header-Toolkit.png
│ │ ├── Header-Store.dark.png
│ │ ├── Header-Store.light.png
│ │ └── Header-WindowsDesign.png
├── NativeMethods.json
├── Samples
│ ├── SampleCode
│ │ ├── NumberBox
│ │ │ ├── NumberBoxSample3_xaml.txt
│ │ │ └── NumberBoxSample3_cs.txt
│ │ ├── Icons
│ │ │ ├── FontIconSample1_xaml.txt
│ │ │ ├── FontIconSample2_xaml.txt
│ │ │ ├── ImageIconSample1_xaml.txt
│ │ │ ├── PathIconSample1_xaml.txt
│ │ │ ├── SymbolIconSample1_xaml.txt
│ │ │ ├── SymbolIconSample_1_xaml.txt
│ │ │ ├── ImageIconSample2_xaml.txt
│ │ │ ├── AnimatedIconSample1_cs.txt
│ │ │ ├── AnimatedIconSample1_xaml.txt
│ │ │ └── AnimatedIconSample2_xaml.txt
│ │ ├── Geometry
│ │ │ └── GeometrySample_xaml.txt
│ │ ├── TeachingTip
│ │ │ ├── TeachingTipSample1_cs.txt
│ │ │ ├── TeachingTipSample2_cs.txt
│ │ │ ├── TeachingTipSample3_cs.txt
│ │ │ ├── TeachingTipSample2_xaml.txt
│ │ │ ├── TeachingTipSample1_xaml.txt
│ │ │ └── TeachingTipSample3_xaml.txt
│ │ ├── Binding
│ │ │ ├── BindingSample3_xaml.txt
│ │ │ ├── BindingSample3_csharp.txt
│ │ │ └── BindingSample4_xaml.txt
│ │ ├── XamlUICommand
│ │ │ ├── XamlUICommandSample1_cs.txt
│ │ │ └── XamlUICommandSample1_xaml.txt
│ │ ├── Text
│ │ │ └── RichEditBox
│ │ │ │ ├── RichEditBoxSample4_xaml.txt
│ │ │ │ └── RichEditBoxSample4_cs.txt
│ │ ├── Buttons
│ │ │ ├── SplitButton
│ │ │ │ ├── SplitButtonSample2.txt
│ │ │ │ └── SplitButtonSample1.txt
│ │ │ ├── DropDown
│ │ │ │ ├── DropDownButton_Simple.txt
│ │ │ │ └── DropDownButton_RevealStyle.txt
│ │ │ └── ToggleSplitButton
│ │ │ │ └── ToggleSplitButtonSample1.txt
│ │ ├── Window
│ │ │ ├── TitleBar
│ │ │ │ ├── TitleBarSample1.txt
│ │ │ │ └── TitleBarSample2.txt
│ │ │ └── CreateWindowSample1.txt
│ │ ├── TreeView
│ │ │ └── TreeViewDataBindingSample_xaml.txt
│ │ ├── StandardUICommand
│ │ │ ├── StandardUICommandSample1_xaml.txt
│ │ │ └── StandardUICommandSample1_cs.txt
│ │ ├── System
│ │ │ └── Window.txt
│ │ ├── AppWindow
│ │ │ ├── AppWindowSample2_xaml.txt
│ │ │ ├── AppWindowSample7_xaml.txt
│ │ │ ├── AppWindowSample6_cs.txt
│ │ │ ├── AppWindowSample5_xaml.txt
│ │ │ └── AppWindowSample2_cs.txt
│ │ ├── SystemBackdrops
│ │ │ ├── SystemBackdropsSampleBackdropTypes_xaml.txt
│ │ │ └── SystemBackdropsSampleBackdropTypes_cs.txt
│ │ ├── Templates
│ │ │ ├── TemplatesSample3_WrapGrid_xaml.txt
│ │ │ ├── TemplatesSample3_StackPanel_xaml.txt
│ │ │ └── TemplatesSample2_xaml.txt
│ │ ├── XamlResources
│ │ │ ├── XamlResourcesSample1_csharp.txt
│ │ │ └── XamlResourcesSample2_xaml.txt
│ │ ├── XamlStyles
│ │ │ ├── XamlStylesSample2_xaml.txt
│ │ │ ├── XamlStylesSample4_csharp.txt
│ │ │ └── XamlStylesSample1_xaml.txt
│ │ ├── ItemsRepeater
│ │ │ ├── ItemsRepeaterSample2_cs.txt
│ │ │ └── ItemsRepeaterSample1_cs.txt
│ │ ├── GridView
│ │ │ └── GridViewSample1_cs.txt
│ │ ├── NavigationView
│ │ │ ├── NavigationViewSample1.txt
│ │ │ ├── NavigationViewSample2.txt
│ │ │ ├── NavigationViewSample6.txt
│ │ │ ├── NavigationViewSample4_xaml.txt
│ │ │ └── NavigationViewSample5_xaml.txt
│ │ ├── ContentDialog
│ │ │ ├── ContentDialogSample1_xaml.txt
│ │ │ ├── ContentDialogSample2_xaml.txt
│ │ │ ├── ContentDialogSample2_cs.txt
│ │ │ └── ContentDialogSample1_cs.txt
│ │ ├── MenuBar
│ │ │ └── MenuBarSample1.txt
│ │ ├── Motion
│ │ │ ├── AnimationInterop
│ │ │ │ ├── AnimationInteropSample2_xaml.txt
│ │ │ │ ├── AnimationInteropSample5_cs.txt
│ │ │ │ ├── AnimationInteropSample5_xaml.txt
│ │ │ │ └── AnimationInteropSample1_cs.txt
│ │ │ └── ConnectedAnimation
│ │ │ │ └── ConnectedAnimationSample3_cs.txt
│ │ ├── Brushes
│ │ │ └── RadialGradientBrushSample_xaml.txt
│ │ ├── CustomUserControls
│ │ │ ├── CustomUserControlsSample3_xaml.txt
│ │ │ └── CustomUserControlsSample3_cs.txt
│ │ ├── MapControl
│ │ │ └── MapControlSample_cs.txt
│ │ ├── ListView
│ │ │ ├── ListViewSample1_xaml.txt
│ │ │ └── ListViewStickyHeaderSample_xaml.txt
│ │ ├── Typography
│ │ │ └── TypographySample_xaml.txt
│ │ ├── Media
│ │ │ └── CaptureElementPreviewSample_xaml.txt
│ │ └── CommandBarFlyout
│ │ │ └── CommandBarFlyoutSample1_cs.txt
│ ├── ControlPages
│ │ ├── StoragePickersPage.xaml.cs
│ │ ├── GridPage.xaml.cs
│ │ ├── LinePage.xaml.cs
│ │ ├── PivotPage.xaml.cs
│ │ ├── ShapePage.xaml.cs
│ │ ├── CanvasPage.xaml.cs
│ │ ├── TextBoxPage.xaml.cs
│ │ ├── WebView2Page.xaml.cs
│ │ ├── Design
│ │ │ └── SpacingPage.xaml.cs
│ │ ├── TextBlockPage.xaml.cs
│ │ ├── TimePickerPage.xaml.cs
│ │ ├── ToolTipPage.xaml.cs
│ │ ├── ToggleSwitchPage.xaml.cs
│ │ ├── RelativePanelPage.xaml.cs
│ │ ├── AppBarSeparatorPage.xaml.cs
│ │ ├── DropDownButtonPage.xaml.cs
│ │ ├── Fundamentals
│ │ │ ├── XamlStylesPage.xaml.cs
│ │ │ ├── CustomUserControlsPage.xaml.cs
│ │ │ └── XamlResourcesPage.xaml.cs
│ │ ├── ContentDialogContent.xaml.cs
│ │ ├── CalendarDatePickerPage.xaml.cs
│ │ ├── ContentDialogExample.xaml.cs
│ │ ├── Accessibility
│ │ │ └── AccessibilityScreenReaderPage.xaml.cs
│ │ ├── RatingControlPage.xaml.cs
│ │ ├── ContentDialogContent.xaml
│ │ ├── FlyoutPage.xaml.cs
│ │ ├── HyperlinkButtonPage.xaml.cs
│ │ ├── RadioButtonPage.xaml.cs
│ │ ├── FlipViewPage.xaml.cs
│ │ ├── IconElementPage.xaml.cs
│ │ ├── ParallaxViewPage.xaml.cs
│ │ ├── ContentDialogExample.xaml
│ │ ├── XamlUICommandPage.xaml.cs
│ │ ├── ToggleButtonPage.xaml.cs
│ │ ├── ImagePage.xaml.cs
│ │ ├── ThemeShadowPage.xaml.cs
│ │ ├── StackPanelPage.xaml.cs
│ │ ├── TeachingTipPage.xaml.cs
│ │ ├── SliderPage.xaml.cs
│ │ ├── TitleBarPage.xaml.cs
│ │ ├── ProgressBarPage.xaml.cs
│ │ ├── VariableSizedWrapGridPage.xaml.cs
│ │ ├── DatePickerPage.xaml.cs
│ │ ├── ColorPickerPage.xaml.cs
│ │ ├── RepeatButtonPage.xaml.cs
│ │ ├── ButtonPage.xaml.cs
│ │ ├── CalendarDatePickerPage.xaml
│ │ └── MediaPlayerElementPage.xaml.cs
│ └── SamplePages
│ │ ├── SamplePage3.xaml.cs
│ │ ├── SamplePage4.xaml.cs
│ │ ├── SamplePage5.xaml.cs
│ │ ├── SamplePage6.xaml.cs
│ │ ├── SamplePage7.xaml.cs
│ │ ├── SampleSettingsPage.xaml.cs
│ │ ├── TabContentSampleControl.xaml.cs
│ │ ├── SampleSettingsPage.xaml
│ │ ├── SampleWindow6.xaml.cs
│ │ ├── SampleWindow2.xaml
│ │ └── SampleWindow7.xaml
├── Properties
│ ├── launchSettings.json
│ └── PublishProfiles
│ │ └── win-arm64ec.pubxml
├── Helpers
│ ├── SettingsHelper
│ │ ├── Providers
│ │ │ ├── ISettingsProvider.cs
│ │ │ └── SettingsProviderFactory.cs
│ │ └── Internals
│ │ │ └── SettingsJsonContext.cs
│ ├── Language
│ │ └── Language.cs
│ ├── VersionHelper.cs
│ ├── EnumHelper.cs
│ └── FontHelper.cs
├── NativeMethods.txt
├── Styles
│ ├── ItemTemplates.xaml.cs
│ └── TextBlock.xaml
├── Controls
│ ├── DesignGuidance
│ │ └── ColorSections
│ │ │ ├── FillSection.xaml.cs
│ │ │ ├── TextSection.xaml.cs
│ │ │ ├── SignalSection.xaml.cs
│ │ │ ├── StrokeSection.xaml.cs
│ │ │ ├── BackgroundSection.xaml.cs
│ │ │ └── HighContrastSection.xaml.cs
│ ├── SampleThemeListener.xaml.cs
│ ├── HomePage
│ │ └── HomePageHeader.xaml.cs
│ └── SampleThemeListener.xaml
├── GlobalSuppressions.cs
├── net7.override.targets
├── Models
│ └── Category.cs
├── Directory.Build.targets
├── Converters
│ ├── BooleanToInvertedVisibilityConverter.cs
│ ├── NullableBooleanToBooleanConverter.cs
│ ├── DoubleToThicknessConverter.cs
│ ├── BrushToColorConverter.cs
│ └── NullToVisibilityConverter.cs
└── app.manifest
├── tests
├── WinUIGallery.UnitTests
│ ├── Assets
│ │ ├── StoreLogo.png
│ │ ├── SplashScreen.scale-200.png
│ │ ├── LockScreenLogo.scale-200.png
│ │ ├── Square150x150Logo.scale-200.png
│ │ ├── Square44x44Logo.scale-200.png
│ │ ├── Wide310x150Logo.scale-200.png
│ │ └── Square44x44Logo.targetsize-24_altform-unplated.png
│ ├── Properties
│ │ └── launchSettings.json
│ ├── UnitTestAppWindow.xaml
│ ├── UnitTestAppWindow.xaml.cs
│ └── UnitTestApp.xaml
└── WinUIGallery.UITests
│ ├── Properties
│ └── launchSettings.json
│ ├── Tests
│ └── PersonPicture.cs
│ └── SampleTestTemplate.cs
├── scripts
└── GenerateTestPfx.ps1
└── nuget.config
/packagestore/readme.md:
--------------------------------------------------------------------------------
1 | Local source for packages. Places nupkg files in this directory to test them out before uploading.
--------------------------------------------------------------------------------
/.github/assets/ReadmeHero-dark.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/.github/assets/ReadmeHero-dark.png
--------------------------------------------------------------------------------
/.github/assets/StoreBadge-dark.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/.github/assets/StoreBadge-dark.png
--------------------------------------------------------------------------------
/.github/assets/Screenshot-light.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/.github/assets/Screenshot-light.png
--------------------------------------------------------------------------------
/.github/assets/StoreBadge-light.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/.github/assets/StoreBadge-light.png
--------------------------------------------------------------------------------
/WinUIGallery/Assets/SampleMedia/cmd.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/SampleMedia/cmd.png
--------------------------------------------------------------------------------
/WinUIGallery/Assets/ControlImages/Grid.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/ControlImages/Grid.png
--------------------------------------------------------------------------------
/WinUIGallery/Assets/ControlImages/Line.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/ControlImages/Line.png
--------------------------------------------------------------------------------
/WinUIGallery/Assets/Design/Cards.dark.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/Design/Cards.dark.png
--------------------------------------------------------------------------------
/WinUIGallery/Assets/Design/Cards.light.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/Design/Cards.light.png
--------------------------------------------------------------------------------
/WinUIGallery/Assets/Design/Dialog.dark.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/Design/Dialog.dark.png
--------------------------------------------------------------------------------
/WinUIGallery/Assets/GalleryHeaderImage.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/GalleryHeaderImage.png
--------------------------------------------------------------------------------
/WinUIGallery/Assets/SampleMedia/Slices.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/SampleMedia/Slices.png
--------------------------------------------------------------------------------
/WinUIGallery/Assets/SampleMedia/cliff.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/SampleMedia/cliff.jpg
--------------------------------------------------------------------------------
/WinUIGallery/Assets/SampleMedia/fishes.wmv:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/SampleMedia/fishes.wmv
--------------------------------------------------------------------------------
/WinUIGallery/Assets/SampleMedia/folder.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/SampleMedia/folder.png
--------------------------------------------------------------------------------
/WinUIGallery/Assets/SampleMedia/grapes.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/SampleMedia/grapes.jpg
--------------------------------------------------------------------------------
/WinUIGallery/Assets/SampleMedia/linux.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/SampleMedia/linux.png
--------------------------------------------------------------------------------
/WinUIGallery/Assets/SampleMedia/sunset.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/SampleMedia/sunset.jpg
--------------------------------------------------------------------------------
/WinUIGallery/Assets/SampleMedia/valley.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/SampleMedia/valley.jpg
--------------------------------------------------------------------------------
/WinUIGallery/Assets/Tiles/GalleryIcon.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/Tiles/GalleryIcon.ico
--------------------------------------------------------------------------------
/WinUIGallery/Assets/ControlImages/Border.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/ControlImages/Border.png
--------------------------------------------------------------------------------
/WinUIGallery/Assets/ControlImages/Button.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/ControlImages/Button.png
--------------------------------------------------------------------------------
/WinUIGallery/Assets/ControlImages/Canvas.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/ControlImages/Canvas.png
--------------------------------------------------------------------------------
/WinUIGallery/Assets/ControlImages/Flyout.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/ControlImages/Flyout.png
--------------------------------------------------------------------------------
/WinUIGallery/Assets/ControlImages/Image.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/ControlImages/Image.png
--------------------------------------------------------------------------------
/WinUIGallery/Assets/ControlImages/Pivot.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/ControlImages/Pivot.png
--------------------------------------------------------------------------------
/WinUIGallery/Assets/ControlImages/Popup.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/ControlImages/Popup.png
--------------------------------------------------------------------------------
/WinUIGallery/Assets/ControlImages/Shape.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/ControlImages/Shape.png
--------------------------------------------------------------------------------
/WinUIGallery/Assets/ControlImages/Slider.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/ControlImages/Slider.png
--------------------------------------------------------------------------------
/WinUIGallery/Assets/ControlImages/Sound.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/ControlImages/Sound.png
--------------------------------------------------------------------------------
/WinUIGallery/Assets/CopyLinkTeachingTip.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/CopyLinkTeachingTip.png
--------------------------------------------------------------------------------
/WinUIGallery/Assets/Design/Dialog.light.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/Design/Dialog.light.png
--------------------------------------------------------------------------------
/WinUIGallery/Assets/Design/Geometry.dark.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/Design/Geometry.dark.png
--------------------------------------------------------------------------------
/WinUIGallery/Assets/SampleMedia/Slices2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/SampleMedia/Slices2.png
--------------------------------------------------------------------------------
/WinUIGallery/Assets/SampleMedia/SunBlack.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/SampleMedia/SunBlack.png
--------------------------------------------------------------------------------
/WinUIGallery/Assets/SampleMedia/SunWhite.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/SampleMedia/SunWhite.png
--------------------------------------------------------------------------------
/WinUIGallery/Assets/SampleMedia/ladybug.wmv:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/SampleMedia/ladybug.wmv
--------------------------------------------------------------------------------
/WinUIGallery/Assets/SampleMedia/ninegrid.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/SampleMedia/ninegrid.gif
--------------------------------------------------------------------------------
/WinUIGallery/Assets/SampleMedia/rainier.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/SampleMedia/rainier.jpg
--------------------------------------------------------------------------------
/WinUIGallery/Assets/SampleMedia/treetops.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/SampleMedia/treetops.jpg
--------------------------------------------------------------------------------
/WinUIGallery/Assets/ControlImages/Acrylic.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/ControlImages/Acrylic.png
--------------------------------------------------------------------------------
/WinUIGallery/Assets/ControlImages/AppWindow.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/ControlImages/AppWindow.png
--------------------------------------------------------------------------------
/WinUIGallery/Assets/ControlImages/Checkbox.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/ControlImages/Checkbox.png
--------------------------------------------------------------------------------
/WinUIGallery/Assets/ControlImages/Clipboard.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/ControlImages/Clipboard.png
--------------------------------------------------------------------------------
/WinUIGallery/Assets/ControlImages/ComboBox.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/ControlImages/ComboBox.png
--------------------------------------------------------------------------------
/WinUIGallery/Assets/ControlImages/Expander.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/ControlImages/Expander.png
--------------------------------------------------------------------------------
/WinUIGallery/Assets/ControlImages/FlipView.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/ControlImages/FlipView.png
--------------------------------------------------------------------------------
/WinUIGallery/Assets/ControlImages/GridView.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/ControlImages/GridView.png
--------------------------------------------------------------------------------
/WinUIGallery/Assets/ControlImages/InfoBadge.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/ControlImages/InfoBadge.png
--------------------------------------------------------------------------------
/WinUIGallery/Assets/ControlImages/InfoBar.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/ControlImages/InfoBar.png
--------------------------------------------------------------------------------
/WinUIGallery/Assets/ControlImages/ItemsView.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/ControlImages/ItemsView.png
--------------------------------------------------------------------------------
/WinUIGallery/Assets/ControlImages/ListBox.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/ControlImages/ListBox.png
--------------------------------------------------------------------------------
/WinUIGallery/Assets/ControlImages/ListView.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/ControlImages/ListView.png
--------------------------------------------------------------------------------
/WinUIGallery/Assets/ControlImages/MenuBar.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/ControlImages/MenuBar.png
--------------------------------------------------------------------------------
/WinUIGallery/Assets/ControlImages/NumberBox.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/ControlImages/NumberBox.png
--------------------------------------------------------------------------------
/WinUIGallery/Assets/ControlImages/PipsPager.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/ControlImages/PipsPager.png
--------------------------------------------------------------------------------
/WinUIGallery/Assets/ControlImages/SplitView.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/ControlImages/SplitView.png
--------------------------------------------------------------------------------
/WinUIGallery/Assets/ControlImages/TabView.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/ControlImages/TabView.png
--------------------------------------------------------------------------------
/WinUIGallery/Assets/ControlImages/TextBlock.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/ControlImages/TextBlock.png
--------------------------------------------------------------------------------
/WinUIGallery/Assets/ControlImages/TextBox.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/ControlImages/TextBox.png
--------------------------------------------------------------------------------
/WinUIGallery/Assets/ControlImages/TitleBar.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/ControlImages/TitleBar.png
--------------------------------------------------------------------------------
/WinUIGallery/Assets/ControlImages/ToolTip.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/ControlImages/ToolTip.png
--------------------------------------------------------------------------------
/WinUIGallery/Assets/ControlImages/TreeView.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/ControlImages/TreeView.png
--------------------------------------------------------------------------------
/WinUIGallery/Assets/ControlImages/Viewbox.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/ControlImages/Viewbox.png
--------------------------------------------------------------------------------
/WinUIGallery/Assets/ControlImages/WebView.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/ControlImages/WebView.png
--------------------------------------------------------------------------------
/WinUIGallery/Assets/Design/Geometry.light.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/Design/Geometry.light.png
--------------------------------------------------------------------------------
/WinUIGallery/Assets/Design/Typography.dark.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/Design/Typography.dark.png
--------------------------------------------------------------------------------
/WinUIGallery/Assets/Design/Typography.light.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/Design/Typography.light.png
--------------------------------------------------------------------------------
/WinUIGallery/Assets/SampleMedia/CoffeeCup.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/SampleMedia/CoffeeCup.png
--------------------------------------------------------------------------------
/WinUIGallery/Assets/SampleMedia/Dark_Image.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/SampleMedia/Dark_Image.png
--------------------------------------------------------------------------------
/WinUIGallery/Assets/SampleMedia/Light_Image.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/SampleMedia/Light_Image.png
--------------------------------------------------------------------------------
/WinUIGallery/Assets/SampleMedia/MapExample.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/SampleMedia/MapExample.png
--------------------------------------------------------------------------------
/WinUIGallery/Assets/SampleMedia/powershell.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/SampleMedia/powershell.png
--------------------------------------------------------------------------------
/WinUIGallery/Assets/Tiles/AppList.scale-100.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/Tiles/AppList.scale-100.png
--------------------------------------------------------------------------------
/WinUIGallery/Assets/Tiles/AppList.scale-125.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/Tiles/AppList.scale-125.png
--------------------------------------------------------------------------------
/WinUIGallery/Assets/Tiles/AppList.scale-150.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/Tiles/AppList.scale-150.png
--------------------------------------------------------------------------------
/WinUIGallery/Assets/Tiles/AppList.scale-200.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/Tiles/AppList.scale-200.png
--------------------------------------------------------------------------------
/WinUIGallery/Assets/Tiles/AppList.scale-400.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/Tiles/AppList.scale-400.png
--------------------------------------------------------------------------------
/WinUIGallery/Assets/Tiles/MedTile.scale-100.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/Tiles/MedTile.scale-100.png
--------------------------------------------------------------------------------
/WinUIGallery/Assets/Tiles/MedTile.scale-125.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/Tiles/MedTile.scale-125.png
--------------------------------------------------------------------------------
/WinUIGallery/Assets/Tiles/MedTile.scale-150.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/Tiles/MedTile.scale-150.png
--------------------------------------------------------------------------------
/WinUIGallery/Assets/Tiles/MedTile.scale-200.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/Tiles/MedTile.scale-200.png
--------------------------------------------------------------------------------
/WinUIGallery/Assets/Tiles/MedTile.scale-400.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/Tiles/MedTile.scale-400.png
--------------------------------------------------------------------------------
/WinUIGallery/Assets/Tiles/StoreDisplay-150.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/Tiles/StoreDisplay-150.png
--------------------------------------------------------------------------------
/WinUIGallery/Assets/Tiles/StoreDisplay-300.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/Tiles/StoreDisplay-300.png
--------------------------------------------------------------------------------
/WinUIGallery/Assets/Tiles/StoreDisplay-71.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/Tiles/StoreDisplay-71.png
--------------------------------------------------------------------------------
/WinUIGallery/NativeMethods.json:
--------------------------------------------------------------------------------
1 | {
2 | "$schema": "https://aka.ms/CsWin32.schema.json",
3 | "allowMarshaling": false,
4 | "public": false
5 | }
6 |
--------------------------------------------------------------------------------
/WinUIGallery/Assets/ControlImages/CodeTagIcon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/ControlImages/CodeTagIcon.png
--------------------------------------------------------------------------------
/WinUIGallery/Assets/ControlImages/ColorPicker.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/ControlImages/ColorPicker.png
--------------------------------------------------------------------------------
/WinUIGallery/Assets/ControlImages/CommandBar.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/ControlImages/CommandBar.png
--------------------------------------------------------------------------------
/WinUIGallery/Assets/ControlImages/DatePicker.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/ControlImages/DatePicker.png
--------------------------------------------------------------------------------
/WinUIGallery/Assets/ControlImages/IconElement.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/ControlImages/IconElement.png
--------------------------------------------------------------------------------
/WinUIGallery/Assets/ControlImages/MapControl.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/ControlImages/MapControl.png
--------------------------------------------------------------------------------
/WinUIGallery/Assets/ControlImages/MenuFlyout.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/ControlImages/MenuFlyout.png
--------------------------------------------------------------------------------
/WinUIGallery/Assets/ControlImages/PasswordBox.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/ControlImages/PasswordBox.png
--------------------------------------------------------------------------------
/WinUIGallery/Assets/ControlImages/Placeholder.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/ControlImages/Placeholder.png
--------------------------------------------------------------------------------
/WinUIGallery/Assets/ControlImages/ProgressBar.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/ControlImages/ProgressBar.png
--------------------------------------------------------------------------------
/WinUIGallery/Assets/ControlImages/RadioButton.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/ControlImages/RadioButton.png
--------------------------------------------------------------------------------
/WinUIGallery/Assets/ControlImages/RichEditBox.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/ControlImages/RichEditBox.png
--------------------------------------------------------------------------------
/WinUIGallery/Assets/ControlImages/ScratchPad.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/ControlImages/ScratchPad.png
--------------------------------------------------------------------------------
/WinUIGallery/Assets/ControlImages/ScrollView.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/ControlImages/ScrollView.png
--------------------------------------------------------------------------------
/WinUIGallery/Assets/ControlImages/SplitButton.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/ControlImages/SplitButton.png
--------------------------------------------------------------------------------
/WinUIGallery/Assets/ControlImages/StackPanel.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/ControlImages/StackPanel.png
--------------------------------------------------------------------------------
/WinUIGallery/Assets/ControlImages/TeachingTip.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/ControlImages/TeachingTip.png
--------------------------------------------------------------------------------
/WinUIGallery/Assets/ControlImages/ThemeShadow.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/ControlImages/ThemeShadow.png
--------------------------------------------------------------------------------
/WinUIGallery/Assets/ControlImages/TimePicker.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/ControlImages/TimePicker.png
--------------------------------------------------------------------------------
/WinUIGallery/Assets/SceneNode/DamagedHelmet1.bmp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/SceneNode/DamagedHelmet1.bmp
--------------------------------------------------------------------------------
/WinUIGallery/Assets/SceneNode/DamagedHelmet2.bmp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/SceneNode/DamagedHelmet2.bmp
--------------------------------------------------------------------------------
/WinUIGallery/Assets/SceneNode/DamagedHelmet3.bmp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/SceneNode/DamagedHelmet3.bmp
--------------------------------------------------------------------------------
/WinUIGallery/Assets/SceneNode/DamagedHelmet4.bmp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/SceneNode/DamagedHelmet4.bmp
--------------------------------------------------------------------------------
/WinUIGallery/Assets/SceneNode/DamagedHelmet5.bmp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/SceneNode/DamagedHelmet5.bmp
--------------------------------------------------------------------------------
/WinUIGallery/Assets/SceneNode/DamagedHelmet6.bin:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/SceneNode/DamagedHelmet6.bin
--------------------------------------------------------------------------------
/WinUIGallery/Assets/SceneNode/DamagedHelmet7.bin:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/SceneNode/DamagedHelmet7.bin
--------------------------------------------------------------------------------
/WinUIGallery/Assets/SceneNode/DamagedHelmet8.bin:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/SceneNode/DamagedHelmet8.bin
--------------------------------------------------------------------------------
/WinUIGallery/Assets/SceneNode/DamagedHelmet9.bin:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/SceneNode/DamagedHelmet9.bin
--------------------------------------------------------------------------------
/WinUIGallery/Assets/Tiles/BadgeLogo.scale-100.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/Tiles/BadgeLogo.scale-100.png
--------------------------------------------------------------------------------
/WinUIGallery/Assets/Tiles/BadgeLogo.scale-125.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/Tiles/BadgeLogo.scale-125.png
--------------------------------------------------------------------------------
/WinUIGallery/Assets/Tiles/BadgeLogo.scale-150.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/Tiles/BadgeLogo.scale-150.png
--------------------------------------------------------------------------------
/WinUIGallery/Assets/Tiles/BadgeLogo.scale-200.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/Tiles/BadgeLogo.scale-200.png
--------------------------------------------------------------------------------
/WinUIGallery/Assets/Tiles/BadgeLogo.scale-400.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/Tiles/BadgeLogo.scale-400.png
--------------------------------------------------------------------------------
/WinUIGallery/Assets/Tiles/LargeTile.scale-100.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/Tiles/LargeTile.scale-100.png
--------------------------------------------------------------------------------
/WinUIGallery/Assets/Tiles/LargeTile.scale-125.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/Tiles/LargeTile.scale-125.png
--------------------------------------------------------------------------------
/WinUIGallery/Assets/Tiles/LargeTile.scale-150.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/Tiles/LargeTile.scale-150.png
--------------------------------------------------------------------------------
/WinUIGallery/Assets/Tiles/LargeTile.scale-200.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/Tiles/LargeTile.scale-200.png
--------------------------------------------------------------------------------
/WinUIGallery/Assets/Tiles/LargeTile.scale-400.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/Tiles/LargeTile.scale-400.png
--------------------------------------------------------------------------------
/WinUIGallery/Assets/Tiles/SmallTile.scale-100.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/Tiles/SmallTile.scale-100.png
--------------------------------------------------------------------------------
/WinUIGallery/Assets/Tiles/SmallTile.scale-125.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/Tiles/SmallTile.scale-125.png
--------------------------------------------------------------------------------
/WinUIGallery/Assets/Tiles/SmallTile.scale-150.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/Tiles/SmallTile.scale-150.png
--------------------------------------------------------------------------------
/WinUIGallery/Assets/Tiles/SmallTile.scale-200.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/Tiles/SmallTile.scale-200.png
--------------------------------------------------------------------------------
/WinUIGallery/Assets/Tiles/SmallTile.scale-400.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/Tiles/SmallTile.scale-400.png
--------------------------------------------------------------------------------
/WinUIGallery/Assets/Tiles/StoreLogo.scale-100.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/Tiles/StoreLogo.scale-100.png
--------------------------------------------------------------------------------
/WinUIGallery/Assets/Tiles/StoreLogo.scale-125.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/Tiles/StoreLogo.scale-125.png
--------------------------------------------------------------------------------
/WinUIGallery/Assets/Tiles/StoreLogo.scale-150.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/Tiles/StoreLogo.scale-150.png
--------------------------------------------------------------------------------
/WinUIGallery/Assets/Tiles/StoreLogo.scale-200.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/Tiles/StoreLogo.scale-200.png
--------------------------------------------------------------------------------
/WinUIGallery/Assets/Tiles/StoreLogo.scale-400.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/Tiles/StoreLogo.scale-400.png
--------------------------------------------------------------------------------
/WinUIGallery/Assets/Tiles/WideTile.scale-100.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/Tiles/WideTile.scale-100.png
--------------------------------------------------------------------------------
/WinUIGallery/Assets/Tiles/WideTile.scale-125.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/Tiles/WideTile.scale-125.png
--------------------------------------------------------------------------------
/WinUIGallery/Assets/Tiles/WideTile.scale-150.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/Tiles/WideTile.scale-150.png
--------------------------------------------------------------------------------
/WinUIGallery/Assets/Tiles/WideTile.scale-200.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/Tiles/WideTile.scale-200.png
--------------------------------------------------------------------------------
/WinUIGallery/Assets/Tiles/WideTile.scale-400.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/Tiles/WideTile.scale-400.png
--------------------------------------------------------------------------------
/tests/WinUIGallery.UnitTests/Assets/StoreLogo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/tests/WinUIGallery.UnitTests/Assets/StoreLogo.png
--------------------------------------------------------------------------------
/WinUIGallery/Assets/ControlImages/Accessibility.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/ControlImages/Accessibility.png
--------------------------------------------------------------------------------
/WinUIGallery/Assets/ControlImages/AnimatedIcon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/ControlImages/AnimatedIcon.png
--------------------------------------------------------------------------------
/WinUIGallery/Assets/ControlImages/AppBarButton.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/ControlImages/AppBarButton.png
--------------------------------------------------------------------------------
/WinUIGallery/Assets/ControlImages/AutoSuggestBox.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/ControlImages/AutoSuggestBox.png
--------------------------------------------------------------------------------
/WinUIGallery/Assets/ControlImages/BreadcrumbBar.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/ControlImages/BreadcrumbBar.png
--------------------------------------------------------------------------------
/WinUIGallery/Assets/ControlImages/CalendarView.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/ControlImages/CalendarView.png
--------------------------------------------------------------------------------
/WinUIGallery/Assets/ControlImages/CaptureElement.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/ControlImages/CaptureElement.png
--------------------------------------------------------------------------------
/WinUIGallery/Assets/ControlImages/CompactSizing.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/ControlImages/CompactSizing.png
--------------------------------------------------------------------------------
/WinUIGallery/Assets/ControlImages/ContentDialog.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/ControlImages/ContentDialog.png
--------------------------------------------------------------------------------
/WinUIGallery/Assets/ControlImages/ContentIsland.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/ControlImages/ContentIsland.png
--------------------------------------------------------------------------------
/WinUIGallery/Assets/ControlImages/CustomControls.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/ControlImages/CustomControls.png
--------------------------------------------------------------------------------
/WinUIGallery/Assets/ControlImages/DropDownButton.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/ControlImages/DropDownButton.png
--------------------------------------------------------------------------------
/WinUIGallery/Assets/ControlImages/EasingFunction.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/ControlImages/EasingFunction.png
--------------------------------------------------------------------------------
/WinUIGallery/Assets/ControlImages/ItemsRepeater.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/ControlImages/ItemsRepeater.png
--------------------------------------------------------------------------------
/WinUIGallery/Assets/ControlImages/NavigationView.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/ControlImages/NavigationView.png
--------------------------------------------------------------------------------
/WinUIGallery/Assets/ControlImages/PageTransition.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/ControlImages/PageTransition.png
--------------------------------------------------------------------------------
/WinUIGallery/Assets/ControlImages/ParallaxView.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/ControlImages/ParallaxView.png
--------------------------------------------------------------------------------
/WinUIGallery/Assets/ControlImages/PersonPicture.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/ControlImages/PersonPicture.png
--------------------------------------------------------------------------------
/WinUIGallery/Assets/ControlImages/ProgressRing.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/ControlImages/ProgressRing.png
--------------------------------------------------------------------------------
/WinUIGallery/Assets/ControlImages/PullToRefresh.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/ControlImages/PullToRefresh.png
--------------------------------------------------------------------------------
/WinUIGallery/Assets/ControlImages/RadioButtons.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/ControlImages/RadioButtons.png
--------------------------------------------------------------------------------
/WinUIGallery/Assets/ControlImages/RatingControl.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/ControlImages/RatingControl.png
--------------------------------------------------------------------------------
/WinUIGallery/Assets/ControlImages/RelativePanel.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/ControlImages/RelativePanel.png
--------------------------------------------------------------------------------
/WinUIGallery/Assets/ControlImages/RepeatButton.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/ControlImages/RepeatButton.png
--------------------------------------------------------------------------------
/WinUIGallery/Assets/ControlImages/RichTextBlock.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/ControlImages/RichTextBlock.png
--------------------------------------------------------------------------------
/WinUIGallery/Assets/ControlImages/ScrollViewer.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/ControlImages/ScrollViewer.png
--------------------------------------------------------------------------------
/WinUIGallery/Assets/ControlImages/SemanticZoom.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/ControlImages/SemanticZoom.png
--------------------------------------------------------------------------------
/WinUIGallery/Assets/ControlImages/StoragePickers.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/ControlImages/StoragePickers.png
--------------------------------------------------------------------------------
/WinUIGallery/Assets/ControlImages/SwipeControl.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/ControlImages/SwipeControl.png
--------------------------------------------------------------------------------
/WinUIGallery/Assets/ControlImages/ToggleButton.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/ControlImages/ToggleButton.png
--------------------------------------------------------------------------------
/WinUIGallery/Assets/ControlImages/ToggleSwitch.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/ControlImages/ToggleSwitch.png
--------------------------------------------------------------------------------
/WinUIGallery/Assets/ControlImages/XamlUICommand.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/ControlImages/XamlUICommand.png
--------------------------------------------------------------------------------
/WinUIGallery/Assets/HomeHeaderTiles/Header-WinUI.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/HomeHeaderTiles/Header-WinUI.png
--------------------------------------------------------------------------------
/WinUIGallery/Assets/SampleMedia/LandscapeImage1.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/SampleMedia/LandscapeImage1.jpg
--------------------------------------------------------------------------------
/WinUIGallery/Assets/SampleMedia/LandscapeImage10.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/SampleMedia/LandscapeImage10.jpg
--------------------------------------------------------------------------------
/WinUIGallery/Assets/SampleMedia/LandscapeImage11.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/SampleMedia/LandscapeImage11.jpg
--------------------------------------------------------------------------------
/WinUIGallery/Assets/SampleMedia/LandscapeImage12.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/SampleMedia/LandscapeImage12.jpg
--------------------------------------------------------------------------------
/WinUIGallery/Assets/SampleMedia/LandscapeImage13.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/SampleMedia/LandscapeImage13.jpg
--------------------------------------------------------------------------------
/WinUIGallery/Assets/SampleMedia/LandscapeImage2.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/SampleMedia/LandscapeImage2.jpg
--------------------------------------------------------------------------------
/WinUIGallery/Assets/SampleMedia/LandscapeImage3.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/SampleMedia/LandscapeImage3.jpg
--------------------------------------------------------------------------------
/WinUIGallery/Assets/SampleMedia/LandscapeImage4.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/SampleMedia/LandscapeImage4.jpg
--------------------------------------------------------------------------------
/WinUIGallery/Assets/SampleMedia/LandscapeImage5.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/SampleMedia/LandscapeImage5.jpg
--------------------------------------------------------------------------------
/WinUIGallery/Assets/SampleMedia/LandscapeImage6.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/SampleMedia/LandscapeImage6.jpg
--------------------------------------------------------------------------------
/WinUIGallery/Assets/SampleMedia/LandscapeImage7.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/SampleMedia/LandscapeImage7.jpg
--------------------------------------------------------------------------------
/WinUIGallery/Assets/SampleMedia/LandscapeImage8.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/SampleMedia/LandscapeImage8.jpg
--------------------------------------------------------------------------------
/WinUIGallery/Assets/SampleMedia/LandscapeImage9.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/SampleMedia/LandscapeImage9.jpg
--------------------------------------------------------------------------------
/WinUIGallery/Assets/Tiles/AppList.targetsize-16.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/Tiles/AppList.targetsize-16.png
--------------------------------------------------------------------------------
/WinUIGallery/Assets/Tiles/AppList.targetsize-20.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/Tiles/AppList.targetsize-20.png
--------------------------------------------------------------------------------
/WinUIGallery/Assets/Tiles/AppList.targetsize-24.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/Tiles/AppList.targetsize-24.png
--------------------------------------------------------------------------------
/WinUIGallery/Assets/Tiles/AppList.targetsize-256.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/Tiles/AppList.targetsize-256.png
--------------------------------------------------------------------------------
/WinUIGallery/Assets/Tiles/AppList.targetsize-30.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/Tiles/AppList.targetsize-30.png
--------------------------------------------------------------------------------
/WinUIGallery/Assets/Tiles/AppList.targetsize-32.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/Tiles/AppList.targetsize-32.png
--------------------------------------------------------------------------------
/WinUIGallery/Assets/Tiles/AppList.targetsize-36.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/Tiles/AppList.targetsize-36.png
--------------------------------------------------------------------------------
/WinUIGallery/Assets/Tiles/AppList.targetsize-40.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/Tiles/AppList.targetsize-40.png
--------------------------------------------------------------------------------
/WinUIGallery/Assets/Tiles/AppList.targetsize-48.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/Tiles/AppList.targetsize-48.png
--------------------------------------------------------------------------------
/WinUIGallery/Assets/Tiles/AppList.targetsize-56.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/Tiles/AppList.targetsize-56.png
--------------------------------------------------------------------------------
/WinUIGallery/Assets/Tiles/AppList.targetsize-60.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/Tiles/AppList.targetsize-60.png
--------------------------------------------------------------------------------
/WinUIGallery/Assets/Tiles/AppList.targetsize-64.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/Tiles/AppList.targetsize-64.png
--------------------------------------------------------------------------------
/WinUIGallery/Assets/Tiles/AppList.targetsize-72.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/Tiles/AppList.targetsize-72.png
--------------------------------------------------------------------------------
/WinUIGallery/Assets/Tiles/AppList.targetsize-80.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/Tiles/AppList.targetsize-80.png
--------------------------------------------------------------------------------
/WinUIGallery/Assets/Tiles/AppList.targetsize-96.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/Tiles/AppList.targetsize-96.png
--------------------------------------------------------------------------------
/WinUIGallery/Assets/Tiles/SplashScreen.scale-100.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/Tiles/SplashScreen.scale-100.png
--------------------------------------------------------------------------------
/WinUIGallery/Assets/Tiles/SplashScreen.scale-125.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/Tiles/SplashScreen.scale-125.png
--------------------------------------------------------------------------------
/WinUIGallery/Assets/Tiles/SplashScreen.scale-150.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/Tiles/SplashScreen.scale-150.png
--------------------------------------------------------------------------------
/WinUIGallery/Assets/Tiles/SplashScreen.scale-200.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/Tiles/SplashScreen.scale-200.png
--------------------------------------------------------------------------------
/WinUIGallery/Assets/Tiles/SplashScreen.scale-400.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/Tiles/SplashScreen.scale-400.png
--------------------------------------------------------------------------------
/WinUIGallery/Assets/ControlImages/AnimationInterop.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/ControlImages/AnimationInterop.png
--------------------------------------------------------------------------------
/WinUIGallery/Assets/ControlImages/AppBarSeparator.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/ControlImages/AppBarSeparator.png
--------------------------------------------------------------------------------
/WinUIGallery/Assets/ControlImages/AppNotification.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/ControlImages/AppNotification.png
--------------------------------------------------------------------------------
/WinUIGallery/Assets/ControlImages/CommandBarFlyout.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/ControlImages/CommandBarFlyout.png
--------------------------------------------------------------------------------
/WinUIGallery/Assets/ControlImages/HyperlinkButton.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/ControlImages/HyperlinkButton.png
--------------------------------------------------------------------------------
/WinUIGallery/Assets/ControlImages/ThemeTransition.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/ControlImages/ThemeTransition.png
--------------------------------------------------------------------------------
/WinUIGallery/Assets/HomeHeaderTiles/Header-Toolkit.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/HomeHeaderTiles/Header-Toolkit.png
--------------------------------------------------------------------------------
/WinUIGallery/Samples/SampleCode/NumberBox/NumberBoxSample3_xaml.txt:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/WinUIGallery/Assets/ControlImages/AnnotatedScrollBar.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/ControlImages/AnnotatedScrollBar.png
--------------------------------------------------------------------------------
/WinUIGallery/Assets/ControlImages/AppBarToggleButton.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/ControlImages/AppBarToggleButton.png
--------------------------------------------------------------------------------
/WinUIGallery/Assets/ControlImages/BadgeNotification.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/ControlImages/BadgeNotification.png
--------------------------------------------------------------------------------
/WinUIGallery/Assets/ControlImages/CalendarDatePicker.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/ControlImages/CalendarDatePicker.png
--------------------------------------------------------------------------------
/WinUIGallery/Assets/ControlImages/ConnectedAnimation.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/ControlImages/ConnectedAnimation.png
--------------------------------------------------------------------------------
/WinUIGallery/Assets/ControlImages/ImplicitTransition.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/ControlImages/ImplicitTransition.png
--------------------------------------------------------------------------------
/WinUIGallery/Assets/ControlImages/MediaPlayerElement.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/ControlImages/MediaPlayerElement.png
--------------------------------------------------------------------------------
/WinUIGallery/Assets/ControlImages/RadialGradientBrush.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/ControlImages/RadialGradientBrush.png
--------------------------------------------------------------------------------
/WinUIGallery/Assets/ControlImages/StandardUICommand.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/ControlImages/StandardUICommand.png
--------------------------------------------------------------------------------
/WinUIGallery/Assets/ControlImages/ToggleSplitButton.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/ControlImages/ToggleSplitButton.png
--------------------------------------------------------------------------------
/WinUIGallery/Assets/HomeHeaderTiles/Header-Store.dark.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/HomeHeaderTiles/Header-Store.dark.png
--------------------------------------------------------------------------------
/WinUIGallery/Assets/ControlImages/AnimatedVisualPlayer.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/ControlImages/AnimatedVisualPlayer.png
--------------------------------------------------------------------------------
/WinUIGallery/Assets/ControlImages/ColorPaletteResources.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/ControlImages/ColorPaletteResources.png
--------------------------------------------------------------------------------
/WinUIGallery/Assets/ControlImages/CreateMultipleWindows.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/ControlImages/CreateMultipleWindows.png
--------------------------------------------------------------------------------
/WinUIGallery/Assets/ControlImages/VariableSizedWrapGrid.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/ControlImages/VariableSizedWrapGrid.png
--------------------------------------------------------------------------------
/WinUIGallery/Assets/HomeHeaderTiles/Header-Store.light.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/HomeHeaderTiles/Header-Store.light.png
--------------------------------------------------------------------------------
/WinUIGallery/Samples/SampleCode/Icons/FontIconSample1_xaml.txt:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/WinUIGallery/Samples/SampleCode/Icons/FontIconSample2_xaml.txt:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/WinUIGallery/Assets/HomeHeaderTiles/Header-WindowsDesign.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/HomeHeaderTiles/Header-WindowsDesign.png
--------------------------------------------------------------------------------
/WinUIGallery/Samples/ControlPages/StoragePickersPage.xaml.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Samples/ControlPages/StoragePickersPage.xaml.cs
--------------------------------------------------------------------------------
/WinUIGallery/Samples/SampleCode/Icons/ImageIconSample1_xaml.txt:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/tests/WinUIGallery.UnitTests/Assets/SplashScreen.scale-200.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/tests/WinUIGallery.UnitTests/Assets/SplashScreen.scale-200.png
--------------------------------------------------------------------------------
/WinUIGallery/Samples/SampleCode/Geometry/GeometrySample_xaml.txt:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/tests/WinUIGallery.UnitTests/Assets/LockScreenLogo.scale-200.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/tests/WinUIGallery.UnitTests/Assets/LockScreenLogo.scale-200.png
--------------------------------------------------------------------------------
/WinUIGallery/Samples/SampleCode/Icons/PathIconSample1_xaml.txt:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/WinUIGallery/Samples/SampleCode/TeachingTip/TeachingTipSample1_cs.txt:
--------------------------------------------------------------------------------
1 | private void TestButton1Click(object sender, RoutedEventArgs e)
2 | {
3 | TestButton1TeachingTip.IsOpen = true;
4 | }
--------------------------------------------------------------------------------
/WinUIGallery/Samples/SampleCode/TeachingTip/TeachingTipSample2_cs.txt:
--------------------------------------------------------------------------------
1 | private void TestButton2Click(object sender, RoutedEventArgs e)
2 | {
3 | TestButton2TeachingTip.IsOpen = true;
4 | }
--------------------------------------------------------------------------------
/WinUIGallery/Samples/SampleCode/TeachingTip/TeachingTipSample3_cs.txt:
--------------------------------------------------------------------------------
1 | private void TestButton3Click(object sender, RoutedEventArgs e)
2 | {
3 | TestButton3TeachingTip.IsOpen = true;
4 | }
--------------------------------------------------------------------------------
/tests/WinUIGallery.UnitTests/Assets/Square150x150Logo.scale-200.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/tests/WinUIGallery.UnitTests/Assets/Square150x150Logo.scale-200.png
--------------------------------------------------------------------------------
/tests/WinUIGallery.UnitTests/Assets/Square44x44Logo.scale-200.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/tests/WinUIGallery.UnitTests/Assets/Square44x44Logo.scale-200.png
--------------------------------------------------------------------------------
/tests/WinUIGallery.UnitTests/Assets/Wide310x150Logo.scale-200.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/tests/WinUIGallery.UnitTests/Assets/Wide310x150Logo.scale-200.png
--------------------------------------------------------------------------------
/WinUIGallery/Assets/Tiles/AppList.targetsize-16_altform-unplated.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/Tiles/AppList.targetsize-16_altform-unplated.png
--------------------------------------------------------------------------------
/WinUIGallery/Assets/Tiles/AppList.targetsize-20_altform-unplated.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/Tiles/AppList.targetsize-20_altform-unplated.png
--------------------------------------------------------------------------------
/WinUIGallery/Assets/Tiles/AppList.targetsize-24_altform-unplated.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/Tiles/AppList.targetsize-24_altform-unplated.png
--------------------------------------------------------------------------------
/WinUIGallery/Assets/Tiles/AppList.targetsize-256_altform-unplated.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/Tiles/AppList.targetsize-256_altform-unplated.png
--------------------------------------------------------------------------------
/WinUIGallery/Assets/Tiles/AppList.targetsize-30_altform-unplated.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/Tiles/AppList.targetsize-30_altform-unplated.png
--------------------------------------------------------------------------------
/WinUIGallery/Assets/Tiles/AppList.targetsize-32_altform-unplated.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/Tiles/AppList.targetsize-32_altform-unplated.png
--------------------------------------------------------------------------------
/WinUIGallery/Assets/Tiles/AppList.targetsize-36_altform-unplated.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/Tiles/AppList.targetsize-36_altform-unplated.png
--------------------------------------------------------------------------------
/WinUIGallery/Assets/Tiles/AppList.targetsize-40_altform-unplated.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/Tiles/AppList.targetsize-40_altform-unplated.png
--------------------------------------------------------------------------------
/WinUIGallery/Assets/Tiles/AppList.targetsize-48_altform-unplated.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/Tiles/AppList.targetsize-48_altform-unplated.png
--------------------------------------------------------------------------------
/WinUIGallery/Assets/Tiles/AppList.targetsize-56_altform-unplated.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/Tiles/AppList.targetsize-56_altform-unplated.png
--------------------------------------------------------------------------------
/WinUIGallery/Assets/Tiles/AppList.targetsize-60_altform-unplated.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/Tiles/AppList.targetsize-60_altform-unplated.png
--------------------------------------------------------------------------------
/WinUIGallery/Assets/Tiles/AppList.targetsize-64_altform-unplated.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/Tiles/AppList.targetsize-64_altform-unplated.png
--------------------------------------------------------------------------------
/WinUIGallery/Assets/Tiles/AppList.targetsize-72_altform-unplated.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/Tiles/AppList.targetsize-72_altform-unplated.png
--------------------------------------------------------------------------------
/WinUIGallery/Assets/Tiles/AppList.targetsize-80_altform-unplated.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/Tiles/AppList.targetsize-80_altform-unplated.png
--------------------------------------------------------------------------------
/WinUIGallery/Assets/Tiles/AppList.targetsize-96_altform-unplated.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/Tiles/AppList.targetsize-96_altform-unplated.png
--------------------------------------------------------------------------------
/WinUIGallery/Assets/Tiles/AppList.targetsize-16_altform-lightunplated.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/Tiles/AppList.targetsize-16_altform-lightunplated.png
--------------------------------------------------------------------------------
/WinUIGallery/Assets/Tiles/AppList.targetsize-20_altform-lightunplated.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/Tiles/AppList.targetsize-20_altform-lightunplated.png
--------------------------------------------------------------------------------
/WinUIGallery/Assets/Tiles/AppList.targetsize-24_altform-lightunplated.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/Tiles/AppList.targetsize-24_altform-lightunplated.png
--------------------------------------------------------------------------------
/WinUIGallery/Assets/Tiles/AppList.targetsize-256_altform-lightunplated.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/Tiles/AppList.targetsize-256_altform-lightunplated.png
--------------------------------------------------------------------------------
/WinUIGallery/Assets/Tiles/AppList.targetsize-30_altform-lightunplated.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/Tiles/AppList.targetsize-30_altform-lightunplated.png
--------------------------------------------------------------------------------
/WinUIGallery/Assets/Tiles/AppList.targetsize-32_altform-lightunplated.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/Tiles/AppList.targetsize-32_altform-lightunplated.png
--------------------------------------------------------------------------------
/WinUIGallery/Assets/Tiles/AppList.targetsize-36_altform-lightunplated.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/Tiles/AppList.targetsize-36_altform-lightunplated.png
--------------------------------------------------------------------------------
/WinUIGallery/Assets/Tiles/AppList.targetsize-40_altform-lightunplated.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/Tiles/AppList.targetsize-40_altform-lightunplated.png
--------------------------------------------------------------------------------
/WinUIGallery/Assets/Tiles/AppList.targetsize-48_altform-lightunplated.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/Tiles/AppList.targetsize-48_altform-lightunplated.png
--------------------------------------------------------------------------------
/WinUIGallery/Assets/Tiles/AppList.targetsize-56_altform-lightunplated.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/Tiles/AppList.targetsize-56_altform-lightunplated.png
--------------------------------------------------------------------------------
/WinUIGallery/Assets/Tiles/AppList.targetsize-60_altform-lightunplated.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/Tiles/AppList.targetsize-60_altform-lightunplated.png
--------------------------------------------------------------------------------
/WinUIGallery/Assets/Tiles/AppList.targetsize-64_altform-lightunplated.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/Tiles/AppList.targetsize-64_altform-lightunplated.png
--------------------------------------------------------------------------------
/WinUIGallery/Assets/Tiles/AppList.targetsize-72_altform-lightunplated.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/Tiles/AppList.targetsize-72_altform-lightunplated.png
--------------------------------------------------------------------------------
/WinUIGallery/Assets/Tiles/AppList.targetsize-80_altform-lightunplated.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/Tiles/AppList.targetsize-80_altform-lightunplated.png
--------------------------------------------------------------------------------
/WinUIGallery/Assets/Tiles/AppList.targetsize-96_altform-lightunplated.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/Tiles/AppList.targetsize-96_altform-lightunplated.png
--------------------------------------------------------------------------------
/WinUIGallery/Assets/Tiles/AppList.scale-100_altform-colorful_theme-light.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/Tiles/AppList.scale-100_altform-colorful_theme-light.png
--------------------------------------------------------------------------------
/WinUIGallery/Assets/Tiles/AppList.scale-125_altform-colorful_theme-light.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/Tiles/AppList.scale-125_altform-colorful_theme-light.png
--------------------------------------------------------------------------------
/WinUIGallery/Assets/Tiles/AppList.scale-150_altform-colorful_theme-light.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/Tiles/AppList.scale-150_altform-colorful_theme-light.png
--------------------------------------------------------------------------------
/WinUIGallery/Assets/Tiles/AppList.scale-200_altform-colorful_theme-light.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/Tiles/AppList.scale-200_altform-colorful_theme-light.png
--------------------------------------------------------------------------------
/WinUIGallery/Assets/Tiles/AppList.scale-400_altform-colorful_theme-light.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/Tiles/AppList.scale-400_altform-colorful_theme-light.png
--------------------------------------------------------------------------------
/WinUIGallery/Assets/Tiles/MedTile.scale-100_altform-colorful_theme-light.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/Tiles/MedTile.scale-100_altform-colorful_theme-light.png
--------------------------------------------------------------------------------
/WinUIGallery/Assets/Tiles/MedTile.scale-125_altform-colorful_theme-light.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/Tiles/MedTile.scale-125_altform-colorful_theme-light.png
--------------------------------------------------------------------------------
/WinUIGallery/Assets/Tiles/MedTile.scale-150_altform-colorful_theme-light.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/Tiles/MedTile.scale-150_altform-colorful_theme-light.png
--------------------------------------------------------------------------------
/WinUIGallery/Assets/Tiles/MedTile.scale-200_altform-colorful_theme-light.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/Tiles/MedTile.scale-200_altform-colorful_theme-light.png
--------------------------------------------------------------------------------
/WinUIGallery/Assets/Tiles/MedTile.scale-400_altform-colorful_theme-light.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/Tiles/MedTile.scale-400_altform-colorful_theme-light.png
--------------------------------------------------------------------------------
/WinUIGallery/Assets/Tiles/WideTile.scale-100_altform-colorful_theme-light.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/Tiles/WideTile.scale-100_altform-colorful_theme-light.png
--------------------------------------------------------------------------------
/WinUIGallery/Assets/Tiles/WideTile.scale-125_altform-colorful_theme-light.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/Tiles/WideTile.scale-125_altform-colorful_theme-light.png
--------------------------------------------------------------------------------
/WinUIGallery/Assets/Tiles/WideTile.scale-150_altform-colorful_theme-light.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/Tiles/WideTile.scale-150_altform-colorful_theme-light.png
--------------------------------------------------------------------------------
/WinUIGallery/Assets/Tiles/WideTile.scale-200_altform-colorful_theme-light.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/Tiles/WideTile.scale-200_altform-colorful_theme-light.png
--------------------------------------------------------------------------------
/WinUIGallery/Assets/Tiles/WideTile.scale-400_altform-colorful_theme-light.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/Tiles/WideTile.scale-400_altform-colorful_theme-light.png
--------------------------------------------------------------------------------
/WinUIGallery/Assets/Tiles/LargeTile.scale-100_altform-colorful_theme-light.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/Tiles/LargeTile.scale-100_altform-colorful_theme-light.png
--------------------------------------------------------------------------------
/WinUIGallery/Assets/Tiles/LargeTile.scale-125_altform-colorful_theme-light.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/Tiles/LargeTile.scale-125_altform-colorful_theme-light.png
--------------------------------------------------------------------------------
/WinUIGallery/Assets/Tiles/LargeTile.scale-150_altform-colorful_theme-light.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/Tiles/LargeTile.scale-150_altform-colorful_theme-light.png
--------------------------------------------------------------------------------
/WinUIGallery/Assets/Tiles/LargeTile.scale-200_altform-colorful_theme-light.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/Tiles/LargeTile.scale-200_altform-colorful_theme-light.png
--------------------------------------------------------------------------------
/WinUIGallery/Assets/Tiles/LargeTile.scale-400_altform-colorful_theme-light.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/Tiles/LargeTile.scale-400_altform-colorful_theme-light.png
--------------------------------------------------------------------------------
/WinUIGallery/Assets/Tiles/SmallTile.scale-100_altform-colorful_theme-light.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/Tiles/SmallTile.scale-100_altform-colorful_theme-light.png
--------------------------------------------------------------------------------
/WinUIGallery/Assets/Tiles/SmallTile.scale-125_altform-colorful_theme-light.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/Tiles/SmallTile.scale-125_altform-colorful_theme-light.png
--------------------------------------------------------------------------------
/WinUIGallery/Assets/Tiles/SmallTile.scale-150_altform-colorful_theme-light.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/Tiles/SmallTile.scale-150_altform-colorful_theme-light.png
--------------------------------------------------------------------------------
/WinUIGallery/Assets/Tiles/SmallTile.scale-200_altform-colorful_theme-light.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/Tiles/SmallTile.scale-200_altform-colorful_theme-light.png
--------------------------------------------------------------------------------
/WinUIGallery/Assets/Tiles/SmallTile.scale-400_altform-colorful_theme-light.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/Tiles/SmallTile.scale-400_altform-colorful_theme-light.png
--------------------------------------------------------------------------------
/WinUIGallery/Assets/Tiles/StoreLogo.scale-100_altform-colorful_theme-light.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/Tiles/StoreLogo.scale-100_altform-colorful_theme-light.png
--------------------------------------------------------------------------------
/WinUIGallery/Assets/Tiles/StoreLogo.scale-125_altform-colorful_theme-light.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/Tiles/StoreLogo.scale-125_altform-colorful_theme-light.png
--------------------------------------------------------------------------------
/WinUIGallery/Assets/Tiles/StoreLogo.scale-150_altform-colorful_theme-light.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/Tiles/StoreLogo.scale-150_altform-colorful_theme-light.png
--------------------------------------------------------------------------------
/WinUIGallery/Assets/Tiles/StoreLogo.scale-200_altform-colorful_theme-light.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/Tiles/StoreLogo.scale-200_altform-colorful_theme-light.png
--------------------------------------------------------------------------------
/WinUIGallery/Assets/Tiles/StoreLogo.scale-400_altform-colorful_theme-light.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/Tiles/StoreLogo.scale-400_altform-colorful_theme-light.png
--------------------------------------------------------------------------------
/WinUIGallery/Samples/SampleCode/Binding/BindingSample3_xaml.txt:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/WinUIGallery/Assets/Tiles/SplashScreen.scale-100_altform-colorful_theme-dark.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/Tiles/SplashScreen.scale-100_altform-colorful_theme-dark.png
--------------------------------------------------------------------------------
/WinUIGallery/Assets/Tiles/SplashScreen.scale-100_altform-colorful_theme-light.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/Tiles/SplashScreen.scale-100_altform-colorful_theme-light.png
--------------------------------------------------------------------------------
/WinUIGallery/Assets/Tiles/SplashScreen.scale-125_altform-colorful_theme-dark.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/Tiles/SplashScreen.scale-125_altform-colorful_theme-dark.png
--------------------------------------------------------------------------------
/WinUIGallery/Assets/Tiles/SplashScreen.scale-125_altform-colorful_theme-light.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/Tiles/SplashScreen.scale-125_altform-colorful_theme-light.png
--------------------------------------------------------------------------------
/WinUIGallery/Assets/Tiles/SplashScreen.scale-150_altform-colorful_theme-dark.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/Tiles/SplashScreen.scale-150_altform-colorful_theme-dark.png
--------------------------------------------------------------------------------
/WinUIGallery/Assets/Tiles/SplashScreen.scale-150_altform-colorful_theme-light.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/Tiles/SplashScreen.scale-150_altform-colorful_theme-light.png
--------------------------------------------------------------------------------
/WinUIGallery/Assets/Tiles/SplashScreen.scale-200_altform-colorful_theme-dark.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/Tiles/SplashScreen.scale-200_altform-colorful_theme-dark.png
--------------------------------------------------------------------------------
/WinUIGallery/Assets/Tiles/SplashScreen.scale-200_altform-colorful_theme-light.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/Tiles/SplashScreen.scale-200_altform-colorful_theme-light.png
--------------------------------------------------------------------------------
/WinUIGallery/Assets/Tiles/SplashScreen.scale-400_altform-colorful_theme-dark.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/Tiles/SplashScreen.scale-400_altform-colorful_theme-dark.png
--------------------------------------------------------------------------------
/WinUIGallery/Assets/Tiles/SplashScreen.scale-400_altform-colorful_theme-light.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/WinUIGallery/Assets/Tiles/SplashScreen.scale-400_altform-colorful_theme-light.png
--------------------------------------------------------------------------------
/WinUIGallery/Samples/SampleCode/Icons/SymbolIconSample1_xaml.txt:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/WinUIGallery/Samples/SampleCode/Icons/SymbolIconSample_1_xaml.txt:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/tests/WinUIGallery.UnitTests/Assets/Square44x44Logo.targetsize-24_altform-unplated.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/WinUI-Gallery/HEAD/tests/WinUIGallery.UnitTests/Assets/Square44x44Logo.targetsize-24_altform-unplated.png
--------------------------------------------------------------------------------
/WinUIGallery/Samples/SampleCode/Icons/ImageIconSample2_xaml.txt:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/WinUIGallery/Samples/SampleCode/XamlUICommand/XamlUICommandSample1_cs.txt:
--------------------------------------------------------------------------------
1 | private void CustomXamlUICommand_ExecuteRequested(XamlUICommand sender, ExecuteRequestedEventArgs args)
2 | {
3 | XamlUICommandOutput.Text = "You fired the custom command";
4 | }
--------------------------------------------------------------------------------
/WinUIGallery/Samples/SampleCode/Text/RichEditBox/RichEditBoxSample4_xaml.txt:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/tests/WinUIGallery.UITests/Properties/launchSettings.json:
--------------------------------------------------------------------------------
1 | {
2 | "profiles": {
3 | "WinUIGallery.UITests (Package)": {
4 | "commandName": "MsixPackage"
5 | },
6 | "WinUIGallery.UITests (Unpackaged)": {
7 | "commandName": "Project"
8 | }
9 | }
10 | }
--------------------------------------------------------------------------------
/tests/WinUIGallery.UnitTests/Properties/launchSettings.json:
--------------------------------------------------------------------------------
1 | {
2 | "profiles": {
3 | "WinUIGallery.UnitTests (Package)": {
4 | "commandName": "MsixPackage"
5 | },
6 | "WinUIGallery.UnitTests (Unpackaged)": {
7 | "commandName": "Project"
8 | }
9 | }
10 | }
--------------------------------------------------------------------------------
/WinUIGallery/Samples/SampleCode/Buttons/SplitButton/SplitButtonSample2.txt:
--------------------------------------------------------------------------------
1 |
2 | Choose color
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/WinUIGallery/Samples/SampleCode/Window/TitleBar/TitleBarSample1.txt:
--------------------------------------------------------------------------------
1 | // C# code to set AppTitleBar uielement as titlebar
2 | Window window = App.MainWindow;
3 | window.ExtendsContentIntoTitleBar = true; // enable custom titlebar
4 | window.SetTitleBar(AppTitleBar); // set user ui element as titlebar
5 |
--------------------------------------------------------------------------------
/WinUIGallery/Properties/launchSettings.json:
--------------------------------------------------------------------------------
1 | {
2 | "profiles": {
3 | "WinUIGallery Packaged": {
4 | "commandName": "MsixPackage",
5 | "nativeDebugging": true
6 | },
7 | "WinUIGallery Unpackaged": {
8 | "commandName": "Project",
9 | "nativeDebugging": true
10 | }
11 | }
12 | }
--------------------------------------------------------------------------------
/WinUIGallery/Samples/SampleCode/Binding/BindingSample3_csharp.txt:
--------------------------------------------------------------------------------
1 | public string FormatDate(DateTimeOffset? date)
2 | {
3 | if (date.HasValue)
4 | {
5 | return "Selected date is: " + date.Value.ToString("dddd, MMMM d, yyyy");
6 | }
7 | else
8 | {
9 | return "No date selected";
10 | }
11 | }
--------------------------------------------------------------------------------
/WinUIGallery/Helpers/SettingsHelper/Providers/ISettingsProvider.cs:
--------------------------------------------------------------------------------
1 | namespace WinUIGallery.Helpers;
2 |
3 | public interface ISettingsProvider
4 | {
5 | bool Contains(string key);
6 | object Get(string key);
7 | void Set(string key, object value);
8 |
9 | T Get(string key);
10 | void Set(string key, T value);
11 | }
12 |
--------------------------------------------------------------------------------
/WinUIGallery/NativeMethods.txt:
--------------------------------------------------------------------------------
1 | GetCurrentPackageFullName
2 | GetModuleHandle
3 | GetDpiForWindow
4 | CallWindowProc
5 | GetCurrentThreadId
6 | SetWindowsHookEx
7 | CallNextHookEx
8 | WaitForSingleObject
9 | ResetEvent
10 | OpenEvent
11 | CloseHandle
12 | GetCurrentProcessId
13 | GetCurrentThreadId
14 | IsDebuggerPresent
15 | DebugBreak
16 | GetActiveWindow
--------------------------------------------------------------------------------
/WinUIGallery/Samples/SampleCode/TreeView/TreeViewDataBindingSample_xaml.txt:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/WinUIGallery/Samples/SampleCode/Icons/AnimatedIconSample1_cs.txt:
--------------------------------------------------------------------------------
1 | private void Button_PointerEntered(object sender, PointerRoutedEventArgs e)
2 | {
3 | AnimatedIcon.SetState(this.SearchAnimatedIcon, "PointerOver");
4 | }
5 |
6 | private void Button_PointerExited(object sender, PointerRoutedEventArgs e)
7 | {
8 | AnimatedIcon.SetState(this.SearchAnimatedIcon, "Normal");
9 | }
--------------------------------------------------------------------------------
/WinUIGallery/Samples/SampleCode/StandardUICommand/StandardUICommandSample1_xaml.txt:
--------------------------------------------------------------------------------
1 |
2 |
3 |
--------------------------------------------------------------------------------
/WinUIGallery/Samples/SampleCode/System/Window.txt:
--------------------------------------------------------------------------------
1 | public partial class App : Application
2 | {
3 | public static MainWindow MainWindow = new();
4 |
5 | public App()
6 | {
7 | this.InitializeComponent();
8 | }
9 |
10 | protected override void OnLaunched(LaunchActivatedEventArgs args)
11 | {
12 | MainWindow.Activate();
13 | }
14 | }
--------------------------------------------------------------------------------
/WinUIGallery/Samples/SampleCode/Window/TitleBar/TitleBarSample2.txt:
--------------------------------------------------------------------------------
1 | // no UIElement is set for titlebar, default titlebar is created which extends to entire non client area
2 | Window window = App.MainWindow;
3 | window.ExtendsContentIntoTitleBar = true;
4 | // window.SetTitleBar(null); // optional line as not setting any UIElement as titlebar is same as setting null as titlebar
5 |
--------------------------------------------------------------------------------
/WinUIGallery/Styles/ItemTemplates.xaml.cs:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft Corporation. All rights reserved.
2 | // Licensed under the MIT License.
3 |
4 | using Microsoft.UI.Xaml;
5 |
6 | namespace WinUIGallery;
7 |
8 | public sealed partial class ItemTemplates : ResourceDictionary
9 | {
10 | public ItemTemplates()
11 | {
12 | this.InitializeComponent();
13 | }
14 | }
15 |
--------------------------------------------------------------------------------
/WinUIGallery/Samples/SampleCode/Buttons/DropDown/DropDownButton_Simple.txt:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/WinUIGallery/Samples/ControlPages/GridPage.xaml.cs:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft Corporation. All rights reserved.
2 | // Licensed under the MIT License.
3 |
4 | using Microsoft.UI.Xaml.Controls;
5 |
6 | namespace WinUIGallery.ControlPages;
7 |
8 | public sealed partial class GridPage : Page
9 | {
10 | public GridPage()
11 | {
12 | this.InitializeComponent();
13 | }
14 | }
15 |
--------------------------------------------------------------------------------
/WinUIGallery/Samples/ControlPages/LinePage.xaml.cs:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft Corporation. All rights reserved.
2 | // Licensed under the MIT License.
3 |
4 | using Microsoft.UI.Xaml.Controls;
5 |
6 | namespace WinUIGallery.ControlPages;
7 |
8 | public sealed partial class LinePage : Page
9 | {
10 | public LinePage()
11 | {
12 | this.InitializeComponent();
13 | }
14 | }
15 |
--------------------------------------------------------------------------------
/WinUIGallery/Samples/ControlPages/PivotPage.xaml.cs:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft Corporation. All rights reserved.
2 | // Licensed under the MIT License.
3 |
4 | using Microsoft.UI.Xaml.Controls;
5 |
6 | namespace WinUIGallery.ControlPages;
7 |
8 | public sealed partial class PivotPage : Page
9 | {
10 | public PivotPage()
11 | {
12 | this.InitializeComponent();
13 | }
14 | }
15 |
--------------------------------------------------------------------------------
/WinUIGallery/Samples/ControlPages/ShapePage.xaml.cs:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft Corporation. All rights reserved.
2 | // Licensed under the MIT License.
3 |
4 | using Microsoft.UI.Xaml.Controls;
5 |
6 | namespace WinUIGallery.ControlPages;
7 |
8 | public sealed partial class ShapePage : Page
9 | {
10 | public ShapePage()
11 | {
12 | this.InitializeComponent();
13 | }
14 | }
15 |
--------------------------------------------------------------------------------
/WinUIGallery/Samples/ControlPages/CanvasPage.xaml.cs:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft Corporation. All rights reserved.
2 | // Licensed under the MIT License.
3 |
4 | using Microsoft.UI.Xaml.Controls;
5 |
6 | namespace WinUIGallery.ControlPages;
7 |
8 | public sealed partial class CanvasPage : Page
9 | {
10 | public CanvasPage()
11 | {
12 | this.InitializeComponent();
13 | }
14 | }
15 |
--------------------------------------------------------------------------------
/WinUIGallery/Samples/ControlPages/TextBoxPage.xaml.cs:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft Corporation. All rights reserved.
2 | // Licensed under the MIT License.
3 |
4 | using Microsoft.UI.Xaml.Controls;
5 |
6 | namespace WinUIGallery.ControlPages;
7 |
8 | public sealed partial class TextBoxPage : Page
9 | {
10 | public TextBoxPage()
11 | {
12 | this.InitializeComponent();
13 | }
14 | }
15 |
--------------------------------------------------------------------------------
/WinUIGallery/Samples/SamplePages/SamplePage3.xaml.cs:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft Corporation. All rights reserved.
2 | // Licensed under the MIT License.
3 |
4 | using Microsoft.UI.Xaml.Controls;
5 |
6 | namespace WinUIGallery.SamplePages;
7 |
8 | public sealed partial class SamplePage3 : Page
9 | {
10 | public SamplePage3()
11 | {
12 | this.InitializeComponent();
13 | }
14 | }
15 |
--------------------------------------------------------------------------------
/WinUIGallery/Samples/SamplePages/SamplePage4.xaml.cs:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft Corporation. All rights reserved.
2 | // Licensed under the MIT License.
3 |
4 | using Microsoft.UI.Xaml.Controls;
5 |
6 | namespace WinUIGallery.SamplePages;
7 |
8 | public sealed partial class SamplePage4 : Page
9 | {
10 | public SamplePage4()
11 | {
12 | this.InitializeComponent();
13 | }
14 | }
15 |
--------------------------------------------------------------------------------
/WinUIGallery/Samples/SamplePages/SamplePage5.xaml.cs:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft Corporation. All rights reserved.
2 | // Licensed under the MIT License.
3 |
4 | using Microsoft.UI.Xaml.Controls;
5 |
6 | namespace WinUIGallery.SamplePages;
7 |
8 | public sealed partial class SamplePage5 : Page
9 | {
10 | public SamplePage5()
11 | {
12 | this.InitializeComponent();
13 | }
14 | }
15 |
--------------------------------------------------------------------------------
/WinUIGallery/Samples/SamplePages/SamplePage6.xaml.cs:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft Corporation. All rights reserved.
2 | // Licensed under the MIT License.
3 |
4 | using Microsoft.UI.Xaml.Controls;
5 |
6 | namespace WinUIGallery.SamplePages;
7 |
8 | public sealed partial class SamplePage6 : Page
9 | {
10 | public SamplePage6()
11 | {
12 | this.InitializeComponent();
13 | }
14 | }
15 |
--------------------------------------------------------------------------------
/WinUIGallery/Samples/SamplePages/SamplePage7.xaml.cs:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft Corporation. All rights reserved.
2 | // Licensed under the MIT License.
3 |
4 | using Microsoft.UI.Xaml.Controls;
5 |
6 | namespace WinUIGallery.SamplePages;
7 |
8 | public sealed partial class SamplePage7 : Page
9 | {
10 | public SamplePage7()
11 | {
12 | this.InitializeComponent();
13 | }
14 | }
15 |
--------------------------------------------------------------------------------
/WinUIGallery/Samples/ControlPages/WebView2Page.xaml.cs:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft Corporation. All rights reserved.
2 | // Licensed under the MIT License.
3 |
4 | using Microsoft.UI.Xaml.Controls;
5 |
6 | namespace WinUIGallery.ControlPages;
7 |
8 | public sealed partial class WebView2Page : Page
9 | {
10 | public WebView2Page()
11 | {
12 | this.InitializeComponent();
13 | }
14 | }
15 |
--------------------------------------------------------------------------------
/WinUIGallery/Samples/SampleCode/Buttons/SplitButton/SplitButtonSample1.txt:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/WinUIGallery/Samples/ControlPages/Design/SpacingPage.xaml.cs:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft Corporation. All rights reserved.
2 | // Licensed under the MIT License.
3 |
4 | using Microsoft.UI.Xaml.Controls;
5 |
6 | namespace WinUIGallery.ControlPages;
7 |
8 | public sealed partial class SpacingPage : Page
9 | {
10 | public SpacingPage()
11 | {
12 | this.InitializeComponent();
13 | }
14 | }
15 |
--------------------------------------------------------------------------------
/WinUIGallery/Samples/ControlPages/TextBlockPage.xaml.cs:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft Corporation. All rights reserved.
2 | // Licensed under the MIT License.
3 |
4 | using Microsoft.UI.Xaml.Controls;
5 |
6 | namespace WinUIGallery.ControlPages;
7 |
8 | public sealed partial class TextBlockPage : Page
9 | {
10 | public TextBlockPage()
11 | {
12 | this.InitializeComponent();
13 | }
14 | }
15 |
--------------------------------------------------------------------------------
/WinUIGallery/Samples/ControlPages/TimePickerPage.xaml.cs:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft Corporation. All rights reserved.
2 | // Licensed under the MIT License.
3 |
4 | using Microsoft.UI.Xaml.Controls;
5 |
6 | namespace WinUIGallery.ControlPages;
7 |
8 | public sealed partial class TimePickerPage : Page
9 | {
10 | public TimePickerPage()
11 | {
12 | this.InitializeComponent();
13 | }
14 | }
15 |
--------------------------------------------------------------------------------
/WinUIGallery/Samples/ControlPages/ToolTipPage.xaml.cs:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft Corporation. All rights reserved.
2 | // Licensed under the MIT License.
3 |
4 | using Microsoft.UI.Xaml.Controls;
5 |
6 | namespace WinUIGallery.ControlPages;
7 |
8 | public sealed partial class ToolTipPage : Page
9 | {
10 | public ToolTipPage()
11 | {
12 | this.InitializeComponent();
13 | }
14 |
15 | }
16 |
--------------------------------------------------------------------------------
/WinUIGallery/Controls/DesignGuidance/ColorSections/FillSection.xaml.cs:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft Corporation. All rights reserved.
2 | // Licensed under the MIT License.
3 |
4 | using Microsoft.UI.Xaml.Controls;
5 |
6 | namespace WinUIGallery.Controls;
7 |
8 | public sealed partial class FillSection : Page
9 | {
10 | public FillSection()
11 | {
12 | this.InitializeComponent();
13 | }
14 | }
15 |
--------------------------------------------------------------------------------
/WinUIGallery/Controls/DesignGuidance/ColorSections/TextSection.xaml.cs:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft Corporation. All rights reserved.
2 | // Licensed under the MIT License.
3 |
4 | using Microsoft.UI.Xaml.Controls;
5 |
6 | namespace WinUIGallery.Controls;
7 |
8 | public sealed partial class TextSection : Page
9 | {
10 | public TextSection()
11 | {
12 | this.InitializeComponent();
13 | }
14 | }
15 |
--------------------------------------------------------------------------------
/WinUIGallery/Controls/SampleThemeListener.xaml.cs:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft Corporation. All rights reserved.
2 | // Licensed under the MIT License.
3 |
4 | using Microsoft.UI.Xaml.Controls;
5 |
6 | namespace WinUIGallery.Controls;
7 |
8 | public sealed partial class SampleThemeListener : UserControl
9 | {
10 | public SampleThemeListener()
11 | {
12 | this.InitializeComponent();
13 | }
14 | }
15 |
--------------------------------------------------------------------------------
/WinUIGallery/Samples/ControlPages/ToggleSwitchPage.xaml.cs:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft Corporation. All rights reserved.
2 | // Licensed under the MIT License.
3 |
4 | using Microsoft.UI.Xaml.Controls;
5 |
6 | namespace WinUIGallery.ControlPages;
7 |
8 | public sealed partial class ToggleSwitchPage : Page
9 | {
10 | public ToggleSwitchPage()
11 | {
12 | this.InitializeComponent();
13 | }
14 | }
15 |
--------------------------------------------------------------------------------
/WinUIGallery/Controls/DesignGuidance/ColorSections/SignalSection.xaml.cs:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft Corporation. All rights reserved.
2 | // Licensed under the MIT License.
3 |
4 | using Microsoft.UI.Xaml.Controls;
5 |
6 | namespace WinUIGallery.Controls;
7 |
8 | public sealed partial class SignalSection : Page
9 | {
10 | public SignalSection()
11 | {
12 | this.InitializeComponent();
13 | }
14 | }
15 |
--------------------------------------------------------------------------------
/WinUIGallery/Controls/DesignGuidance/ColorSections/StrokeSection.xaml.cs:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft Corporation. All rights reserved.
2 | // Licensed under the MIT License.
3 |
4 | using Microsoft.UI.Xaml.Controls;
5 |
6 | namespace WinUIGallery.Controls;
7 |
8 | public sealed partial class StrokeSection : Page
9 | {
10 | public StrokeSection()
11 | {
12 | this.InitializeComponent();
13 | }
14 | }
15 |
--------------------------------------------------------------------------------
/WinUIGallery/Samples/ControlPages/RelativePanelPage.xaml.cs:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft Corporation. All rights reserved.
2 | // Licensed under the MIT License.
3 |
4 | using Microsoft.UI.Xaml.Controls;
5 |
6 | namespace WinUIGallery.ControlPages;
7 |
8 | public sealed partial class RelativePanelPage : Page
9 | {
10 | public RelativePanelPage()
11 | {
12 | this.InitializeComponent();
13 | }
14 | }
15 |
--------------------------------------------------------------------------------
/WinUIGallery/Samples/SampleCode/AppWindow/AppWindowSample2_xaml.txt:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/WinUIGallery/Samples/SampleCode/Buttons/ToggleSplitButton/ToggleSplitButtonSample1.txt:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/WinUIGallery/Samples/SamplePages/SampleSettingsPage.xaml.cs:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft Corporation. All rights reserved.
2 | // Licensed under the MIT License.
3 |
4 | using Microsoft.UI.Xaml.Controls;
5 |
6 | namespace WinUIGallery.SamplePages;
7 |
8 | public sealed partial class SampleSettingsPage : Page
9 | {
10 | public SampleSettingsPage()
11 | {
12 | this.InitializeComponent();
13 | }
14 | }
15 |
--------------------------------------------------------------------------------
/WinUIGallery/Samples/ControlPages/AppBarSeparatorPage.xaml.cs:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft Corporation. All rights reserved.
2 | // Licensed under the MIT License.
3 |
4 | using Microsoft.UI.Xaml.Controls;
5 |
6 | namespace WinUIGallery.ControlPages;
7 |
8 | public sealed partial class AppBarSeparatorPage : Page
9 | {
10 | public AppBarSeparatorPage()
11 | {
12 | this.InitializeComponent();
13 | }
14 | }
15 |
--------------------------------------------------------------------------------
/WinUIGallery/Samples/ControlPages/DropDownButtonPage.xaml.cs:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft Corporation. All rights reserved.
2 | // Licensed under the MIT License.
3 |
4 | using Microsoft.UI.Xaml.Controls;
5 |
6 | namespace WinUIGallery.ControlPages;
7 |
8 | public sealed partial class DropDownButtonPage : Page
9 | {
10 | public DropDownButtonPage()
11 | {
12 | this.InitializeComponent();
13 | }
14 | }
15 |
--------------------------------------------------------------------------------
/WinUIGallery/Samples/ControlPages/Fundamentals/XamlStylesPage.xaml.cs:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft Corporation. All rights reserved.
2 | // Licensed under the MIT License.
3 |
4 | using Microsoft.UI.Xaml.Controls;
5 |
6 | namespace WinUIGallery.ControlPages;
7 |
8 | public sealed partial class XamlStylesPage : Page
9 | {
10 | public XamlStylesPage()
11 | {
12 | this.InitializeComponent();
13 | }
14 | }
15 |
--------------------------------------------------------------------------------
/WinUIGallery/Samples/SampleCode/AppWindow/AppWindowSample7_xaml.txt:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/WinUIGallery/Samples/ControlPages/ContentDialogContent.xaml.cs:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft Corporation. All rights reserved.
2 | // Licensed under the MIT License.
3 |
4 | using Microsoft.UI.Xaml.Controls;
5 |
6 | namespace WinUIGallery.ControlPages;
7 |
8 | public sealed partial class ContentDialogContent : Page
9 | {
10 | public ContentDialogContent()
11 | {
12 | this.InitializeComponent();
13 | }
14 | }
15 |
--------------------------------------------------------------------------------
/WinUIGallery/Controls/DesignGuidance/ColorSections/BackgroundSection.xaml.cs:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft Corporation. All rights reserved.
2 | // Licensed under the MIT License.
3 |
4 | using Microsoft.UI.Xaml.Controls;
5 |
6 | namespace WinUIGallery.Controls;
7 |
8 | public sealed partial class BackgroundSection : Page
9 | {
10 | public BackgroundSection()
11 | {
12 | this.InitializeComponent();
13 | }
14 | }
15 |
--------------------------------------------------------------------------------
/WinUIGallery/Helpers/Language/Language.cs:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft Corporation. All rights reserved.
2 | // Licensed under the MIT License.
3 |
4 | namespace WinUIGallery.Helpers;
5 | public partial class Language
6 | {
7 | public string Name { get; set; }
8 | public string Code { get; set; }
9 |
10 | public Language(string name, string code)
11 | {
12 | Name = name;
13 | Code = code;
14 | }
15 | }
--------------------------------------------------------------------------------
/WinUIGallery/Samples/ControlPages/CalendarDatePickerPage.xaml.cs:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft Corporation. All rights reserved.
2 | // Licensed under the MIT License.
3 |
4 | using Microsoft.UI.Xaml.Controls;
5 |
6 | namespace WinUIGallery.ControlPages;
7 |
8 | public sealed partial class CalendarDatePickerPage : Page
9 | {
10 | public CalendarDatePickerPage()
11 | {
12 | this.InitializeComponent();
13 | }
14 | }
15 |
--------------------------------------------------------------------------------
/WinUIGallery/Controls/DesignGuidance/ColorSections/HighContrastSection.xaml.cs:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft Corporation. All rights reserved.
2 | // Licensed under the MIT License.
3 |
4 | using Microsoft.UI.Xaml.Controls;
5 |
6 | namespace WinUIGallery.Controls;
7 |
8 | public sealed partial class HighContrastSection : Page
9 | {
10 | public HighContrastSection()
11 | {
12 | this.InitializeComponent();
13 | }
14 | }
15 |
--------------------------------------------------------------------------------
/WinUIGallery/Samples/ControlPages/ContentDialogExample.xaml.cs:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft Corporation. All rights reserved.
2 | // Licensed under the MIT License.
3 |
4 | using Microsoft.UI.Xaml.Controls;
5 |
6 | namespace WinUIGallery.ControlPages;
7 |
8 | public sealed partial class ContentDialogExample : ContentDialog
9 | {
10 | public ContentDialogExample()
11 | {
12 | this.InitializeComponent();
13 | }
14 | }
15 |
--------------------------------------------------------------------------------
/WinUIGallery/Samples/SampleCode/SystemBackdrops/SystemBackdropsSampleBackdropTypes_xaml.txt:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
--------------------------------------------------------------------------------
/WinUIGallery/Samples/SampleCode/Buttons/DropDown/DropDownButton_RevealStyle.txt:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/WinUIGallery/Samples/SamplePages/TabContentSampleControl.xaml.cs:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft Corporation. All rights reserved.
2 | // Licensed under the MIT License.
3 |
4 | using Microsoft.UI.Xaml.Controls;
5 |
6 | namespace WinUIGallery.SamplePages;
7 |
8 | public sealed partial class TabContentSampleControl : UserControl
9 | {
10 | public TabContentSampleControl()
11 | {
12 | this.InitializeComponent();
13 | }
14 | }
15 |
--------------------------------------------------------------------------------
/WinUIGallery/Samples/ControlPages/Fundamentals/CustomUserControlsPage.xaml.cs:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft Corporation. All rights reserved.
2 | // Licensed under the MIT License.
3 |
4 | using Microsoft.UI.Xaml.Controls;
5 |
6 | namespace WinUIGallery.ControlPages;
7 |
8 | public sealed partial class CustomUserControlsPage : Page
9 | {
10 | public CustomUserControlsPage()
11 | {
12 | this.InitializeComponent();
13 | }
14 | }
15 |
--------------------------------------------------------------------------------
/WinUIGallery/GlobalSuppressions.cs:
--------------------------------------------------------------------------------
1 | // This file is used by Code Analysis to maintain SuppressMessage
2 | // attributes that are applied to this project.
3 | // Project-level suppressions either have no target or are given
4 | // a specific target and scoped to a namespace, type, member, etc.
5 |
6 | using System.Diagnostics.CodeAnalysis;
7 |
8 | [assembly: SuppressMessage("Interoperability", "CA1416:Validate platform compatibility", Justification = "")]
9 |
--------------------------------------------------------------------------------
/WinUIGallery/Samples/SampleCode/Templates/TemplatesSample3_WrapGrid_xaml.txt:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 | Item 01
9 | Item 02
10 |
11 | Item 20
12 |
--------------------------------------------------------------------------------
/WinUIGallery/Samples/SampleCode/Templates/TemplatesSample3_StackPanel_xaml.txt:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 | Item 01
9 | Item 02
10 |
11 | Item 20
12 |
--------------------------------------------------------------------------------
/WinUIGallery/Samples/ControlPages/Accessibility/AccessibilityScreenReaderPage.xaml.cs:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft Corporation. All rights reserved.
2 | // Licensed under the MIT License.
3 |
4 | using Microsoft.UI.Xaml.Controls;
5 |
6 | namespace WinUIGallery.ControlPages;
7 |
8 | public sealed partial class AccessibilityScreenReaderPage : Page
9 | {
10 | public AccessibilityScreenReaderPage()
11 | {
12 | this.InitializeComponent();
13 | }
14 | }
15 |
--------------------------------------------------------------------------------
/WinUIGallery/Styles/TextBlock.xaml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
9 |
10 |
--------------------------------------------------------------------------------
/WinUIGallery/Samples/SampleCode/TeachingTip/TeachingTipSample2_xaml.txt:
--------------------------------------------------------------------------------
1 |
4 |
13 |
--------------------------------------------------------------------------------
/WinUIGallery/Samples/SampleCode/TeachingTip/TeachingTipSample1_xaml.txt:
--------------------------------------------------------------------------------
1 |
5 |
10 |
11 |
12 |
13 |
--------------------------------------------------------------------------------
/WinUIGallery/Samples/SampleCode/XamlResources/XamlResourcesSample1_csharp.txt:
--------------------------------------------------------------------------------
1 | // Retrieve application-level resource
2 | var primaryColor = (Windows.UI.Color)Application.Current.Resources["PrimaryColor"];
3 |
4 | // Retrieve page-level resource
5 | var highlightBrush = (SolidColorBrush)this.Resources["HighlightBrush"];
6 |
7 | // Retrieve control-level resources
8 | var headerFontSize = (double)newGrid.Resources["HeaderFontSize"];
9 | var welcomeMessage = (string)newGrid.Resources["Description"];
--------------------------------------------------------------------------------
/WinUIGallery/Helpers/SettingsHelper/Internals/SettingsJsonContext.cs:
--------------------------------------------------------------------------------
1 | using System.Collections.Generic;
2 | using System.Text.Json.Serialization;
3 |
4 | namespace WinUIGallery.Helpers;
5 |
6 | [JsonSourceGenerationOptions(WriteIndented = true, GenerationMode = JsonSourceGenerationMode.Metadata)]
7 | [JsonSerializable(typeof(Dictionary))]
8 | [JsonSerializable(typeof(SettingsHelper))]
9 | internal partial class SettingsJsonContext : JsonSerializerContext
10 | {
11 | }
--------------------------------------------------------------------------------
/WinUIGallery/Controls/HomePage/HomePageHeader.xaml.cs:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft Corporation. All rights reserved.
2 | // Licensed under the MIT License.
3 |
4 | using Microsoft.UI.Xaml.Controls;
5 | using WinUIGallery.Helpers;
6 |
7 | namespace WinUIGallery.Controls;
8 |
9 | public sealed partial class HomePageHeader : UserControl
10 | {
11 | public string WinAppSdkDetails => VersionHelper.WinAppSdkDetails;
12 |
13 | public HomePageHeader()
14 | {
15 | InitializeComponent();
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/WinUIGallery/Samples/SampleCode/Icons/AnimatedIconSample1_xaml.txt:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/WinUIGallery/Samples/SampleCode/NumberBox/NumberBoxSample3_cs.txt:
--------------------------------------------------------------------------------
1 | private void SetNumberBoxNumberFormatter()
2 | {
3 | IncrementNumberRounder rounder = new IncrementNumberRounder();
4 | rounder.Increment = 0.25;
5 | rounder.RoundingAlgorithm = RoundingAlgorithm.RoundHalfUp;
6 |
7 | DecimalFormatter formatter = new DecimalFormatter();
8 | formatter.IntegerDigits = 1;
9 | formatter.FractionDigits = 2;
10 | formatter.NumberRounder = rounder;
11 | FormattedNumberBox.NumberFormatter = formatter;
12 | }
--------------------------------------------------------------------------------
/WinUIGallery/Samples/SampleCode/XamlStyles/XamlStylesSample2_xaml.txt:
--------------------------------------------------------------------------------
1 |
2 |
3 |
8 |
9 |
10 |
11 |
12 |
--------------------------------------------------------------------------------
/WinUIGallery/Samples/SampleCode/XamlStyles/XamlStylesSample4_csharp.txt:
--------------------------------------------------------------------------------
1 | private void ApplyButtonStyle(Button myButton)
2 | {
3 | var buttonStyle = new Style(typeof(Button));
4 | buttonStyle.Setters.Add(new Setter(Button.BackgroundProperty, new SolidColorBrush(Microsoft.UI.Colors.LightGreen)));
5 | buttonStyle.Setters.Add(new Setter(Button.ForegroundProperty, new SolidColorBrush(Microsoft.UI.Colors.Black)));
6 | buttonStyle.Setters.Add(new Setter(Button.FontSizeProperty, 20));
7 |
8 | myButton.Style = buttonStyle;
9 | }
--------------------------------------------------------------------------------
/WinUIGallery/Samples/SampleCode/ItemsRepeater/ItemsRepeaterSample2_cs.txt:
--------------------------------------------------------------------------------
1 | // C# Code-behind
2 |
3 | public class MyDataTemplateSelector : DataTemplateSelector
4 | {
5 | public DataTemplate? Normal { get; set; }
6 | public DataTemplate? Accent { get; set; }
7 |
8 | protected override DataTemplate? SelectTemplateCore(object item)
9 | {
10 | if ((int)item % 2 == 0)
11 | {
12 | return Normal;
13 | }
14 | else
15 | {
16 | return Accent;
17 | }
18 | }
19 | }
--------------------------------------------------------------------------------
/WinUIGallery/Helpers/VersionHelper.cs:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft Corporation. All rights reserved.
2 | // Licensed under the MIT License.
3 |
4 | using Microsoft.Windows.ApplicationModel.WindowsAppRuntime;
5 |
6 | namespace WinUIGallery.Helpers;
7 | internal static partial class VersionHelper
8 | {
9 | public static string WinAppSdkDetails =>
10 | $"Windows App SDK {ReleaseInfo.Major}.{ReleaseInfo.Minor}";
11 |
12 | public static string WinAppSdkRuntimeDetails =>
13 | WinAppSdkDetails + $", Windows App Runtime {RuntimeInfo.AsString}";
14 | }
15 |
--------------------------------------------------------------------------------
/WinUIGallery/Samples/SampleCode/GridView/GridViewSample1_cs.txt:
--------------------------------------------------------------------------------
1 | // C# Code
2 |
3 | // CustomDataObject class definition:
4 | public class CustomDataObject
5 | {
6 | public string Title { get; set; } = string.Empty;
7 | public string ImageLocation { get; set; } = string.Empty;
8 | public string Views { get; set; } = string.Empty;
9 | public string Likes { get; set; } = string.Empty;
10 | public string Description { get; set; } = string.Empty;
11 |
12 | public CustomDataObject()
13 | {
14 | }
15 |
16 |
17 | // ... Methods ...
18 | }
--------------------------------------------------------------------------------
/WinUIGallery/Samples/SampleCode/NavigationView/NavigationViewSample1.txt:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/WinUIGallery/Samples/SampleCode/NavigationView/NavigationViewSample2.txt:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/WinUIGallery/Samples/ControlPages/RatingControlPage.xaml.cs:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft Corporation. All rights reserved.
2 | // Licensed under the MIT License.
3 |
4 | using Microsoft.UI.Xaml.Controls;
5 |
6 | namespace WinUIGallery.ControlPages;
7 |
8 | public sealed partial class RatingControlPage : Page
9 | {
10 | public RatingControlPage()
11 | {
12 | this.InitializeComponent();
13 | }
14 |
15 | private void RatingControl1_ValueChanged(RatingControl sender, object args)
16 | {
17 | RatingControl1.Caption = "Your rating";
18 | }
19 | }
20 |
--------------------------------------------------------------------------------
/WinUIGallery/Samples/ControlPages/ContentDialogContent.xaml:
--------------------------------------------------------------------------------
1 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
--------------------------------------------------------------------------------
/WinUIGallery/Samples/SampleCode/ContentDialog/ContentDialogSample1_xaml.txt:
--------------------------------------------------------------------------------
1 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
--------------------------------------------------------------------------------
/WinUIGallery/Samples/SampleCode/ContentDialog/ContentDialogSample2_xaml.txt:
--------------------------------------------------------------------------------
1 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
--------------------------------------------------------------------------------
/WinUIGallery/net7.override.targets:
--------------------------------------------------------------------------------
1 |
2 |
3 |
7 |
8 |
9 |
10 |
14 |
15 |
16 |
17 |
--------------------------------------------------------------------------------
/WinUIGallery/Controls/SampleThemeListener.xaml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
11 |
--------------------------------------------------------------------------------
/WinUIGallery/Samples/SampleCode/NavigationView/NavigationViewSample6.txt:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/tests/WinUIGallery.UnitTests/UnitTestAppWindow.xaml:
--------------------------------------------------------------------------------
1 |
2 |
10 |
11 |
12 |
13 |
14 |
--------------------------------------------------------------------------------
/WinUIGallery/Samples/ControlPages/FlyoutPage.xaml.cs:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft Corporation. All rights reserved.
2 | // Licensed under the MIT License.
3 |
4 | using Microsoft.UI.Xaml;
5 | using Microsoft.UI.Xaml.Controls;
6 |
7 | namespace WinUIGallery.ControlPages;
8 |
9 | public sealed partial class FlyoutPage : Page
10 | {
11 | public FlyoutPage()
12 | {
13 | this.InitializeComponent();
14 | }
15 |
16 | private void DeleteConfirmation_Click(object sender, RoutedEventArgs e)
17 | {
18 | if (this.Control1.Flyout is Flyout f)
19 | {
20 | f.Hide();
21 | }
22 | }
23 | }
24 |
--------------------------------------------------------------------------------
/WinUIGallery/Samples/SampleCode/MenuBar/MenuBarSample1.txt:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
--------------------------------------------------------------------------------
/WinUIGallery/Samples/ControlPages/HyperlinkButtonPage.xaml.cs:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft Corporation. All rights reserved.
2 | // Licensed under the MIT License.
3 |
4 | using Microsoft.UI.Xaml;
5 | using Microsoft.UI.Xaml.Controls;
6 | using WinUIGallery.Pages;
7 |
8 | namespace WinUIGallery.ControlPages;
9 |
10 | public sealed partial class HyperlinkButtonPage : Page
11 | {
12 | public HyperlinkButtonPage()
13 | {
14 | this.InitializeComponent();
15 | }
16 |
17 | private void GoToHyperlinkButton_Click(object sender, RoutedEventArgs e)
18 | {
19 | App.MainWindow.Navigate(typeof(ItemPage), "ToggleButton");
20 | }
21 | }
--------------------------------------------------------------------------------
/WinUIGallery/Samples/ControlPages/RadioButtonPage.xaml.cs:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft Corporation. All rights reserved.
2 | // Licensed under the MIT License.
3 |
4 | using Microsoft.UI.Xaml;
5 | using Microsoft.UI.Xaml.Controls;
6 |
7 | namespace WinUIGallery.ControlPages;
8 |
9 | public sealed partial class RadioButtonPage : Page
10 | {
11 | public RadioButtonPage()
12 | {
13 | this.InitializeComponent();
14 | }
15 |
16 | private void RadioButton_Checked(object sender, RoutedEventArgs e)
17 | {
18 | Control1Output.Text = string.Format("You selected {0}", (sender as RadioButton)?.Content.ToString());
19 | }
20 | }
21 |
--------------------------------------------------------------------------------
/WinUIGallery/Models/Category.cs:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft Corporation. All rights reserved.
2 | // Licensed under the MIT License.
3 |
4 | using Microsoft.UI.Xaml.Controls;
5 |
6 | namespace WinUIGallery.Models;
7 | public partial class CategoryBase { }
8 |
9 | public partial class Category : CategoryBase
10 | {
11 | public string Name { get; set; } = string.Empty;
12 | public string Tooltip { get; set; } = string.Empty;
13 | public Symbol Glyph { get; set; }
14 | }
15 |
16 | public partial class Separator : CategoryBase { }
17 |
18 | public partial class Header : CategoryBase
19 | {
20 | public string Name { get; set; } = string.Empty;
21 | }
22 |
--------------------------------------------------------------------------------
/WinUIGallery/Samples/SampleCode/Motion/AnimationInterop/AnimationInteropSample2_xaml.txt:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/WinUIGallery/Samples/SampleCode/Motion/AnimationInterop/AnimationInteropSample5_cs.txt:
--------------------------------------------------------------------------------
1 | private void ActualOffsetExample_Loaded(object sender, RoutedEventArgs e)
2 | {
3 | // This sample positions a popup relative to a block of text that has variable layout size based on font size.
4 | var anim = _compositor.CreateExpressionAnimation();
5 |
6 | anim.Expression = "Vector3(source.ActualOffset.X + source.ActualSize.X, source.ActualOffset.Y + source.ActualSize.Y / 2 - 25, 0)";
7 | anim.Target = "Translation";
8 | anim.SetExpressionReferenceParameter("source", PopupTarget);
9 |
10 | Popup.StartAnimation(anim);
11 |
12 | Popup.IsOpen = true;
13 | }
--------------------------------------------------------------------------------
/WinUIGallery/Samples/SampleCode/Brushes/RadialGradientBrushSample_xaml.txt:
--------------------------------------------------------------------------------
1 |
2 |
3 |
10 |
11 |
12 |
13 |
14 |
15 |
--------------------------------------------------------------------------------
/WinUIGallery/Samples/SampleCode/ContentDialog/ContentDialogSample2_cs.txt:
--------------------------------------------------------------------------------
1 | private async void ShowDialogNoDefault_Click(object sender, RoutedEventArgs e)
2 | {
3 | ContentDialog dialog = new ContentDialog();
4 |
5 | // XamlRoot must be set in the case of a ContentDialog running in a Desktop app
6 | dialog.XamlRoot = this.XamlRoot;
7 | dialog.Title = "Replace file?";
8 | dialog.PrimaryButtonText = "Replace";
9 | dialog.SecondaryButtonText = "Keep";
10 | dialog.CloseButtonText = "Cancel";
11 | dialog.DefaultButton = ContentDialogButton.None;
12 | dialog.Content = new ContentDialogContent();
13 |
14 | var result = await dialog.ShowAsync();
15 | }
--------------------------------------------------------------------------------
/WinUIGallery/Samples/SampleCode/CustomUserControls/CustomUserControlsSample3_xaml.txt:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
13 |
14 |
15 |
16 |
--------------------------------------------------------------------------------
/WinUIGallery/Samples/SampleCode/NavigationView/NavigationViewSample4_xaml.txt:
--------------------------------------------------------------------------------
1 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/scripts/GenerateTestPfx.ps1:
--------------------------------------------------------------------------------
1 | $CertificateFriendlyName = "WinUI-Gallery-Test"
2 | $Publisher = "CN=WinUI-Gallery-Test"
3 |
4 | $cert = New-SelfSignedCertificate -Type Custom `
5 | -Subject $Publisher `
6 | -KeyUsage DigitalSignature `
7 | -FriendlyName $CertificateFriendlyName `
8 | -CertStoreLocation "Cert:\CurrentUser\My" `
9 | -TextExtension @("2.5.29.37={text}1.3.6.1.5.5.7.3.3", "2.5.29.19={text}")
10 |
11 | $certificateBytes = $cert.Export([System.Security.Cryptography.X509Certificates.X509ContentType]::Pkcs12)
12 | mkdir -Force "$PSScriptRoot\..\build" > $null
13 | [System.IO.File]::WriteAllBytes("$PSScriptRoot\..\build\WinUI-Gallery-Test.pfx", $certificateBytes)
--------------------------------------------------------------------------------
/WinUIGallery/Samples/ControlPages/Fundamentals/XamlResourcesPage.xaml.cs:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft Corporation. All rights reserved.
2 | // Licensed under the MIT License.
3 |
4 | using Microsoft.UI.Xaml.Controls;
5 | using WinUIGallery.Pages;
6 |
7 | namespace WinUIGallery.ControlPages;
8 |
9 | public sealed partial class XamlResourcesPage : Page
10 | {
11 | public XamlResourcesPage()
12 | {
13 | this.InitializeComponent();
14 | }
15 |
16 | private void Hyperlink_Click(Microsoft.UI.Xaml.Documents.Hyperlink sender, Microsoft.UI.Xaml.Documents.HyperlinkClickEventArgs args)
17 | {
18 | App.MainWindow.Navigate(typeof(ItemPage), "Color");
19 | }
20 | }
21 |
--------------------------------------------------------------------------------
/WinUIGallery/Samples/SampleCode/AppWindow/AppWindowSample6_cs.txt:
--------------------------------------------------------------------------------
1 | using Microsoft.UI.Windowing;
2 | using Microsoft.UI.Xaml;
3 |
4 | namespace YourNamespace;
5 |
6 | public sealed partial class SampleWindow6 : Window
7 | {
8 | public SampleWindow6()
9 | {
10 | this.InitializeComponent();
11 | AppWindow.SetIcon("Assets/Tiles/GalleryIcon.ico");
12 | AppWindow.TitleBar.PreferredTheme = TitleBarTheme.UseDefaultAppMode;
13 |
14 | // Set the window to Full-Screen mode
15 | AppWindow.SetPresenter(AppWindowPresenterKind.FullScreen);
16 | }
17 |
18 | private void Close_Click(object sender, RoutedEventArgs e)
19 | {
20 | this.Close();
21 | }
22 | }
--------------------------------------------------------------------------------
/tests/WinUIGallery.UITests/Tests/PersonPicture.cs:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft Corporation.
2 | // Licensed under the MIT License.
3 |
4 | using Microsoft.VisualStudio.TestTools.UnitTesting;
5 |
6 | namespace WinUIGallery.UITests.Tests;
7 |
8 | [TestClass]
9 | public class PersonPicture : TestBase
10 | {
11 | [ClassInitialize]
12 | public static void ClassInitialize(TestContext context)
13 | {
14 | OpenControlPage("PersonPicture");
15 | }
16 |
17 | [TestMethod]
18 | public void SwitchOptions()
19 | {
20 | GetElementByName("Profile Image").Click();
21 | GetElementByName("Display Name").Click();
22 | GetElementByName("Initials").Click();
23 | }
24 | }
25 |
--------------------------------------------------------------------------------
/WinUIGallery/Samples/SampleCode/MapControl/MapControlSample_cs.txt:
--------------------------------------------------------------------------------
1 |
2 | BasicGeoposition centerPosition = new BasicGeoposition { Latitude = 0, Longitude = 0 };
3 | Geopoint centerPoint = new Geopoint(centerPosition);
4 |
5 | map1.Center = centerPoint;
6 | map1.ZoomLevel = 1;
7 |
8 | var myLandmarks = new List();
9 | BasicGeoposition position = new BasicGeoposition { Latitude = -30.034647, Longitude = -51.217659 };
10 | Geopoint point = new Geopoint(position);
11 |
12 | var icon = new MapIcon
13 | {
14 | Location = point,
15 | };
16 |
17 | myLandmarks.Add(icon);
18 |
19 | var LandmarksLayer = new MapElementsLayer
20 | {
21 | MapElements = myLandmarks
22 | };
23 |
24 | map1.Layers.Add(LandmarksLayer);
25 |
--------------------------------------------------------------------------------
/WinUIGallery/Samples/ControlPages/FlipViewPage.xaml.cs:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft Corporation. All rights reserved.
2 | // Licensed under the MIT License.
3 |
4 | using Microsoft.UI.Xaml.Navigation;
5 | using System.Linq;
6 | using WinUIGallery.Helpers;
7 | using WinUIGallery.Pages;
8 |
9 | namespace WinUIGallery.ControlPages;
10 |
11 | public sealed partial class FlipViewPage : ItemsPageBase
12 | {
13 | public FlipViewPage()
14 | {
15 | this.InitializeComponent();
16 | }
17 |
18 | protected override void OnNavigatedTo(NavigationEventArgs e)
19 | {
20 | base.OnNavigatedTo(e);
21 |
22 | Items = ControlInfoDataSource.Instance.Groups.Take(3).SelectMany(g => g.Items).ToList();
23 | }
24 | }
25 |
--------------------------------------------------------------------------------
/WinUIGallery/Samples/ControlPages/IconElementPage.xaml.cs:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft Corporation. All rights reserved.
2 | // Licensed under the MIT License.
3 |
4 | using Microsoft.UI.Xaml;
5 | using Microsoft.UI.Xaml.Controls;
6 | using System;
7 |
8 |
9 | namespace WinUIGallery.ControlPages;
10 |
11 | public sealed partial class IconElementPage : Page
12 | {
13 | public IconElementPage()
14 | {
15 | this.InitializeComponent();
16 | }
17 |
18 | private void MonochromeButton_CheckedChanged(object sender, RoutedEventArgs e)
19 | {
20 | SlicesIcon.ShowAsMonochrome = MonochromeButton.IsChecked is true;
21 | SlicesIcon.UriSource = new Uri("ms-appx:///Assets/SampleMedia/Slices.png");
22 | }
23 | }
24 |
--------------------------------------------------------------------------------
/WinUIGallery/Samples/SampleCode/Binding/BindingSample4_xaml.txt:
--------------------------------------------------------------------------------
1 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
16 |
17 |
--------------------------------------------------------------------------------
/WinUIGallery/Directory.Build.targets:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | WinUIGallery.Desktop
7 |
8 |
9 |
10 |
11 |
--------------------------------------------------------------------------------
/WinUIGallery/Samples/SamplePages/SampleSettingsPage.xaml:
--------------------------------------------------------------------------------
1 |
9 |
10 |
11 |
16 |
17 |
18 |
--------------------------------------------------------------------------------
/WinUIGallery/Samples/ControlPages/ParallaxViewPage.xaml.cs:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft Corporation. All rights reserved.
2 | // Licensed under the MIT License.
3 |
4 | using Microsoft.UI.Xaml.Navigation;
5 | using System.Linq;
6 | using WinUIGallery.Helpers;
7 | using WinUIGallery.Pages;
8 |
9 | namespace WinUIGallery.ControlPages;
10 |
11 | public sealed partial class ParallaxViewPage : ItemsPageBase
12 | {
13 | public ParallaxViewPage()
14 | {
15 | this.InitializeComponent();
16 | }
17 |
18 | protected override void OnNavigatedTo(NavigationEventArgs e)
19 | {
20 | base.OnNavigatedTo(e);
21 |
22 | Items = ControlInfoDataSource.Instance.Groups.SelectMany(g => g.Items).OrderBy(i => i.Title).ToList();
23 | }
24 | }
25 |
--------------------------------------------------------------------------------
/WinUIGallery/Samples/SampleCode/ContentDialog/ContentDialogSample1_cs.txt:
--------------------------------------------------------------------------------
1 | private async void ShowDialog_Click(object sender, RoutedEventArgs e)
2 | {
3 | ContentDialog dialog = new ContentDialog();
4 |
5 | // XamlRoot must be set in the case of a ContentDialog running in a Desktop app
6 | dialog.XamlRoot = this.XamlRoot;
7 | dialog.Style = Application.Current.Resources["DefaultContentDialogStyle"] as Style;
8 | dialog.Title = "Save your work?";
9 | dialog.PrimaryButtonText = "Save";
10 | dialog.SecondaryButtonText = "Don't Save";
11 | dialog.CloseButtonText = "Cancel";
12 | dialog.DefaultButton = ContentDialogButton.Primary;
13 | dialog.Content = new ContentDialogContent();
14 |
15 | var result = await dialog.ShowAsync();
16 | }
--------------------------------------------------------------------------------
/nuget.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
--------------------------------------------------------------------------------
/WinUIGallery/Samples/SampleCode/Window/CreateWindowSample1.txt:
--------------------------------------------------------------------------------
1 | // Ensure you close the child window before closing the parent window to avoid application crash.
2 | var childWindow = new Window()
3 | {
4 | ExtendsContentIntoTitleBar = true,
5 | SystemBackdrop = new MicaBackdrop(),
6 | Content = new Page()
7 | {
8 | Content = new TextBlock()
9 | {
10 | Text = "New child window!",
11 | HorizontalAlignment = HorizontalAlignment.Center,
12 | VerticalAlignment = VerticalAlignment.Center,
13 | },
14 | // Get the theme from the parent.
15 | RequestedTheme = this.ActualTheme,
16 | }
17 | };
18 |
19 | childWindow.AppWindow.ResizeClient(new SizeInt32(500, 500));
20 | childWindow.Activate();
--------------------------------------------------------------------------------
/WinUIGallery/Converters/BooleanToInvertedVisibilityConverter.cs:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft Corporation. All rights reserved.
2 | // Licensed under the MIT License.
3 |
4 | using Microsoft.UI.Xaml;
5 | using Microsoft.UI.Xaml.Data;
6 | using System;
7 |
8 | namespace WinUIGallery.Converters;
9 |
10 | public sealed partial class BooleanToInvertedVisibilityConverter : IValueConverter
11 | {
12 | public object Convert(object value, Type targetType, object parameter, string language)
13 | {
14 | return (bool)value ? Visibility.Collapsed : Visibility.Visible;
15 | }
16 |
17 | public object ConvertBack(object value, Type targetType, object parameter, string language)
18 | {
19 | return (Visibility)value == Visibility.Collapsed;
20 | }
21 | }
22 |
--------------------------------------------------------------------------------
/WinUIGallery/Samples/SampleCode/Motion/ConnectedAnimation/ConnectedAnimationSample3_cs.txt:
--------------------------------------------------------------------------------
1 | // Prepare animation on Source page
2 | private void NavigateButton_Click(object sender, RoutedEventArgs e)
3 | {
4 | ConnectedAnimationService.GetForCurrentView().PrepareToAnimate("ForwardConnectedAnimation", SourceElement);
5 | Frame.Navigate(typeof(DestinationPage), null, new SuppressNavigationTransitionInfo());
6 | }
7 |
8 | // Start animation on Destination page
9 | protected override void OnNavigatedTo(NavigationEventArgs e)
10 | {
11 | base.OnNavigatedTo(e);
12 |
13 | var anim = ConnectedAnimationService.GetForCurrentView().GetAnimation("ForwardConnectedAnimation");
14 | if (anim != null)
15 | {
16 | anim.TryStart(DestinationElement);
17 | }
18 | }
--------------------------------------------------------------------------------
/WinUIGallery/Samples/ControlPages/ContentDialogExample.xaml:
--------------------------------------------------------------------------------
1 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
--------------------------------------------------------------------------------
/WinUIGallery/Samples/SampleCode/ListView/ListViewSample1_xaml.txt:
--------------------------------------------------------------------------------
1 |
2 |
3 |
11 |
12 |
14 |
15 |
16 |
17 |
18 |
--------------------------------------------------------------------------------
/WinUIGallery/Samples/SampleCode/Typography/TypographySample_xaml.txt:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/WinUIGallery/Samples/SampleCode/XamlStyles/XamlStylesSample1_xaml.txt:
--------------------------------------------------------------------------------
1 |
2 |
3 |
7 |
8 |
9 |
10 |
12 |
--------------------------------------------------------------------------------
/WinUIGallery/Samples/SampleCode/Icons/AnimatedIconSample2_xaml.txt:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
--------------------------------------------------------------------------------
/tests/WinUIGallery.UnitTests/UnitTestAppWindow.xaml.cs:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft Corporation.
2 | // Licensed under the MIT License.
3 |
4 | using Microsoft.UI.Xaml;
5 | using Microsoft.UI.Xaml.Controls;
6 |
7 | namespace WinUIGallery.UnitTests;
8 |
9 | public sealed partial class UnitTestAppWindow : Window
10 | {
11 | public UnitTestAppWindow()
12 | {
13 | InitializeComponent();
14 | }
15 |
16 | public Grid RootGrid
17 | {
18 | get
19 | {
20 | return rootGrid;
21 | }
22 | }
23 |
24 | public void AddToVisualTree(UIElement element)
25 | {
26 | RootGrid.Children.Add(element);
27 | }
28 |
29 | public void CleanupVisualTree()
30 | {
31 | RootGrid.Children.Clear();
32 | }
33 | }
34 |
--------------------------------------------------------------------------------
/WinUIGallery/Samples/SampleCode/Media/CaptureElementPreviewSample_xaml.txt:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
--------------------------------------------------------------------------------
/WinUIGallery/Samples/SampleCode/CommandBarFlyout/CommandBarFlyoutSample1_cs.txt:
--------------------------------------------------------------------------------
1 | private void ShowMenu(bool isTransient)
2 | {
3 | FlyoutShowOptions myOption = new FlyoutShowOptions();
4 | myOption.ShowMode = isTransient ? FlyoutShowMode.Transient : FlyoutShowMode.Standard;
5 | CommandBarFlyout1.ShowAt(Image1, myOption);
6 | }
7 |
8 | private void MyImageButton_ContextRequested(Microsoft.UI.Xaml.UIElement sender, ContextRequestedEventArgs args)
9 | {
10 | // Show a context menu in standard mode
11 | // Focus will move to the menu
12 | ShowMenu(false);
13 | }
14 |
15 | private void MyImageButton_Click(object sender, Microsoft.UI.Xaml.RoutedEventArgs e)
16 | {
17 | // Show a context menu in transient mode
18 | // Focus will not move to the menu
19 | ShowMenu(true);
20 | }
21 |
--------------------------------------------------------------------------------
/tests/WinUIGallery.UnitTests/UnitTestApp.xaml:
--------------------------------------------------------------------------------
1 |
2 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
--------------------------------------------------------------------------------
/WinUIGallery/Converters/NullableBooleanToBooleanConverter.cs:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft Corporation. All rights reserved.
2 | // Licensed under the MIT License.
3 |
4 | using Microsoft.UI.Xaml.Data;
5 | using System;
6 |
7 | namespace WinUIGallery.Converters;
8 |
9 | public partial class NullableBooleanToBooleanConverter : IValueConverter
10 | {
11 | public object Convert(object value, Type targetType, object parameter, string language)
12 | {
13 | if (value is bool?)
14 | {
15 | return (bool)value;
16 | }
17 | return false;
18 | }
19 |
20 | public object ConvertBack(object value, Type targetType, object parameter, string language)
21 | {
22 | if (value is bool)
23 | return (bool)value;
24 | return false;
25 | }
26 | }
27 |
--------------------------------------------------------------------------------
/WinUIGallery/Samples/SampleCode/TeachingTip/TeachingTipSample3_xaml.txt:
--------------------------------------------------------------------------------
1 |
5 |
11 |
12 |
15 |
16 |
17 |
21 |
22 |
23 |
--------------------------------------------------------------------------------
/WinUIGallery/Converters/DoubleToThicknessConverter.cs:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft Corporation. All rights reserved.
2 | // Licensed under the MIT License.
3 |
4 | using Microsoft.UI.Xaml;
5 | using Microsoft.UI.Xaml.Data;
6 | using System;
7 |
8 | namespace WinUIGallery.Converters;
9 |
10 | partial class DoubleToThicknessConverter : IValueConverter
11 | {
12 | public object Convert(object value, Type targetType, object parameter, string language)
13 | {
14 | if (value is double?)
15 | {
16 | var val = (double)value;
17 | return new Thickness(val);
18 | }
19 | return false;
20 | }
21 |
22 | public object ConvertBack(object value, Type targetType, object parameter, string language)
23 | {
24 | throw new NotImplementedException();
25 | }
26 | }
27 |
--------------------------------------------------------------------------------
/WinUIGallery/Samples/SamplePages/SampleWindow6.xaml.cs:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft Corporation. All rights reserved.
2 | // Licensed under the MIT License.
3 |
4 | using Microsoft.UI.Windowing;
5 | using Microsoft.UI.Xaml;
6 |
7 | namespace WinUIGallery.Samples.SamplePages;
8 |
9 | public sealed partial class SampleWindow6 : Window
10 | {
11 | public SampleWindow6()
12 | {
13 | this.InitializeComponent();
14 | AppWindow.SetIcon("Assets/Tiles/GalleryIcon.ico");
15 | AppWindow.TitleBar.PreferredTheme = TitleBarTheme.UseDefaultAppMode;
16 |
17 | // Set the window to Full-Screen mode
18 | AppWindow.SetPresenter(AppWindowPresenterKind.FullScreen);
19 | }
20 |
21 | private void Close_Click(object sender, RoutedEventArgs e)
22 | {
23 | this.Close();
24 | }
25 | }
26 |
--------------------------------------------------------------------------------
/WinUIGallery/Samples/ControlPages/XamlUICommandPage.xaml.cs:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft Corporation. All rights reserved.
2 | // Licensed under the MIT License.
3 |
4 | using Microsoft.UI.Xaml.Controls;
5 | using Microsoft.UI.Xaml.Input;
6 | using WinUIGallery.Helpers;
7 |
8 | namespace WinUIGallery.ControlPages;
9 |
10 | public sealed partial class XamlUICommandPage : Page
11 | {
12 | public XamlUICommandPage()
13 | {
14 | this.InitializeComponent();
15 | }
16 |
17 | private void CustomXamlUICommand_ExecuteRequested(XamlUICommand sender, ExecuteRequestedEventArgs args)
18 | {
19 | XamlUICommandOutput.Text = "You fired the custom command";
20 | UIHelper.AnnounceActionForAccessibility(CustomButton, "Activated custom XAML UI Command", "CustomXamlUICommandNotificationActivityId");
21 | }
22 | }
23 |
--------------------------------------------------------------------------------
/WinUIGallery/Samples/SampleCode/NavigationView/NavigationViewSample5_xaml.txt:
--------------------------------------------------------------------------------
1 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
--------------------------------------------------------------------------------
/WinUIGallery/app.manifest:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | true/PM
8 | PerMonitorV2, PerMonitor
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/WinUIGallery/Properties/PublishProfiles/win-arm64ec.pubxml:
--------------------------------------------------------------------------------
1 |
2 |
5 |
6 |
7 | FileSystem
8 | x64
9 | win-x64
10 |
12 | True
13 | $(Packaged)
14 | False
15 | $(Optimized)
16 |
17 |
--------------------------------------------------------------------------------
/WinUIGallery/Converters/BrushToColorConverter.cs:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft Corporation. All rights reserved.
2 | // Licensed under the MIT License.
3 |
4 | using Microsoft.UI;
5 | using Microsoft.UI.Xaml.Data;
6 | using Microsoft.UI.Xaml.Media;
7 | using System;
8 |
9 | namespace WinUIGallery.Converters;
10 | public partial class BrushToColorConverter : IValueConverter
11 | {
12 | public object Convert(object value, Type targetType, object parameter, string language)
13 | {
14 | if (value is SolidColorBrush solidColorBrush)
15 | {
16 | return solidColorBrush.Color;
17 | }
18 |
19 | return Colors.Transparent;
20 | }
21 |
22 | public object ConvertBack(object value, Type targetType, object parameter, string language)
23 | {
24 | throw new NotImplementedException();
25 | }
26 | }
27 |
--------------------------------------------------------------------------------
/WinUIGallery/Samples/ControlPages/ToggleButtonPage.xaml.cs:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft Corporation. All rights reserved.
2 | // Licensed under the MIT License.
3 |
4 | using Microsoft.UI.Xaml;
5 | using Microsoft.UI.Xaml.Controls;
6 |
7 | namespace WinUIGallery.ControlPages;
8 |
9 | public sealed partial class ToggleButtonPage : Page
10 | {
11 | public ToggleButtonPage()
12 | {
13 | this.InitializeComponent();
14 |
15 | // Set initial output value.
16 | Control1Output.Text = Toggle1.IsChecked is true ? "On" : "Off";
17 | }
18 |
19 | private void ToggleButton_Checked(object sender, RoutedEventArgs e)
20 | {
21 | Control1Output.Text = "On";
22 | }
23 |
24 | private void ToggleButton_Unchecked(object sender, RoutedEventArgs e)
25 | {
26 | Control1Output.Text = "Off";
27 | }
28 | }
29 |
--------------------------------------------------------------------------------
/WinUIGallery/Samples/ControlPages/ImagePage.xaml.cs:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft Corporation. All rights reserved.
2 | // Licensed under the MIT License.
3 |
4 | using Microsoft.UI.Xaml;
5 | using Microsoft.UI.Xaml.Controls;
6 | using Microsoft.UI.Xaml.Media;
7 | using System;
8 |
9 | namespace WinUIGallery.ControlPages;
10 |
11 | public sealed partial class ImagePage : Page
12 | {
13 | public ImagePage()
14 | {
15 | this.InitializeComponent();
16 | }
17 |
18 | private void ImageStretch_Checked(object sender, RoutedEventArgs e)
19 | {
20 | if ((sender as RadioButton)?.Content.ToString() is string strStretch &&
21 | StretchImage != null)
22 | {
23 | var stretch = (Stretch)Enum.Parse(typeof(Stretch), strStretch);
24 | StretchImage.Stretch = stretch;
25 | }
26 | }
27 | }
28 |
--------------------------------------------------------------------------------
/WinUIGallery/Samples/ControlPages/ThemeShadowPage.xaml.cs:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft Corporation. All rights reserved.
2 | // Licensed under the MIT License.
3 |
4 | using Microsoft.UI.Xaml;
5 | using Microsoft.UI.Xaml.Controls;
6 | using Microsoft.UI.Xaml.Controls.Primitives;
7 | using System.Numerics;
8 |
9 | namespace WinUIGallery.ControlPages;
10 |
11 | public sealed partial class ThemeShadowPage : Page
12 | {
13 | public ThemeShadowPage()
14 | {
15 | this.InitializeComponent();
16 | }
17 |
18 | private void TranslationSliderInApp_ValueChanged(object sender, RangeBaseValueChangedEventArgs e)
19 | {
20 | ShadowRect.Translation = new Vector3(0,0, (float)e.NewValue);
21 | }
22 |
23 | private void ShadowRect_Loaded(object sender, RoutedEventArgs e)
24 | {
25 | shadow.Receivers.Add(ShadowCastGrid);
26 | }
27 | }
28 |
--------------------------------------------------------------------------------
/WinUIGallery/Samples/SampleCode/Templates/TemplatesSample2_xaml.txt:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
9 |
10 |
11 |
12 |
13 |
14 |
15 | Option 1
16 | Option 2
17 | Option 3
18 |
19 |
20 |
--------------------------------------------------------------------------------
/WinUIGallery/Converters/NullToVisibilityConverter.cs:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft Corporation. All rights reserved.
2 | // Licensed under the MIT License.
3 |
4 | using Microsoft.UI.Xaml;
5 | using Microsoft.UI.Xaml.Data;
6 | using System;
7 |
8 | namespace WinUIGallery.Converters;
9 |
10 | public partial class NullToVisibilityConverter : IValueConverter
11 | {
12 | public Visibility NullValue { get; set; } = Visibility.Collapsed;
13 | public Visibility NonNullValue { get; set; } = Visibility.Visible;
14 |
15 |
16 | public object Convert(object value, Type targetType, object parameter, string language)
17 | {
18 | return value == null ? NullValue : NonNullValue;
19 | }
20 |
21 | public object ConvertBack(object value, Type targetType, object parameter, string language)
22 | {
23 | throw new NotImplementedException();
24 | }
25 | }
26 |
--------------------------------------------------------------------------------
/WinUIGallery/Samples/SampleCode/AppWindow/AppWindowSample5_xaml.txt:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
--------------------------------------------------------------------------------
/WinUIGallery/Samples/SampleCode/ListView/ListViewStickyHeaderSample_xaml.txt:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/WinUIGallery/Samples/ControlPages/StackPanelPage.xaml.cs:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft Corporation. All rights reserved.
2 | // Licensed under the MIT License.
3 |
4 | using Microsoft.UI.Xaml.Controls;
5 | using System;
6 |
7 | namespace WinUIGallery.ControlPages;
8 |
9 | public sealed partial class StackPanelPage : Page
10 | {
11 | public StackPanelPage()
12 | {
13 | this.InitializeComponent();
14 | }
15 |
16 | private void OrientationGroup_SelectionChanged(object sender, SelectionChangedEventArgs e)
17 | {
18 | if ((sender as RadioButtons)?.SelectedItem is not RadioButton selectedItem ||
19 | Enum.TryParse(selectedItem.Tag?.ToString(), out var orientation) is false ||
20 | Control1 is null)
21 | {
22 | return;
23 | }
24 |
25 | Control1.Orientation = orientation;
26 | }
27 | }
28 |
--------------------------------------------------------------------------------
/WinUIGallery/Samples/ControlPages/TeachingTipPage.xaml.cs:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft Corporation. All rights reserved.
2 | // Licensed under the MIT License.
3 |
4 | using Microsoft.UI.Xaml;
5 | using Microsoft.UI.Xaml.Controls;
6 |
7 | namespace WinUIGallery.ControlPages;
8 |
9 | public sealed partial class TeachingTipPage : Page
10 | {
11 | public TeachingTipPage()
12 | {
13 | this.InitializeComponent();
14 | }
15 |
16 | private void TestButton1Click(object sender, RoutedEventArgs e)
17 | {
18 | TestButton1TeachingTip.IsOpen = true;
19 | }
20 |
21 | private void TestButton2Click(object sender, RoutedEventArgs e)
22 | {
23 | TestButton2TeachingTip.IsOpen = true;
24 | }
25 |
26 | private void TestButton3Click(object sender, RoutedEventArgs e)
27 | {
28 | TestButton3TeachingTip.IsOpen = true;
29 | }
30 | }
31 |
--------------------------------------------------------------------------------
/WinUIGallery/Samples/SampleCode/Text/RichEditBox/RichEditBoxSample4_cs.txt:
--------------------------------------------------------------------------------
1 | private void Menu_Opening(object sender, object e)
2 | {
3 | if (sender is not CommandBarFlyout myFlyout)
4 | {
5 | return;
6 | }
7 |
8 | if (myFlyout.Target == REBCustom)
9 | {
10 | AppBarButton myButton = new AppBarButton();
11 | myButton.Command = new StandardUICommand(StandardUICommandKind.Share);
12 | myFlyout.PrimaryCommands.Add(myButton);
13 | }
14 | }
15 |
16 | private void REBCustom_Loaded(object sender, RoutedEventArgs e)
17 | {
18 | REBCustom.SelectionFlyout.Opening += Menu_Opening;
19 | REBCustom.ContextFlyout.Opening += Menu_Opening;
20 | }
21 |
22 | private void REBCustom_Unloaded(object sender, RoutedEventArgs e)
23 | {
24 | REBCustom.SelectionFlyout.Opening -= Menu_Opening;
25 | REBCustom.ContextFlyout.Opening -= Menu_Opening;
26 | }
--------------------------------------------------------------------------------
/WinUIGallery/Samples/SampleCode/ItemsRepeater/ItemsRepeaterSample1_cs.txt:
--------------------------------------------------------------------------------
1 | // C# code-behind
2 |
3 | public class StringOrIntTemplateSelector : DataTemplateSelector
4 | {
5 | // Define the (currently empty) data templates to return
6 | // These will be "filled-in" in the XAML code.
7 | public DataTemplate? StringTemplate { get; set; }
8 |
9 | public DataTemplate? IntTemplate { get; set; }
10 |
11 | protected override DataTemplate? SelectTemplateCore(object item)
12 | {
13 | // Return the correct data template based on the item's type.
14 | if (item.GetType() == typeof(String))
15 | {
16 | return StringTemplate;
17 | }
18 | else if (item.GetType() == typeof(int))
19 | {
20 | return IntTemplate;
21 | }
22 | else
23 | {
24 | return null;
25 | }
26 | }
27 | }
--------------------------------------------------------------------------------
/WinUIGallery/Samples/ControlPages/SliderPage.xaml.cs:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft Corporation. All rights reserved.
2 | // Licensed under the MIT License.
3 |
4 | using Microsoft.UI.Xaml.Controls;
5 | using Microsoft.UI.Xaml.Controls.Primitives;
6 |
7 | namespace WinUIGallery.ControlPages;
8 |
9 | public sealed partial class SliderPage : Page
10 | {
11 | public SliderPage()
12 | {
13 | this.InitializeComponent();
14 | }
15 |
16 | private void SnapsToRadioButtons_SelectionChanged(object sender, SelectionChangedEventArgs e)
17 | {
18 | switch (SnapsToRadioButtons.SelectedItem)
19 | {
20 | case "StepValues":
21 | Slider3.SnapsTo = SliderSnapsTo.StepValues;
22 | break;
23 | default:
24 | Slider3.SnapsTo = SliderSnapsTo.Ticks;
25 | break;
26 | }
27 | }
28 | }
29 |
--------------------------------------------------------------------------------
/WinUIGallery/Samples/SampleCode/SystemBackdrops/SystemBackdropsSampleBackdropTypes_cs.txt:
--------------------------------------------------------------------------------
1 | bool TrySetMicaBackdrop(bool useMicaAlt)
2 | {
3 | if (SystemBackdrops.MicaController.IsSupported())
4 | {
5 | MicaBackdrop micaBackdrop = new MicaBackdrop();
6 | micaBackdrop.Kind = useMicaAlt ? MicaKind.BaseAlt : MicaKind.Base;
7 | SystemBackdrop = micaBackdrop;
8 |
9 | return true; // Succeeded.
10 | }
11 |
12 | return false; // Mica is not supported on this system.
13 | }
14 |
15 | bool TrySetDesktopAcrylicBackdrop()
16 | {
17 | if (DesktopAcrylicController.IsSupported())
18 | {
19 | DesktopAcrylicBackdrop DesktopAcrylicBackdrop = new DesktopAcrylicBackdrop();
20 | SystemBackdrop = DesktopAcrylicBackdrop;
21 |
22 | return true; // Succeeded.
23 | }
24 |
25 | return false; // DesktopAcrylic is not supported on this system.
26 | }
--------------------------------------------------------------------------------
/WinUIGallery/Samples/SampleCode/XamlResources/XamlResourcesSample2_xaml.txt:
--------------------------------------------------------------------------------
1 |
2 |
3 |
8 |
9 |
10 |
11 |
16 |
17 |
--------------------------------------------------------------------------------
/tests/WinUIGallery.UITests/SampleTestTemplate.cs:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft Corporation.
2 | // Licensed under the MIT License.
3 |
4 | using System.Threading;
5 | using Microsoft.VisualStudio.TestTools.UnitTesting;
6 | using OpenQA.Selenium.Appium.Windows;
7 |
8 | namespace WinUIGallery.UITests;
9 |
10 | [TestClass]
11 | public class SampleTestTemplate : TestBase
12 | {
13 |
14 | private static WindowsElement element1 = null;
15 | private static WindowsElement element2 = null;
16 |
17 | public static void ClassInitialize(TestContext context)
18 | {
19 | OpenControlPage("MyControlPage");
20 | Thread.Sleep(1000);
21 | element1 = Session.FindElementByAccessibilityId("Element Locator");
22 | Assert.IsNotNull(element1);
23 | element2 = Session.FindElementByAccessibilityId("Element Locator");
24 | Assert.IsNotNull(element2);
25 | }
26 | }
27 |
--------------------------------------------------------------------------------
/WinUIGallery/Samples/ControlPages/TitleBarPage.xaml.cs:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft Corporation. All rights reserved.
2 | // Licensed under the MIT License.
3 |
4 | using Microsoft.UI.Xaml;
5 | using Microsoft.UI.Xaml.Controls;
6 | using WinUIGallery.Helpers;
7 | using WinUIGallery.Samples.SamplePages;
8 |
9 | namespace WinUIGallery.ControlPages;
10 |
11 | public sealed partial class TitleBarPage : Page
12 | {
13 | public TitleBarPage()
14 | {
15 | this.InitializeComponent();
16 | }
17 |
18 | private void CreateTitleBarWindowClick(object sender, RoutedEventArgs e)
19 | {
20 | TitleBarWindow titleBarWindow = new TitleBarWindow();
21 | titleBarWindow.Activate();
22 | }
23 |
24 | private void TitleBar_LayoutUpdated(object sender, object e)
25 | {
26 | TitleBarHelper.ApplySystemThemeToCaptionButtons(App.MainWindow, this.ActualTheme);
27 | }
28 | }
--------------------------------------------------------------------------------
/WinUIGallery/Samples/ControlPages/ProgressBarPage.xaml.cs:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft Corporation. All rights reserved.
2 | // Licensed under the MIT License.
3 |
4 | using Microsoft.UI.Xaml.Controls;
5 |
6 | namespace WinUIGallery.ControlPages;
7 |
8 | public sealed partial class ProgressBarPage : Page
9 | {
10 | public ProgressBarPage()
11 | {
12 | this.InitializeComponent();
13 | }
14 |
15 | private void ProgressValue_ValueChanged(Microsoft.UI.Xaml.Controls.NumberBox sender, Microsoft.UI.Xaml.Controls.NumberBoxValueChangedEventArgs args)
16 | {
17 | // Value might be NaN, which is not valid as value, thus we need to handle changes ourselves
18 |
19 | if (!double.IsNaN(sender.Value))
20 | {
21 | ProgressBar2.Value = sender.Value;
22 | }
23 | else
24 | {
25 | sender.Value = 0;
26 | }
27 | }
28 | }
29 |
--------------------------------------------------------------------------------
/WinUIGallery/Samples/ControlPages/VariableSizedWrapGridPage.xaml.cs:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft Corporation. All rights reserved.
2 | // Licensed under the MIT License.
3 |
4 | using Microsoft.UI.Xaml.Controls;
5 | using System;
6 |
7 | namespace WinUIGallery.ControlPages;
8 |
9 | public sealed partial class VariableSizedWrapGridPage : Page
10 | {
11 | public VariableSizedWrapGridPage()
12 | {
13 | this.InitializeComponent();
14 | }
15 |
16 | private void OrientationGroup_SelectionChanged(object sender, SelectionChangedEventArgs e)
17 | {
18 | if ((sender as RadioButtons)?.SelectedItem is not RadioButton selectedItem ||
19 | Enum.TryParse(selectedItem.Tag?.ToString(), out var orientation) is false ||
20 | Control1 is null)
21 | {
22 | return;
23 | }
24 |
25 | Control1.Orientation = orientation;
26 | }
27 | }
28 |
--------------------------------------------------------------------------------
/WinUIGallery/Samples/SampleCode/StandardUICommand/StandardUICommandSample1_cs.txt:
--------------------------------------------------------------------------------
1 | private void ControlExample_Loaded(object sender, RoutedEventArgs e)
2 | {
3 | var deleteCommand = new StandardUICommand(StandardUICommandKind.Delete);
4 | deleteCommand.ExecuteRequested += DeleteCommand_ExecuteRequested;
5 |
6 | DeleteFlyoutItem.Command = deleteCommand;
7 |
8 | for (var i = 0; i < 15; i++)
9 | {
10 | collection.Add(new ListItemData { Text = "List item " + i.ToString(), Command = deleteCommand });
11 | }
12 | }
13 |
14 | private void ListViewRight_ContainerContentChanging(ListViewBase sender, ContainerContentChangingEventArgs args)
15 | {
16 | MenuFlyout flyout = new MenuFlyout();
17 | ListItemData data = (ListItemData)args.Item;
18 | MenuFlyoutItem item = new MenuFlyoutItem() { Command = data.Command};
19 | flyout.Items.Add(item);
20 | args.ItemContainer.ContextFlyout = flyout;
21 | }
--------------------------------------------------------------------------------
/WinUIGallery/Samples/SampleCode/CustomUserControls/CustomUserControlsSample3_cs.txt:
--------------------------------------------------------------------------------
1 | using Microsoft.UI.Xaml;
2 | using Microsoft.UI.Xaml.Controls;
3 |
4 | namespace YourNamesapace;
5 |
6 | public sealed partial class TemperatureConverterControl : UserControl
7 | {
8 | public TemperatureConverterControl()
9 | {
10 | this.InitializeComponent();
11 | }
12 |
13 | private void Button_Click(object sender, RoutedEventArgs e)
14 | {
15 | string input = InputTextBox.Text;
16 | double celsius = 0;
17 |
18 | bool isNumber = double.TryParse(input, out celsius);
19 |
20 | if (isNumber)
21 | {
22 | double fahrenheit = (celsius * 9 / 5) + 32;
23 | ResultTextBlock.Text = "Fahrenheit: " + fahrenheit.ToString("F2") + "°F";
24 | }
25 | else
26 | {
27 | ResultTextBlock.Text = "Invalid input!";
28 | }
29 | }
30 | }
31 |
--------------------------------------------------------------------------------
/WinUIGallery/Helpers/SettingsHelper/Providers/SettingsProviderFactory.cs:
--------------------------------------------------------------------------------
1 | using Microsoft.Windows.Storage;
2 | using System;
3 | using System.IO;
4 |
5 | namespace WinUIGallery.Helpers;
6 |
7 | public static partial class SettingsProviderFactory
8 | {
9 | public static ISettingsProvider CreateProvider()
10 | {
11 | if (NativeMethods.IsAppPackaged)
12 | {
13 | return new ApplicationDataSettingsProvider(ApplicationData.GetDefault().LocalSettings);
14 | }
15 | else
16 | {
17 | var folder = Path.Combine(
18 | Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData),
19 | ProcessInfoHelper.ProductName
20 | );
21 |
22 | Directory.CreateDirectory(folder);
23 | var filePath = Path.Combine(folder, "AppConfig.json");
24 | return new JsonSettingsProvider(filePath);
25 | }
26 | }
27 | }
28 |
--------------------------------------------------------------------------------
/WinUIGallery/Samples/ControlPages/DatePickerPage.xaml.cs:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft Corporation. All rights reserved.
2 | // Licensed under the MIT License.
3 |
4 | using Microsoft.UI.Xaml.Controls;
5 | using Microsoft.UI.Xaml.Navigation;
6 | using System;
7 |
8 | namespace WinUIGallery.ControlPages;
9 |
10 | public sealed partial class DatePickerPage : Page
11 | {
12 | public DatePickerPage()
13 | {
14 | this.InitializeComponent();
15 | }
16 |
17 | protected override void OnNavigatedTo(NavigationEventArgs e)
18 | {
19 | // Set the default date to 2 months from the current date.
20 | Control2.Date = DateTimeOffset.Now.AddMonths(2);
21 |
22 | // Set the minimum year to the current year.
23 | Control2.MinYear = DateTimeOffset.Now;
24 |
25 | // Set the maximum year to 5 years in the future.
26 | Control2.MaxYear = DateTimeOffset.Now.AddYears(5);
27 |
28 | }
29 | }
30 |
--------------------------------------------------------------------------------
/WinUIGallery/Samples/ControlPages/ColorPickerPage.xaml.cs:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft Corporation. All rights reserved.
2 | // Licensed under the MIT License.
3 |
4 | using Microsoft.UI.Xaml.Controls;
5 |
6 | namespace WinUIGallery.ControlPages;
7 |
8 | public sealed partial class ColorPickerPage : Page
9 | {
10 | public ColorPickerPage()
11 | {
12 | this.InitializeComponent();
13 | }
14 |
15 | private void ColorSpectrumShapeRadioButtons_SelectionChanged(object sender, SelectionChangedEventArgs e)
16 | {
17 | switch (ColorSpectrumShapeRadioButtons.SelectedItem)
18 | {
19 | case "Box":
20 | colorPicker.ColorSpectrumShape = Microsoft.UI.Xaml.Controls.ColorSpectrumShape.Box;
21 | break;
22 | default:
23 | colorPicker.ColorSpectrumShape = Microsoft.UI.Xaml.Controls.ColorSpectrumShape.Ring;
24 | break;
25 | }
26 | }
27 | }
28 |
--------------------------------------------------------------------------------
/WinUIGallery/Samples/ControlPages/RepeatButtonPage.xaml.cs:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft Corporation. All rights reserved.
2 | // Licensed under the MIT License.
3 |
4 | using Microsoft.UI.Xaml;
5 | using Microsoft.UI.Xaml.Automation.Peers;
6 | using Microsoft.UI.Xaml.Controls;
7 |
8 | namespace WinUIGallery.ControlPages;
9 |
10 | public sealed partial class RepeatButtonPage : Page
11 | {
12 | public RepeatButtonPage()
13 | {
14 | this.InitializeComponent();
15 | }
16 |
17 | private static int _clicks = 0;
18 | private void RepeatButton_Click(object sender, RoutedEventArgs e)
19 | {
20 | _clicks += 1;
21 | Control1Output.Text = "Number of clicks: " + _clicks;
22 |
23 | AutomationPeer peer = FrameworkElementAutomationPeer.FromElement(Control1Output) ?? FrameworkElementAutomationPeer.CreatePeerForElement(Control1Output);
24 | peer?.RaiseAutomationEvent(AutomationEvents.LiveRegionChanged);
25 | }
26 | }
27 |
--------------------------------------------------------------------------------
/WinUIGallery/Samples/SampleCode/XamlUICommand/XamlUICommandSample1_xaml.txt:
--------------------------------------------------------------------------------
1 |
2 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
17 |
18 |
--------------------------------------------------------------------------------
/WinUIGallery/Samples/ControlPages/ButtonPage.xaml.cs:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft Corporation. All rights reserved.
2 | // Licensed under the MIT License.
3 |
4 | using Microsoft.UI.Xaml;
5 | using Microsoft.UI.Xaml.Controls;
6 |
7 | namespace WinUIGallery.ControlPages;
8 |
9 | public sealed partial class ButtonPage : Page
10 | {
11 | public ButtonPage()
12 | {
13 | this.InitializeComponent();
14 | }
15 |
16 | private void Button_Click(object sender, RoutedEventArgs e)
17 | {
18 | if (sender is Button b)
19 | {
20 | string name = b.Name;
21 |
22 | switch (name)
23 | {
24 | case "Button1":
25 | Control1Output.Text = "You clicked: " + name;
26 | break;
27 | case "Button2":
28 | Control2Output.Text = "You clicked: " + name;
29 | break;
30 |
31 | }
32 | }
33 | }
34 | }
35 |
--------------------------------------------------------------------------------
/WinUIGallery/Samples/SamplePages/SampleWindow2.xaml:
--------------------------------------------------------------------------------
1 |
2 |
10 |
11 |
12 |
13 |
14 |
15 |
18 |
21 |
22 |
23 |
--------------------------------------------------------------------------------
/.github/CONTRIBUTING.md:
--------------------------------------------------------------------------------
1 | # Contributing
2 |
3 | This project welcomes contributions and suggestions. Most contributions require you to agree to a
4 | Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us
5 | the rights to use your contribution. For details, visit https://cla.microsoft.com.
6 |
7 | When you submit a pull request, a CLA-bot will automatically determine whether you need to provide
8 | a CLA and decorate the PR appropriately (e.g., label, comment). Simply follow the instructions
9 | provided by the bot. You will only need to do this once across all repos using our CLA.
10 |
11 | This project has adopted the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/).
12 | For more information see the [Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/) or
13 | contact [opencode@microsoft.com](mailto:opencode@microsoft.com) with any additional questions or comments.
14 |
--------------------------------------------------------------------------------
/WinUIGallery/Samples/ControlPages/CalendarDatePickerPage.xaml:
--------------------------------------------------------------------------------
1 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 | <CalendarDatePicker PlaceholderText="Pick a date" Header="Calendar" />
14 |
15 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/WinUIGallery/Helpers/EnumHelper.cs:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft Corporation. All rights reserved.
2 | // Licensed under the MIT License.
3 |
4 | using System;
5 | using System.Reflection;
6 |
7 | namespace WinUIGallery.Helpers;
8 | internal static partial class EnumHelper
9 | {
10 | ///
11 | /// Converts a string into an enum.
12 | ///
13 | /// The output enum type.
14 | /// The input text.
15 | /// The parsed enum.
16 | /// Thrown when the TEnum type is not a enum.
17 | public static TEnum GetEnum(string text) where TEnum : struct
18 | {
19 | if (!typeof(TEnum).GetTypeInfo().IsEnum)
20 | {
21 | throw new InvalidOperationException("Generic parameter 'TEnum' must be an enum.");
22 | }
23 | return (TEnum)Enum.Parse(typeof(TEnum), text);
24 | }
25 | }
26 |
--------------------------------------------------------------------------------
/WinUIGallery/Samples/SamplePages/SampleWindow7.xaml:
--------------------------------------------------------------------------------
1 |
2 |
10 |
11 |
12 |
13 |
14 |
15 |
18 |
21 |
22 |
23 |
--------------------------------------------------------------------------------
/WinUIGallery/Helpers/FontHelper.cs:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft Corporation. All rights reserved.
2 | // Licensed under the MIT License.
3 |
4 | using Microsoft.UI.Xaml.Media;
5 | using System.Collections.Generic;
6 |
7 | namespace WinUIGallery.Helpers;
8 | public partial class FontHelper
9 | {
10 | public static List Fonts { get; } = new()
11 | {
12 | new FontItem("Arial", new FontFamily("Arial")),
13 | new FontItem("Comic Sans MS", new FontFamily("Comic Sans MS")),
14 | new FontItem("Courier New", new FontFamily("Courier New")),
15 | new FontItem("Segoe UI", new FontFamily("Segoe UI")),
16 | new FontItem("Times New Roman", new FontFamily("Times New Roman"))
17 | };
18 | }
19 | public partial class FontItem
20 | {
21 | public string Name { get; set; }
22 | public FontFamily Font { get; set; }
23 |
24 | public FontItem(string name, FontFamily font)
25 | {
26 | Name = name;
27 | Font = font;
28 | }
29 | }
--------------------------------------------------------------------------------
/.github/PULL_REQUEST_TEMPLATE.md:
--------------------------------------------------------------------------------
1 |
2 |
3 | ## Description
4 |
5 |
6 | ## Motivation and Context
7 |
8 |
9 |
10 | ## How Has This Been Tested?
11 |
12 |
13 |
14 |
15 | ## Screenshots (if appropriate):
16 |
17 | ## Types of changes
18 |
19 | - [ ] Bug fix (non-breaking change which fixes an issue)
20 | - [ ] New feature (non-breaking change which adds functionality)
21 | - [ ] Breaking change (fix or feature that would cause existing functionality to change)
22 |
--------------------------------------------------------------------------------
/WinUIGallery/Samples/SampleCode/AppWindow/AppWindowSample2_cs.txt:
--------------------------------------------------------------------------------
1 | using Microsoft.UI.Windowing;
2 | using Microsoft.UI.Xaml;
3 | using Windows.Graphics;
4 |
5 | namespace YourNamesapace;
6 |
7 | public sealed partial class SampleWindow2 : Window
8 | {
9 | public SampleWindow2()
10 | {
11 | this.InitializeComponent();
12 | AppWindow.SetIcon("Assets/Tiles/GalleryIcon.ico");
13 | AppWindow.TitleBar.PreferredTheme = TitleBarTheme.UseDefaultAppMode;
14 |
15 | // Center the window on the screen.
16 | CenterWindow();
17 | }
18 |
19 | // Centers the given AppWindow on the screen based on the available display area.
20 | private void CenterWindow()
21 | {
22 | var area = DisplayArea.GetFromWindowId(AppWindow.Id, DisplayAreaFallback.Nearest)?.WorkArea;
23 | if (area == null) return;
24 | AppWindow.Move(new PointInt32((area.Value.Width - AppWindow.Size.Width) / 2, (area.Value.Height - AppWindow.Size.Height) / 2));
25 | }
26 | }
--------------------------------------------------------------------------------
/WinUIGallery/Samples/SampleCode/Motion/AnimationInterop/AnimationInteropSample5_xaml.txt:
--------------------------------------------------------------------------------
1 |
2 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
--------------------------------------------------------------------------------
/WinUIGallery/Samples/SampleCode/Motion/AnimationInterop/AnimationInteropSample1_cs.txt:
--------------------------------------------------------------------------------
1 | Compositor _compositor = App.CurrentWindow.Compositor;
2 | SpringVector3NaturalMotionAnimation? _springAnimation;
3 |
4 | private void CreateOrUpdateSpringAnimation(float finalValue)
5 | {
6 | if (_springAnimation == null)
7 | {
8 | _springAnimation = _compositor.CreateSpringVector3Animation();
9 | _springAnimation.Target = "Scale";
10 | }
11 |
12 | _springAnimation.FinalValue = new Vector3(finalValue);
13 | }
14 |
15 | private void element_PointerEntered(object sender, PointerRoutedEventArgs e)
16 | {
17 | // Scale up to 1.5
18 | CreateOrUpdateSpringAnimation(1.5f);
19 |
20 | (sender as UIElement)?.StartAnimation(_springAnimation);
21 | }
22 |
23 | private void element_PointerExited(object sender, PointerRoutedEventArgs e)
24 | {
25 | // Scale back down to 1.0
26 | CreateOrUpdateSpringAnimation(1.0f);
27 |
28 | (sender as UIElement)?.StartAnimation(_springAnimation);
29 | }
--------------------------------------------------------------------------------
/WinUIGallery/Samples/ControlPages/MediaPlayerElementPage.xaml.cs:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft Corporation. All rights reserved.
2 | // Licensed under the MIT License.
3 |
4 | using Microsoft.UI.Xaml.Controls;
5 | using Microsoft.UI.Xaml.Navigation;
6 |
7 | namespace WinUIGallery.ControlPages;
8 |
9 | public sealed partial class MediaPlayerElementPage : Page
10 | {
11 | public MediaPlayerElementPage()
12 | {
13 | this.InitializeComponent();
14 | }
15 |
16 | protected override void OnNavigatedTo(NavigationEventArgs e)
17 | {
18 | base.OnNavigatedTo(e);
19 | // Needed if this page is getting cached due to the navigation stack.
20 | Player2.MediaPlayer.Play();
21 | }
22 |
23 | protected override void OnNavigatedFrom(NavigationEventArgs e)
24 | {
25 | base.OnNavigatedFrom(e);
26 | // Pause media playback since we are no longer visible to the user
27 | Player1.MediaPlayer.Pause();
28 | Player2.MediaPlayer.Pause();
29 | }
30 | }
31 |
--------------------------------------------------------------------------------