ComponentFactory.Krypton.Toolkit.KryptonPaletteSeparators.PopulateFromBase C# (CSharp) Method

PopulateFromBase() public method

Populate values from the base palette.
public PopulateFromBase ( KryptonPaletteCommon common ) : void
common KryptonPaletteCommon Reference to common settings.
return void
        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);
        }