|
1 | 1 | <ui:FluentWindow |
2 | | - x:Class="Wpf.Ui.Demo.Console.Views.MainView" |
3 | | - xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" |
4 | | - xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" |
5 | | - xmlns:d="http://schemas.microsoft.com/expression/blend/2008" |
6 | | - xmlns:local="clr-namespace:Wpf.Ui.Demo.Console.Views" |
7 | | - xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" |
8 | | - xmlns:pages="clr-namespace:Wpf.Ui.Demo.Console.Views.Pages" |
9 | | - xmlns:ui="http://schemas.lepo.co/wpfui/2022/xaml" |
10 | | - Title="WPF UI - Console Demo" |
11 | | - Width="1200" |
12 | | - Height="654" |
13 | | - d:DesignHeight="650" |
14 | | - d:DesignWidth="900" |
15 | | - ExtendsContentIntoTitleBar="True" |
16 | | - WindowStartupLocation="CenterScreen" |
17 | | - mc:Ignorable="d"> |
18 | | - |
19 | | - <ui:FluentWindow.InputBindings> |
20 | | - <KeyBinding |
21 | | - Key="F" |
22 | | - Command="{Binding ElementName=AutoSuggestBox, Path=FocusCommand}" |
23 | | - Modifiers="Control" /> |
24 | | - </ui:FluentWindow.InputBindings> |
25 | | - |
26 | | - <Grid> |
27 | | - <Grid.RowDefinitions> |
28 | | - <RowDefinition Height="Auto" /> |
29 | | - <RowDefinition Height="*" /> |
30 | | - </Grid.RowDefinitions> |
31 | | - <ui:NavigationView x:Name="RootNavigation" Grid.Row="1"> |
32 | | - <ui:NavigationView.AutoSuggestBox> |
33 | | - <ui:AutoSuggestBox x:Name="AutoSuggestBox" PlaceholderText="Search"> |
34 | | - <ui:AutoSuggestBox.Icon> |
35 | | - <ui:IconSourceElement> |
36 | | - <ui:SymbolIconSource Symbol="Search24" /> |
37 | | - </ui:IconSourceElement> |
38 | | - </ui:AutoSuggestBox.Icon> |
39 | | - </ui:AutoSuggestBox> |
40 | | - </ui:NavigationView.AutoSuggestBox> |
41 | | - <ui:NavigationView.Header> |
42 | | - <ui:BreadcrumbBar |
43 | | - Margin="42,32,0,0" |
44 | | - FontSize="28" |
45 | | - FontWeight="DemiBold" /> |
46 | | - </ui:NavigationView.Header> |
47 | | - <ui:NavigationView.MenuItems> |
48 | | - <ui:NavigationViewItem |
49 | | - Content="Dashboard" |
50 | | - NavigationCacheMode="Enabled" |
51 | | - TargetPageType="{x:Type pages:DashboardPage}"> |
52 | | - <ui:NavigationViewItem.Icon> |
53 | | - <ui:SymbolIcon Symbol="Home24" /> |
54 | | - </ui:NavigationViewItem.Icon> |
55 | | - </ui:NavigationViewItem> |
56 | | - <ui:NavigationViewItem |
57 | | - Content="Data" |
58 | | - NavigationCacheMode="Enabled" |
59 | | - TargetPageType="{x:Type pages:DataPage}"> |
60 | | - <ui:NavigationViewItem.Icon> |
61 | | - <ui:SymbolIcon Symbol="DataHistogram24" /> |
62 | | - </ui:NavigationViewItem.Icon> |
63 | | - </ui:NavigationViewItem> |
64 | | - </ui:NavigationView.MenuItems> |
65 | | - <ui:NavigationView.FooterMenuItems> |
66 | | - <ui:NavigationViewItem |
67 | | - Content="Settings" |
68 | | - NavigationCacheMode="Enabled" |
69 | | - TargetPageType="{x:Type pages:SettingsPage}"> |
70 | | - <ui:NavigationViewItem.Icon> |
71 | | - <ui:SymbolIcon Symbol="Settings24" /> |
72 | | - </ui:NavigationViewItem.Icon> |
73 | | - </ui:NavigationViewItem> |
74 | | - </ui:NavigationView.FooterMenuItems> |
75 | | - </ui:NavigationView> |
76 | | - |
77 | | - <ui:TitleBar Title="WPF UI - Console Demo" Grid.Row="0" /> |
78 | | - </Grid> |
| 2 | + x:Class="Wpf.Ui.Demo.Console.Views.MainView" |
| 3 | + xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" |
| 4 | + xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" |
| 5 | + xmlns:d="http://schemas.microsoft.com/expression/blend/2008" |
| 6 | + xmlns:local="clr-namespace:Wpf.Ui.Demo.Console.Views" |
| 7 | + xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" |
| 8 | + xmlns:pages="clr-namespace:Wpf.Ui.Demo.Console.Views.Pages" |
| 9 | + xmlns:ui="http://schemas.lepo.co/wpfui/2022/xaml" |
| 10 | + Title="WPF UI - Console Demo" |
| 11 | + Width="1200" |
| 12 | + Height="654" |
| 13 | + d:DesignHeight="650" |
| 14 | + d:DesignWidth="900" |
| 15 | + ExtendsContentIntoTitleBar="True" |
| 16 | + WindowStartupLocation="CenterScreen" |
| 17 | + mc:Ignorable="d" |
| 18 | +> |
| 19 | + <ui:FluentWindow.InputBindings> |
| 20 | + <KeyBinding |
| 21 | + Key="F" |
| 22 | + Command="{Binding ElementName=AutoSuggestBox, Path=FocusCommand}" |
| 23 | + Modifiers="Control" |
| 24 | + /> |
| 25 | + </ui:FluentWindow.InputBindings> |
| 26 | + <Grid> |
| 27 | + <Grid.RowDefinitions> |
| 28 | + <RowDefinition Height="Auto" /> |
| 29 | + <RowDefinition Height="*" /> |
| 30 | + </Grid.RowDefinitions> |
| 31 | + <ui:NavigationView x:Name="RootNavigation" Grid.Row="1"> |
| 32 | + <ui:NavigationView.AutoSuggestBox> |
| 33 | + <ui:AutoSuggestBox x:Name="AutoSuggestBox" PlaceholderText="Search"> |
| 34 | + <ui:AutoSuggestBox.Icon> |
| 35 | + <ui:IconSourceElement> |
| 36 | + <ui:SymbolIconSource Symbol="Search24" /> |
| 37 | + </ui:IconSourceElement> |
| 38 | + </ui:AutoSuggestBox.Icon> |
| 39 | + </ui:AutoSuggestBox> |
| 40 | + </ui:NavigationView.AutoSuggestBox> |
| 41 | + <ui:NavigationView.Header> |
| 42 | + <ui:BreadcrumbBar Margin="42,32,0,0" FontSize="28" FontWeight="DemiBold" /> |
| 43 | + </ui:NavigationView.Header> |
| 44 | + <ui:NavigationView.MenuItems> |
| 45 | + <ui:NavigationViewItem |
| 46 | + Content="Dashboard" |
| 47 | + NavigationCacheMode="Enabled" |
| 48 | + TargetPageType="{x:Type pages:DashboardPage}" |
| 49 | + > |
| 50 | + <ui:NavigationViewItem.Icon> |
| 51 | + <ui:SymbolIcon Symbol="Home24" /> |
| 52 | + </ui:NavigationViewItem.Icon> |
| 53 | + </ui:NavigationViewItem> |
| 54 | + <ui:NavigationViewItem |
| 55 | + Content="Data" |
| 56 | + NavigationCacheMode="Enabled" |
| 57 | + TargetPageType="{x:Type pages:DataPage}" |
| 58 | + > |
| 59 | + <ui:NavigationViewItem.Icon> |
| 60 | + <ui:SymbolIcon Symbol="DataHistogram24" /> |
| 61 | + </ui:NavigationViewItem.Icon> |
| 62 | + </ui:NavigationViewItem> |
| 63 | + </ui:NavigationView.MenuItems> |
| 64 | + <ui:NavigationView.FooterMenuItems> |
| 65 | + <ui:NavigationViewItem |
| 66 | + Content="Settings" |
| 67 | + NavigationCacheMode="Enabled" |
| 68 | + TargetPageType="{x:Type pages:SettingsPage}" |
| 69 | + > |
| 70 | + <ui:NavigationViewItem.Icon> |
| 71 | + <ui:SymbolIcon Symbol="Settings24" /> |
| 72 | + </ui:NavigationViewItem.Icon> |
| 73 | + </ui:NavigationViewItem> |
| 74 | + </ui:NavigationView.FooterMenuItems> |
| 75 | + </ui:NavigationView> |
| 76 | + <ui:TitleBar Title="WPF UI - Console Demo" Grid.Row="0" /> |
| 77 | + </Grid> |
79 | 78 | </ui:FluentWindow> |
0 commit comments