Change Hardcoded toggle on/off label to string

This commit is contained in:
DB p 2021-12-12 05:25:56 +09:00
parent f42d6a1922
commit b2184c3946

View file

@ -112,8 +112,8 @@
<Style x:Key="SideToggleSwitch" TargetType="{x:Type ui:ToggleSwitch}">
<Setter Property="Grid.Column" Value="2" />
<Setter Property="OffContent" Value="Off" />
<Setter Property="OnContent" Value="On" />
<Setter Property="OffContent" Value="{DynamicResource disable}" />
<Setter Property="OnContent" Value="{DynamicResource enable}" />
<Setter Property="FlowDirection" Value="RightToLeft" />
<Setter Property="Margin" Value="0,4,22,4" />
</Style>