PopulateFromBase() public method

Populate values from the base palette.
public PopulateFromBase ( PaletteMetricPadding metric ) : void
metric PaletteMetricPadding Which metric should be used for padding.
return void
 /// <summary>
 /// Populate values from the base palette.
 /// </summary>
 /// <param name="common">Reference to common settings.</param>
 public void PopulateFromBase(KryptonPaletteCommon common)
 {
     // Populate only the designated styles
     common.StateCommon.BackStyle   = PaletteBackStyle.SeparatorLowProfile;
     common.StateCommon.BorderStyle = PaletteBorderStyle.SeparatorLowProfile;
     _separatorLowProfile.PopulateFromBase(PaletteMetricPadding.SeparatorPaddingLowProfile);
     common.StateCommon.BackStyle   = PaletteBackStyle.SeparatorHighProfile;
     common.StateCommon.BorderStyle = PaletteBorderStyle.SeparatorHighProfile;
     _separatorHighProfile.PopulateFromBase(PaletteMetricPadding.SeparatorPaddingHighProfile);
     common.StateCommon.BackStyle   = PaletteBackStyle.SeparatorHighInternalProfile;
     common.StateCommon.BorderStyle = PaletteBorderStyle.SeparatorHighInternalProfile;
     _separatorHighInternalProfile.PopulateFromBase(PaletteMetricPadding.SeparatorPaddingHighInternalProfile);
 }