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);
 }
Example #2
0
 /// <summary>
 /// Populate values from the base palette.
 /// </summary>
 public void PopulateFromBase()
 {
     // Populate only the designated styles
     _stateNormal.PopulateFromBase(PaletteState.Normal);
     _stateDisabled.PopulateFromBase(PaletteState.Disabled);
 }