Merge pull request #166 from irihitech/issue/162-theme

Theme toggler update
This commit is contained in:
Dong Bin
2024-03-22 18:11:50 +08:00
committed by GitHub
9 changed files with 143 additions and 50 deletions

View File

@@ -10,6 +10,8 @@
<StackPanel Grid.Column="0">
<TextBlock Text="Global"></TextBlock>
<u:ThemeToggleButton/>
<TextBlock Text="Global Indicator"></TextBlock>
<u:ThemeToggleButton Mode="Indicator"/>
<TextBlock Text="Target To Scope"></TextBlock>
<u:ThemeToggleButton TargetScope="{Binding #scope}"></u:ThemeToggleButton>
</StackPanel>

View File

@@ -92,6 +92,8 @@
<u:ThemeToggleButton
Grid.Row="0"
Grid.Column="1"
IsThreeState="True"
Mode="Controller"
HorizontalAlignment="Right" />
<ContentControl
Grid.Row="1"