<UserControl x:Class="Ink_Canvas.Controls.LabeledSettingsCard"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:ui="http://schemas.inkore.net/lib/ui/wpf/modern"
             xmlns:ikw="http://schemas.inkore.net/lib/ui/wpf">
    <ui:SettingsCard x:Name="SettingsCard"
                     Description="{Binding Description, RelativeSource={RelativeSource AncestorType=UserControl}}"
                     Header="{Binding Header, RelativeSource={RelativeSource AncestorType=UserControl}}">
        <ui:ToggleSwitch x:Name="ToggleSwitch"
                         IsOn="{Binding IsOn, RelativeSource={RelativeSource AncestorType=UserControl}, Mode=TwoWay}"
                         Toggled="ToggleSwitch_Toggled"/>
    </ui:SettingsCard>
</UserControl>
