Beispiel #1
0
 /// <summary>
 /// Populate values from the base palette.
 /// </summary>
 public void PopulateFromBase()
 {
     // Populate only the designated styles
     StateNormal.PopulateFromBase(PaletteState.Normal);
     StateTracking.PopulateFromBase(PaletteState.Tracking);
     StateCheckedNormal.PopulateFromBase(PaletteState.CheckedNormal);
     StateCheckedTracking.PopulateFromBase(PaletteState.CheckedTracking);
     StateContextTracking.PopulateFromBase(PaletteState.ContextTracking);
     StateContextCheckedNormal.PopulateFromBase(PaletteState.ContextCheckedNormal);
     StateContextCheckedTracking.PopulateFromBase(PaletteState.ContextCheckedTracking);
     OverrideFocus.PopulateFromBase(PaletteState.FocusOverride);
 }
 /// <summary>
 /// Populate values from the base palette.
 /// </summary>
 public void PopulateFromBase()
 {
     // Populate only the designated styles
     OverrideDefault.PopulateFromBase(PaletteState.NormalDefaultOverride);
     OverrideFocus.PopulateFromBase(PaletteState.FocusOverride);
     StateDisabled.PopulateFromBase(PaletteState.Disabled);
     StateNormal.PopulateFromBase(PaletteState.Normal);
     StateTracking.PopulateFromBase(PaletteState.Tracking);
     StatePressed.PopulateFromBase(PaletteState.Pressed);
     StateCheckedNormal.PopulateFromBase(PaletteState.CheckedNormal);
     StateCheckedTracking.PopulateFromBase(PaletteState.CheckedTracking);
     StateCheckedPressed.PopulateFromBase(PaletteState.CheckedPressed);
 }