Files
YMhut-box-C-/参考/wpfui-main/samples/Wpf.Ui.Demo.Simple/Views/Pages/SettingsPage.xaml
T
2026-07-06 23:05:40 +08:00

38 lines
1.4 KiB
XML

<Page
x:Class="Wpf.Ui.Demo.Simple.Views.Pages.SettingsPage"
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:Wpf.Ui.Demo.Simple.Views.Pages"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:ui="http://schemas.lepo.co/wpfui/2022/xaml"
Title="SettingsPage"
d:DesignHeight="450"
d:DesignWidth="800"
ui:Design.Background="{DynamicResource ApplicationBackgroundBrush}"
ui:Design.Foreground="{DynamicResource TextFillColorPrimaryBrush}"
Foreground="{DynamicResource TextFillColorPrimaryBrush}"
mc:Ignorable="d"
>
<StackPanel Margin="42">
<TextBlock FontSize="20" FontWeight="Medium" Text="Personalization" />
<TextBlock Margin="0,12,0,0" Text="Theme" />
<RadioButton
x:Name="LightThemeRadioButton"
Margin="0,12,0,0"
Checked="OnLightThemeRadioButtonChecked"
Content="Light"
GroupName="themeSelect"
/>
<RadioButton
x:Name="DarkThemeRadioButton"
Margin="0,8,0,0"
Checked="OnDarkThemeRadioButtonChecked"
Content="Dark"
GroupName="themeSelect"
/>
<TextBlock Margin="0,24,0,0" FontSize="20" FontWeight="Medium" Text="About WPF UI - Simple Demo" />
<TextBlock x:Name="AppVersionTextBlock" Margin="0,12,0,0" />
</StackPanel>
</Page>