-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathFlashWindow.xaml
More file actions
82 lines (80 loc) · 3.34 KB
/
FlashWindow.xaml
File metadata and controls
82 lines (80 loc) · 3.34 KB
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
<ui:FluentWindow
x:Class="SPRDClient.FlashWindow"
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:local="clr-namespace:SPRDClient"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:pages="[pages ]clr-namespace:SPRDClient.Pages"
xmlns:ui="http://schemas.lepo.co/wpfui/2022/xaml"
Width="1200"
Height="800"
Closed="FluentWindow_Closed"
ExtendsContentIntoTitleBar="True"
Loaded="FluentWindow_Loaded"
WindowBackdropType="Mica"
WindowCornerPreference="Round"
mc:Ignorable="d">
<Grid>
<ui:SnackbarPresenter
x:Name="RootSnackbarPresenter"
Margin="0,0,20,90"
HorizontalAlignment="Right"
Panel.ZIndex="101" />
<ContentPresenter x:Name="RootContentPresenter" Panel.ZIndex="100" />
<Grid Background="AliceBlue" x:Name="RootGrid">
<Grid.RowDefinitions>
<RowDefinition Height="32" />
<!-- TitleBar -->
<RowDefinition Height="*" />
<!-- 读取分区 -->
</Grid.RowDefinitions>
<!-- TitleBar -->
<ui:TitleBar
x:Name="TitleBar1"
Title="SPRDClient Developer : YC && la1N FinalVersion (Maybe?) "
Grid.Row="0"
Cursor="Hand"
FontSize="15"
Icon="{ui:SymbolIcon Symbol=Toolbox12,
Filled=True}" />
<ui:NavigationView
x:Name="RootNavigation"
Grid.Row="1"
IsBackButtonVisible="Collapsed"
PaneDisplayMode="LeftFluent"
SelectionChanged="RootNavigation_SelectionChanged"
Transition="FadeIn">
<ui:NavigationView.MenuItems>
<ui:NavigationViewItem
Margin="5"
Content="首页"
Icon="{ui:SymbolIcon Symbol=Home24}"
Tag="homepage"
TargetPageTag="homepage"
TargetPageType="{x:Type Page}" />
<ui:NavigationViewItem
Margin="5"
Content="高级"
Icon="{ui:SymbolIcon Symbol=Circle32,
Filled=False}"
Tag="seniorpage"
TargetPageType="{x:Type Page}" />
<ui:NavigationViewItem
Margin="5"
Content="日志"
Icon="{ui:SymbolIcon Symbol=DataBarHorizontal20}"
Tag="logpage"
TargetPageType="{x:Type Page}" />
</ui:NavigationView.MenuItems>
<ui:NavigationView.FooterMenuItems>
<ui:NavigationViewItem
Content="设置"
Icon="{ui:SymbolIcon Symbol=Settings24}"
Tag="settingspage"
TargetPageType="{x:Type Page}" />
</ui:NavigationView.FooterMenuItems>
</ui:NavigationView>
</Grid>
</Grid>
</ui:FluentWindow>