PopulateFromBase() public method

Populate values from the base palette.
public PopulateFromBase ( PaletteState state ) : void
state PaletteState Palette state to use when populating.
return void
 /// <summary>
 /// Populate values from the base palette.
 /// </summary>
 public void PopulateFromBase()
 {
     // Populate only the designated styles
     _stateNormal.PopulateFromBase(PaletteState.Normal);
     _stateTracking.PopulateFromBase(PaletteState.Tracking);
     _stateContextNormal.PopulateFromBase(PaletteState.ContextNormal);
     _stateContextTracking.PopulateFromBase(PaletteState.ContextTracking);
 }
示例#2
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);
 }