更新
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user