ComponentFactory.Krypton.Toolkit.KryptonPaletteInputControls.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.InputControlStandalone;
            common.StateCommon.BorderStyle = PaletteBorderStyle.InputControlStandalone;
            common.StateCommon.ContentStyle = PaletteContentStyle.InputControlStandalone;
            _inputControlStandalone.PopulateFromBase();
            common.StateCommon.BackStyle = PaletteBackStyle.InputControlRibbon;
            common.StateCommon.BorderStyle = PaletteBorderStyle.InputControlRibbon;
            common.StateCommon.ContentStyle = PaletteContentStyle.InputControlRibbon;
            _inputControlRibbon.PopulateFromBase();
        }