コード例 #1
0
 internal void BindThemeResourceInternal(ThemeResource themeResource)
 {
     if (IsApplied)
     {
         BindThemeResource(themeResource);
     }
 }
コード例 #2
0
 private static void BindThemeResource(ThemeResource themeResource)
 {
     BindThemeResource(ThemeManager.GetThemeReference(themeResource.ActualKey, false), themeResource);
 }
コード例 #3
0
 internal void AddThemeResourceInternal(ThemeResource themeResource)
 {
     SkinResourceManager.AddThemeResource(themeResource);
 }
コード例 #4
0
 private static void BindThemeResource(ThemeResourceReference themeResourceReference, ThemeResource themeResource)
 {
     if (themeResource != null)
     {
         themeResourceReference?.Bind(themeResource.Value);
     }
 }
コード例 #5
0
 public void AddThemeResource(ThemeResource themeResource)
 {
     AddThemeResource(new KeyValuePair <string, object>(themeResource.ActualKey, themeResource.Value));
 }