mirror of
https://gitcode.com/gh_mirrors/se/Semi.Avalonia
synced 2026-05-01 13:39:27 +08:00
feat: add new Theme - ThemeToggleSwitch.
(cherry picked from commit cc001e951e)
This commit is contained in:
@@ -112,12 +112,12 @@
|
||||
<ListBox
|
||||
Grid.Row="1"
|
||||
ItemsSource="{Binding Songs}" />
|
||||
<ToggleButton
|
||||
<ToggleSwitch
|
||||
Grid.Row="2"
|
||||
Theme="{DynamicResource SplitViewToggleButton}"
|
||||
Theme="{DynamicResource SplitViewToggleSwitch}"
|
||||
HorizontalAlignment="Left"
|
||||
IsChecked="{Binding #SplitView.IsPaneOpen}">
|
||||
</ToggleButton>
|
||||
</ToggleSwitch>
|
||||
</Grid>
|
||||
</SplitView.Pane>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user