预览效果 分类列表 编辑弹窗 1. CategoryPage 1.1 创建分类页面 GridView+ScrollViewer 页面布局采用Grid+StackPanel。Grid用于区分顶部添加按钮与下方分类列表,在列表内容超出屏幕时滚动不会影响顶部操作按钮。 <Grid x:Name="ContentArea"> <Grid.…
设置页面风格参照WinUI3 Gallery和照片修改。主要使用到RelativePanel和Expander。 默认设置页面 修改后效果 1. 主题设置 在SettingsViewModel.cs中设置主题下拉数据 在SettingsPage.xaml中使用RelativePanel和ComboBox来实现设置条 在SettingsPage.xa…
1) 安装开发环境 安装适用于 Windows 应用 SDK 的工具 - Windows apps | Microsoft Learn 建议安装 Template Studio for WinUI (C#)。 Windows应用商店安装WinUI 3 Gallery,方便查看代码示例。 2) 创建应用 选用Template Studio for W…