-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMainWindow.xaml
86 lines (81 loc) · 3.97 KB
/
MainWindow.xaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
<Window x:Class="WpfFluentControls.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:local="clr-namespace:WpfFluentControls"
mc:Ignorable="d"
Title="MainWindow" Height="600" Width="1000">
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="240"/>
<ColumnDefinition Width="*"/>
</Grid.ColumnDefinitions>
<Border Background="{DynamicResource SubtleFillColorSecondaryBrush}" CornerRadius="0 12 0 0" >
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="*" />
<RowDefinition Height="Auto" />
</Grid.RowDefinitions>
<!-- ListView for Navigation -->
<ListView x:Name="NavigationList" SelectionChanged="NavigationList_SelectionChanged" DockPanel.Dock="Top">
<ListViewItem Tag="GridSplitterPage.xaml">
<TextBlock>
<Run FontWeight="Bold" Text="[Complete]" />
<Run Text="GridSplitter" />
</TextBlock>
</ListViewItem>
<ListViewItem Tag="ThumbPage.xaml">
<TextBlock>
<Run FontWeight="Bold" Text="[Complete]" />
<Run Text="Thumb" />
</TextBlock>
</ListViewItem>
<ListViewItem Tag="HyperlinkPage.xaml">
<TextBlock>
<Run FontWeight="Bold" Text="[Complete]" />
<Run Text="Hyperlink" />
</TextBlock>
</ListViewItem>
<ListViewItem Tag="ResizeGripPage.xaml">
<TextBlock>
<Run FontWeight="Bold" Text="[Complete]" />
<Run Text="ResizeGrip" />
</TextBlock>
</ListViewItem>
<ListViewItem Tag="GroupBoxPage.xaml">
<TextBlock>
<Run FontWeight="Bold" Text="[Complete]" />
<Run Text="GroupBox" />
</TextBlock>
</ListViewItem>
<ListViewItem Tag="DataGridPage.xaml">
<TextBlock>
<Run FontWeight="Bold" Text="[In Progress]" />
<Run Text="DataGrid" />
</TextBlock>
</ListViewItem>
<ListViewItem Tag="FramePage.xaml">
<TextBlock>
<Run FontWeight="Bold" Text="[In Progress]" />
<Run Text="Frame" />
</TextBlock>
</ListViewItem>
<ListViewItem Tag="DatePickerPage.xaml">
<TextBlock>
<Run FontWeight="Bold" Text="[In Progress]" />
<Run Text="DatePicker" />
</TextBlock>
</ListViewItem>
</ListView>
<ComboBox x:Name="ThemeChanger" Grid.Row="1" Margin="5 10" SelectionChanged="ThemeChanger_SelectionChanged">
<ComboBoxItem Content="Light" Tag="Light" />
<ComboBoxItem Content="Dark" Tag="Dark" IsSelected="True"/>
<ComboBoxItem Content="HighContrast" Tag="HighContrast"/>
</ComboBox>
</Grid>
</Border>
<!-- Frame to Load Pages -->
<Frame x:Name="MainFrame" Grid.Column="1" NavigationUIVisibility="Hidden" />
</Grid>
</Window>