예제 #1
0
 private void Update_themeAgency_AppTheme(global::Windows.UI.Xaml.ElementTheme obj, int phase)
 {
     if ((phase & ((1 << 0) | NOT_PHASED | DATA_CHANGED)) != 0)
     {
         XamlBindingSetters.Set_Windows_UI_Xaml_FrameworkElement_RequestedTheme(this.obj1.Target as global::VisualExplorer.UI.Dialogs.ThemeContentDialog, obj);
     }
 }
예제 #2
0
 private void Update_ViewModel_ElementTheme(global::Windows.UI.Xaml.ElementTheme obj, int phase)
 {
     if ((phase & ((1 << 0) | NOT_PHASED | DATA_CHANGED)) != 0)
     {
         // Views\SettingsPage.xaml line 39
         XamlBindingSetters.Set_Windows_UI_Xaml_Controls_Primitives_ToggleButton_IsChecked(this.obj4, (global::System.Nullable <global::System.Boolean>) this.LookupConverter("EnumToBooleanConverter").Convert(obj, typeof(global::System.Nullable <global::System.Boolean>), "Light", null), null);
         // Views\SettingsPage.xaml line 48
         XamlBindingSetters.Set_Windows_UI_Xaml_Controls_Primitives_ToggleButton_IsChecked(this.obj5, (global::System.Nullable <global::System.Boolean>) this.LookupConverter("EnumToBooleanConverter").Convert(obj, typeof(global::System.Nullable <global::System.Boolean>), "Dark", null), null);
         // Views\SettingsPage.xaml line 57
         XamlBindingSetters.Set_Windows_UI_Xaml_Controls_Primitives_ToggleButton_IsChecked(this.obj6, (global::System.Nullable <global::System.Boolean>) this.LookupConverter("EnumToBooleanConverter").Convert(obj, typeof(global::System.Nullable <global::System.Boolean>), "Default", null), null);
     }
 }
예제 #3
0
 public static void Set_Windows_UI_Xaml_FrameworkElement_RequestedTheme(global::Windows.UI.Xaml.FrameworkElement obj, global::Windows.UI.Xaml.ElementTheme value)
 {
     obj.RequestedTheme = value;
 }