PopulateFromBase() public method

Populate values from the base palette.
public PopulateFromBase ( KryptonPaletteCommon common, PaletteState state, GridStyle gridStyle ) : void
common KryptonPaletteCommon Reference to common settings.
state PaletteState The palette state to populate with.
gridStyle GridStyle Grid style to use for populating.
return void
 /// <summary>
 /// Populate values from the base palette.
 /// </summary>
 /// <param name="common">Reference to common settings.</param>
 /// <param name="gridStyle">Grid style to use for populating.</param>
 public void PopulateFromBase(KryptonPaletteCommon common,
                              GridStyle gridStyle)
 {
     // Populate only the designated styles
     _stateDisabled.PopulateFromBase(common, PaletteState.Disabled, gridStyle);
     _stateNormal.PopulateFromBase(common, PaletteState.Normal, gridStyle);
     _stateTracking.PopulateFromBase(common, PaletteState.Tracking, gridStyle);
     _statePressed.PopulateFromBase(common, PaletteState.Pressed, gridStyle);
     _stateSelected.PopulateFromBase(common, PaletteState.CheckedNormal, gridStyle);
 }