allow setting to be toggled from the json file

This commit is contained in:
TheXamlGuy
2024-02-15 22:02:59 +00:00
parent 41b9d5e0fc
commit 43178429d2
11 changed files with 75 additions and 29 deletions
@@ -0,0 +1,10 @@
<?xml version="1.0" encoding="utf-8" ?>
<controls:SettingsCard
x:Class="Hyperbar.Widget.Windows.WidgetToggleConfigurationView"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:controls="using:CommunityToolkit.WinUI.Controls"
Description="{Binding Description}"
Header="{Binding Title}">
<ToggleSwitch IsOn="{Binding Value}" />
</controls:SettingsCard>