diff --git a/VSIX/DevWinUI_Template/DevWinUI_Template/Controls/SettingsControl.xaml b/VSIX/DevWinUI_Template/DevWinUI_Template/Controls/SettingsControl.xaml index 68076f1..4429442 100644 --- a/VSIX/DevWinUI_Template/DevWinUI_Template/Controls/SettingsControl.xaml +++ b/VSIX/DevWinUI_Template/DevWinUI_Template/Controls/SettingsControl.xaml @@ -37,7 +37,7 @@ Margin="0,0,16,0" VerticalAlignment="Center" Foreground="{ui:ThemeResource TextFillColorSecondaryBrush}" - IsChecked="{TemplateBinding IsOn}" + IsChecked="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=IsOn, Mode=TwoWay}" OffContent="Off" OnContent="On" /> @@ -75,7 +75,7 @@ diff --git a/VSIX/DevWinUI_Template/DevWinUI_Template/Views/Pages/PagesPage.xaml b/VSIX/DevWinUI_Template/DevWinUI_Template/Views/Pages/PagesPage.xaml index 9206c0c..bae6bf4 100644 --- a/VSIX/DevWinUI_Template/DevWinUI_Template/Views/Pages/PagesPage.xaml +++ b/VSIX/DevWinUI_Template/DevWinUI_Template/Views/Pages/PagesPage.xaml @@ -14,7 +14,7 @@ @@ -22,7 +22,7 @@ diff --git a/VSIX/DevWinUI_Template/DevWinUI_Template/Views/Pages/ResourcePage.xaml b/VSIX/DevWinUI_Template/DevWinUI_Template/Views/Pages/ResourcePage.xaml index 219a434..d93dc1c 100644 --- a/VSIX/DevWinUI_Template/DevWinUI_Template/Views/Pages/ResourcePage.xaml +++ b/VSIX/DevWinUI_Template/DevWinUI_Template/Views/Pages/ResourcePage.xaml @@ -11,8 +11,6 @@ -