22 x : Class =" iNKORE.UI.WPF.Modern.Gallery.SamplePages.SampleSystemBackdropsWindow"
33 xmlns =" http://schemas.microsoft.com/winfx/2006/xaml/presentation"
44 xmlns : x =" http://schemas.microsoft.com/winfx/2006/xaml"
5- xmlns : controls =" clr-namespace:iNKORE.UI.WPF.Modern.Gallery.Controls"
65 xmlns : d =" http://schemas.microsoft.com/expression/blend/2008"
7- xmlns : ikw =" http://schemas.inkore.net/lib/ui/wpf"
8- xmlns : local =" clr-namespace:iNKORE.UI.WPF.Modern.Gallery"
6+ xmlns : local =" clr-namespace:iNKORE.UI.WPF.Modern.Gallery.SamplePages"
97 xmlns : mc =" http://schemas.openxmlformats.org/markup-compatibility/2006"
10- xmlns : ui =" http://schemas.inkore.net/lib/ui/wpf/modern"
8+ xmlns : ui =" http://schemas.inkore.net/lib/ui/wpf/modern" xmlns : ikw = " http://schemas.inkore.net/lib/ui/wpf "
119 Title =" System Backdrops Window"
12- Width =" 700 "
10+ Width =" 800 "
1311 Height =" 450"
14- ui:ThemeManager.IsThemeAware=" True"
15- ui:TitleBar.ExtendViewIntoTitleBar=" True"
16- ui:TitleBar.Height=" 48"
1712 ui:WindowHelper.SystemBackdropType=" Mica"
13+ ui:WindowHelper.UseAcrylicBackdrop=" True"
14+ ui:WindowHelper.UseAeroBackdrop=" True"
1815 ui:WindowHelper.UseModernWindowStyle=" True"
19- WindowStartupLocation =" CenterScreen"
2016 mc : Ignorable =" d" >
2117 <Grid >
22- <ui : NavigationView
23- x : Name =" NavigationViewControl"
24- AlwaysShowHeader =" True"
25- Canvas.ZIndex=" 0"
26- CompactModeThresholdWidth =" 600"
27- DisplayModeChanged =" NavigationViewControl_DisplayModeChanged"
28- ExpandedModeThresholdWidth =" 800"
29- Header =" General"
30- IsPaneOpen =" True"
31- IsTabStop =" False"
32- Loaded =" OnNavigationViewControlLoaded"
33- PaneClosing =" NavigationViewControl_PaneClosing"
34- PaneOpening =" NavigationViewControl_PaneOpening"
35- SelectionChanged =" OnNavigationViewSelectionChanged" >
36-
37- <ui : NavigationView .PaneCustomContent>
38- <ikw : SimpleStackPanel
39- Margin =" 4,10,0,10"
40- Orientation =" Horizontal"
41- Spacing =" 12" >
42- <Image
43- Width =" 60"
44- Height =" 60"
45- RenderOptions.BitmapScalingMode=" HighQuality"
46- Source =" /Assets/WpfLibrary_Minimal_64w.png" />
47- <TextBlock
48- Grid.Column=" 1"
49- VerticalAlignment =" Center"
50- FontSize =" 14"
51- FontWeight =" SemiBold"
52- Style =" {DynamicResource CaptionTextBlockStyle}"
53- Text =" {x:Static local:NavigationRootPage.GetAppTitleFromSystem}"
54- TextWrapping =" NoWrap" />
55- </ikw : SimpleStackPanel >
56- </ui : NavigationView .PaneCustomContent>
57-
58- <ui : NavigationView .MenuItems>
59- <ui : NavigationViewItem Content =" General" >
60- <ui : NavigationViewItem .Icon>
61- <ui : FontIcon Glyph ="  " />
62- </ui : NavigationViewItem .Icon>
63- </ui : NavigationViewItem >
64- <ui : NavigationViewItem Content =" About" >
65- <ui : NavigationViewItem .Icon>
66- <ui : FontIcon Glyph ="  " />
67- </ui : NavigationViewItem .Icon>
68- </ui : NavigationViewItem >
69- </ui : NavigationView .MenuItems>
70-
71- <ui : NavigationView .HeaderTemplate>
72- <DataTemplate >
73- <TextBlock
74- FontSize =" 28"
75- FontWeight =" SemiBold"
76- Text =" {Binding Header, ElementName=NavigationViewControl, Mode=OneWay}" />
77- </DataTemplate >
78- </ui : NavigationView .HeaderTemplate>
79-
80- <ui : Frame
81- x : Name =" rootFrame"
82- Margin =" 0,24,0,0"
83- Navigated =" OnRootFrameNavigated"
84- Navigating =" OnRootFrameNavigating" />
85- </ui : NavigationView >
18+ <StackPanel >
19+ <ikw : SimpleStackPanel Margin =" 20" Spacing =" 10" >
20+ <StackPanel Orientation =" Horizontal" >
21+ <TextBlock Text =" Current backdrop: " />
22+ <TextBlock x : Name =" tbCurrentBackdrop" />
23+ </StackPanel >
24+ <Button
25+ x : Name =" btnChangeBackdrop"
26+ AutomationProperties.Name=" ChangeBackdropButton"
27+ Click =" ChangeBackdropButton_Click"
28+ Content =" Change Backdrop" />
29+ <TextBlock x : Name =" tbChangeStatus" />
30+ </ikw : SimpleStackPanel >
31+ </StackPanel >
8632 </Grid >
87- </Window >
33+ </Window >
0 commit comments