This commit is contained in:
ShrlAlgo
2025-07-11 09:20:23 +08:00
parent c7b104f44f
commit 4d35cadb56
840 changed files with 102347 additions and 11595 deletions

View File

@@ -8,8 +8,9 @@
xmlns:local="clr-namespace:WPFluent.Gallery.Views.Pages"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:ui="https://github.com/ShrlAlgo/WPFluent"
xmlns:vm="clr-namespace:WPFluent.Gallery.ViewModels.Pages"
mc:Ignorable="d"
d:DataContext="{d:DesignInstance local:SettingsPage,
d:DataContext="{d:DesignInstance vm:SettingsViewModel,
IsDesignTimeCreatable=False}"
Title="Settings Page">
<StackPanel Margin="0,0,0,24">
@@ -37,7 +38,7 @@
<ComboBox
Grid.Column="1"
MinWidth="200"
SelectedIndex="{Binding ViewModel.CurrentApplicationTheme, Converter={StaticResource ThemeToIndexConverter}, Mode=TwoWay}">
SelectedIndex="{Binding CurrentApplicationTheme, Converter={StaticResource ThemeToIndexConverter}, Mode=TwoWay}">
<ComboBoxItem Content="Light" />
<ComboBoxItem Content="Dark" />
</ComboBox>
@@ -70,7 +71,7 @@
Margin="0,0,16,0"
VerticalAlignment="Center"
Foreground="{DynamicResource TextFillColorSecondaryBrush}"
Text="{Binding ViewModel.AppVersion, Mode=OneWay}" />
Text="{Binding AppVersion, Mode=OneWay}" />
<ui:TextBlock
Grid.Row="1"
Grid.Column="0"
@@ -126,7 +127,7 @@
<ui:SymbolIcon Grid.Column="1" Symbol="Link24" />
</Grid>
</ui:Anchor>
<TextBlock Margin="16" Text="{Binding ViewModel.AppVersion, Mode=OneWay}" />
<TextBlock Margin="16" Text="{Binding AppVersion, Mode=OneWay}" />
</StackPanel>
</ui:CardExpander>
</StackPanel>