Storage for common palette settings.
Inheritance: Storage
Example #1
0
 /// <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.ContentStyle = PaletteContentStyle.LabelNormalControl;
     LabelNormalControl.PopulateFromBase();
     common.StateCommon.ContentStyle = PaletteContentStyle.LabelBoldControl;
     LabelNormalControl.PopulateFromBase();
     common.StateCommon.ContentStyle = PaletteContentStyle.LabelItalicControl;
     LabelNormalControl.PopulateFromBase();
     common.StateCommon.ContentStyle = PaletteContentStyle.LabelTitleControl;
     LabelTitleControl.PopulateFromBase();
     common.StateCommon.ContentStyle = PaletteContentStyle.LabelNormalPanel;
     LabelNormalPanel.PopulateFromBase();
     common.StateCommon.ContentStyle = PaletteContentStyle.LabelBoldPanel;
     LabelNormalPanel.PopulateFromBase();
     common.StateCommon.ContentStyle = PaletteContentStyle.LabelItalicPanel;
     LabelNormalPanel.PopulateFromBase();
     common.StateCommon.ContentStyle = PaletteContentStyle.LabelTitlePanel;
     LabelTitlePanel.PopulateFromBase();
     common.StateCommon.ContentStyle = PaletteContentStyle.LabelGroupBoxCaption;
     LabelCaptionPanel.PopulateFromBase();
     common.StateCommon.ContentStyle = PaletteContentStyle.LabelToolTip;
     LabelToolTip.PopulateFromBase();
     common.StateCommon.ContentStyle = PaletteContentStyle.LabelSuperTip;
     LabelSuperTip.PopulateFromBase();
     common.StateCommon.ContentStyle = PaletteContentStyle.LabelKeyTip;
     LabelKeyTip.PopulateFromBase();
 }
 /// <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.FormMain;
     common.StateCommon.BorderStyle = PaletteBorderStyle.FormMain;
     FormMain.PopulateFromBase();
 }
Example #3
0
 /// <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.HeaderPrimary;
     common.StateCommon.BorderStyle  = PaletteBorderStyle.HeaderPrimary;
     common.StateCommon.ContentStyle = PaletteContentStyle.HeaderPrimary;
     HeaderPrimary.PopulateFromBase();
     common.StateCommon.BackStyle    = PaletteBackStyle.HeaderSecondary;
     common.StateCommon.BorderStyle  = PaletteBorderStyle.HeaderSecondary;
     common.StateCommon.ContentStyle = PaletteContentStyle.HeaderSecondary;
     HeaderSecondary.PopulateFromBase();
     common.StateCommon.BackStyle    = PaletteBackStyle.HeaderDockInactive;
     common.StateCommon.BorderStyle  = PaletteBorderStyle.HeaderDockInactive;
     common.StateCommon.ContentStyle = PaletteContentStyle.HeaderDockInactive;
     HeaderDockInactive.PopulateFromBase();
     common.StateCommon.BackStyle    = PaletteBackStyle.HeaderDockActive;
     common.StateCommon.BorderStyle  = PaletteBorderStyle.HeaderDockActive;
     common.StateCommon.ContentStyle = PaletteContentStyle.HeaderDockActive;
     HeaderDockActive.PopulateFromBase();
     common.StateCommon.BackStyle    = PaletteBackStyle.HeaderCalendar;
     common.StateCommon.BorderStyle  = PaletteBorderStyle.HeaderCalendar;
     common.StateCommon.ContentStyle = PaletteContentStyle.HeaderCalendar;
     HeaderCalendar.PopulateFromBase();
     common.StateCommon.BackStyle    = PaletteBackStyle.HeaderForm;
     common.StateCommon.BorderStyle  = PaletteBorderStyle.HeaderForm;
     common.StateCommon.ContentStyle = PaletteContentStyle.HeaderForm;
     HeaderForm.PopulateFromBase();
 }
Example #4
0
 /// <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.TabHighProfile;
     common.StateCommon.BorderStyle  = PaletteBorderStyle.TabHighProfile;
     common.StateCommon.ContentStyle = PaletteContentStyle.TabHighProfile;
     TabHighProfile.PopulateFromBase();
     common.StateCommon.BackStyle    = PaletteBackStyle.TabStandardProfile;
     common.StateCommon.BorderStyle  = PaletteBorderStyle.TabStandardProfile;
     common.StateCommon.ContentStyle = PaletteContentStyle.TabStandardProfile;
     TabStandardProfile.PopulateFromBase();
     common.StateCommon.BackStyle    = PaletteBackStyle.TabLowProfile;
     common.StateCommon.BorderStyle  = PaletteBorderStyle.TabLowProfile;
     common.StateCommon.ContentStyle = PaletteContentStyle.TabLowProfile;
     TabLowProfile.PopulateFromBase();
     common.StateCommon.BackStyle    = PaletteBackStyle.TabDock;
     common.StateCommon.BorderStyle  = PaletteBorderStyle.TabDock;
     common.StateCommon.ContentStyle = PaletteContentStyle.TabDock;
     TabDock.PopulateFromBase();
     common.StateCommon.BackStyle    = PaletteBackStyle.TabDockAutoHidden;
     common.StateCommon.BorderStyle  = PaletteBorderStyle.TabDockAutoHidden;
     common.StateCommon.ContentStyle = PaletteContentStyle.TabDockAutoHidden;
     TabDockAutoHidden.PopulateFromBase();
     common.StateCommon.BackStyle    = PaletteBackStyle.TabOneNote;
     common.StateCommon.BorderStyle  = PaletteBorderStyle.TabOneNote;
     common.StateCommon.ContentStyle = PaletteContentStyle.TabOneNote;
     TabOneNote.PopulateFromBase();
 }
        /// <summary>
        /// Populate values from the base palette.
        /// </summary>
        /// <param name="state">The palette state to populate with.</param>
        /// <param name="common">Reference to common settings.</param>
        /// <param name="gridStyle">Grid style to use for populating.</param>
        public virtual void PopulateFromBase(KryptonPaletteCommon common,
                                             PaletteState state,
                                             GridStyle gridStyle)
        {
            if (gridStyle == GridStyle.List)
            {
                common.StateCommon.SetStyles(PaletteBackStyle.GridDataCellList, PaletteBorderStyle.GridDataCellList, PaletteContentStyle.GridDataCellList);
            }
            else
            {
                common.StateCommon.SetStyles(PaletteBackStyle.GridDataCellSheet, PaletteBorderStyle.GridDataCellSheet, PaletteContentStyle.GridDataCellSheet);
            }
            _dataCell.PopulateFromBase(state);

            if (gridStyle == GridStyle.List)
            {
                common.StateCommon.SetStyles(PaletteBackStyle.GridHeaderColumnList, PaletteBorderStyle.GridHeaderColumnList, PaletteContentStyle.GridHeaderColumnList);
            }
            else
            {
                common.StateCommon.SetStyles(PaletteBackStyle.GridHeaderColumnSheet, PaletteBorderStyle.GridHeaderColumnSheet, PaletteContentStyle.GridHeaderColumnSheet);
            }
            _headerColumn.PopulateFromBase(state);

            if (gridStyle == GridStyle.List)
            {
                common.StateCommon.SetStyles(PaletteBackStyle.GridHeaderRowList, PaletteBorderStyle.GridHeaderRowList, PaletteContentStyle.GridHeaderRowList);
            }
            else
            {
                common.StateCommon.SetStyles(PaletteBackStyle.GridHeaderRowSheet, PaletteBorderStyle.GridHeaderRowSheet, PaletteContentStyle.GridHeaderRowSheet);
            }
            _headerRow.PopulateFromBase(state);
        }
 /// <summary>
 /// Populate values from the base palette.
 /// </summary>
 /// <param name="common">Reference to common settings.</param>
 /// <param name="state">State to inherit.</param>
 public void PopulateFromBase(KryptonPaletteCommon common,
                              PaletteState state)
 {
     common.StateCommon.BackStyle    = PaletteBackStyle.ContextMenuItemImage;
     common.StateCommon.BorderStyle  = PaletteBorderStyle.ContextMenuItemImage;
     common.StateCommon.ContentStyle = PaletteContentStyle.ContextMenuItemImage;
     _paletteItemImage.PopulateFromBase(state);
 }
Example #7
0
 /// <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
     StateCommon.PopulateFromBase(common, PaletteState.Normal);
     StateDisabled.PopulateFromBase(common, PaletteState.Disabled);
     StateNormal.PopulateFromBase(common, PaletteState.Normal);
     StateHighlight.PopulateFromBase(common, PaletteState.Tracking);
     StateChecked.PopulateFromBase(common, PaletteState.CheckedNormal);
 }
Example #8
0
 /// <summary>
 /// Populate values from the base palette.
 /// </summary>
 /// <param name="common">Reference to common settings.</param>
 /// <param name="state">State to inherit.</param>
 public void PopulateFromBase(KryptonPaletteCommon common,
                              PaletteState state)
 {
     common.StateCommon.BackStyle   = PaletteBackStyle.ContextMenuItemHighlight;
     common.StateCommon.BorderStyle = PaletteBorderStyle.ContextMenuItemHighlight;
     ItemHighlight.PopulateFromBase(state);
     common.StateCommon.BackStyle   = PaletteBackStyle.ContextMenuSeparator;
     common.StateCommon.BorderStyle = PaletteBorderStyle.ContextMenuSeparator;
     ItemSplit.PopulateFromBase(state);
 }
Example #9
0
 /// <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.PanelClient;
     _panelClient.PopulateFromBase();
     common.StateCommon.BackStyle = PaletteBackStyle.PanelAlternate;
     _panelAlternate.PopulateFromBase();
     common.StateCommon.BackStyle = PaletteBackStyle.PanelRibbonInactive;
     _panelRibbonInactive.PopulateFromBase();
 }
 /// <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);
 }
Example #11
0
        /// <summary>
        /// Populate values from the base palette.
        /// </summary>
        /// <param name="state">The palette state to populate with.</param>
        /// <param name="common">Reference to common settings.</param>
        /// <param name="gridStyle">Grid style to use for populating.</param>
        public override void PopulateFromBase(KryptonPaletteCommon common,
                                              PaletteState state,
                                              GridStyle gridStyle)
        {
            base.PopulateFromBase(common, state, gridStyle);

            common.StateCommon.BackStyle = gridStyle == GridStyle.List
                ? PaletteBackStyle.GridBackgroundList
                : PaletteBackStyle.GridBackgroundSheet;

            _background.PopulateFromBase(state);
        }
Example #12
0
 /// <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.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();
 }
Example #13
0
 /// <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);
 }
 /// <summary>
 /// Populate values from the base palette.
 /// </summary>
 /// <param name="common">Reference to common settings.</param>
 /// <param name="state">State to inherit.</param>
 public void PopulateFromBase(KryptonPaletteCommon common,
                              PaletteState state)
 {
     common.StateCommon.BackStyle   = PaletteBackStyle.ContextMenuItemHighlight;
     common.StateCommon.BorderStyle = PaletteBorderStyle.ContextMenuItemHighlight;
     _paletteItemHighlight.PopulateFromBase(state);
     common.StateCommon.BackStyle    = PaletteBackStyle.ContextMenuItemImage;
     common.StateCommon.BorderStyle  = PaletteBorderStyle.ContextMenuItemImage;
     common.StateCommon.ContentStyle = PaletteContentStyle.ContextMenuItemImage;
     _paletteItemImage.PopulateFromBase(state);
     common.StateCommon.ContentStyle = PaletteContentStyle.ContextMenuItemShortcutText;
     _paletteItemShortcutText.PopulateFromBase(state);
     common.StateCommon.BackStyle   = PaletteBackStyle.ContextMenuSeparator;
     common.StateCommon.BorderStyle = PaletteBorderStyle.ContextMenuSeparator;
     _paletteItemSplit.PopulateFromBase(state);
     common.StateCommon.ContentStyle = PaletteContentStyle.ContextMenuItemTextStandard;
     _paletteItemTextStandard.PopulateFromBase(state);
     common.StateCommon.ContentStyle = PaletteContentStyle.ContextMenuItemTextAlternate;
     _paletteItemTextAlternate.PopulateFromBase(state);
 }
 /// <summary>
 /// Populate values from the base palette.
 /// </summary>
 /// <param name="common">Reference to common settings.</param>
 /// <param name="state">State to inherit.</param>
 public void PopulateFromBase(KryptonPaletteCommon common,
                              PaletteState state)
 {
     common.StateCommon.BackStyle   = PaletteBackStyle.ContextMenuInner;
     common.StateCommon.BorderStyle = PaletteBorderStyle.ContextMenuInner;
     _paletteControlInner.PopulateFromBase(state);
     common.StateCommon.BackStyle   = PaletteBackStyle.ContextMenuOuter;
     common.StateCommon.BorderStyle = PaletteBorderStyle.ContextMenuOuter;
     _paletteControlOuter.PopulateFromBase(state);
     common.StateCommon.BackStyle    = PaletteBackStyle.ContextMenuHeading;
     common.StateCommon.BorderStyle  = PaletteBorderStyle.ContextMenuHeading;
     common.StateCommon.ContentStyle = PaletteContentStyle.ContextMenuHeading;
     _paletteHeading.PopulateFromBase(state);
     common.StateCommon.BackStyle   = PaletteBackStyle.ContextMenuItemImageColumn;
     common.StateCommon.BorderStyle = PaletteBorderStyle.ContextMenuItemImageColumn;
     _paletteItemImageColumn.PopulateFromBase(state);
     common.StateCommon.BackStyle   = PaletteBackStyle.ContextMenuSeparator;
     common.StateCommon.BorderStyle = PaletteBorderStyle.ContextMenuSeparator;
     _paletteSeparator.PopulateFromBase(state);
 }
Example #16
0
 /// <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.ControlClient;
     common.StateCommon.BorderStyle = PaletteBorderStyle.ControlClient;
     ControlClient.PopulateFromBase();
     common.StateCommon.BackStyle   = PaletteBackStyle.ControlAlternate;
     common.StateCommon.BorderStyle = PaletteBorderStyle.ControlAlternate;
     ControlAlternate.PopulateFromBase();
     common.StateCommon.BackStyle   = PaletteBackStyle.ControlGroupBox;
     common.StateCommon.BorderStyle = PaletteBorderStyle.ControlGroupBox;
     ControlGroupBox.PopulateFromBase();
     common.StateCommon.BackStyle   = PaletteBackStyle.ControlToolTip;
     common.StateCommon.BorderStyle = PaletteBorderStyle.ControlToolTip;
     ControlToolTip.PopulateFromBase();
     common.StateCommon.BackStyle   = PaletteBackStyle.ControlRibbon;
     common.StateCommon.BorderStyle = PaletteBorderStyle.ControlRibbon;
     ControlRibbon.PopulateFromBase();
     common.StateCommon.BackStyle   = PaletteBackStyle.ControlRibbonAppMenu;
     common.StateCommon.BorderStyle = PaletteBorderStyle.ControlRibbonAppMenu;
     ControlRibbonAppMenu.PopulateFromBase();
 }
 /// <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.TabHighProfile;
     common.StateCommon.BorderStyle = PaletteBorderStyle.TabHighProfile;
     common.StateCommon.ContentStyle = PaletteContentStyle.TabHighProfile;
     _tabHighProfile.PopulateFromBase();
     common.StateCommon.BackStyle = PaletteBackStyle.TabStandardProfile;
     common.StateCommon.BorderStyle = PaletteBorderStyle.TabStandardProfile;
     common.StateCommon.ContentStyle = PaletteContentStyle.TabStandardProfile;
     _tabStandardProfile.PopulateFromBase();
     common.StateCommon.BackStyle = PaletteBackStyle.TabLowProfile;
     common.StateCommon.BorderStyle = PaletteBorderStyle.TabLowProfile;
     common.StateCommon.ContentStyle = PaletteContentStyle.TabLowProfile;
     _tabLowProfile.PopulateFromBase();
     common.StateCommon.BackStyle = PaletteBackStyle.TabDock;
     common.StateCommon.BorderStyle = PaletteBorderStyle.TabDock;
     common.StateCommon.ContentStyle = PaletteContentStyle.TabDock;
     _tabDock.PopulateFromBase();
     common.StateCommon.BackStyle = PaletteBackStyle.TabDockAutoHidden;
     common.StateCommon.BorderStyle = PaletteBorderStyle.TabDockAutoHidden;
     common.StateCommon.ContentStyle = PaletteContentStyle.TabDockAutoHidden;
     _tabDockAutoHidden.PopulateFromBase();
     common.StateCommon.BackStyle = PaletteBackStyle.TabOneNote;
     common.StateCommon.BorderStyle = PaletteBorderStyle.TabOneNote;
     common.StateCommon.ContentStyle = PaletteContentStyle.TabOneNote;
     _tabOneNote.PopulateFromBase();
 }
 /// <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);
 }
 /// <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.ControlClient;
     common.StateCommon.BorderStyle = PaletteBorderStyle.ControlClient;
     _controlClient.PopulateFromBase();
     common.StateCommon.BackStyle = PaletteBackStyle.ControlAlternate;
     common.StateCommon.BorderStyle = PaletteBorderStyle.ControlAlternate;
     _controlAlternate.PopulateFromBase();
     common.StateCommon.BackStyle = PaletteBackStyle.ControlGroupBox;
     common.StateCommon.BorderStyle = PaletteBorderStyle.ControlGroupBox;
     _controlGroupBox.PopulateFromBase();
     common.StateCommon.BackStyle = PaletteBackStyle.ControlToolTip;
     common.StateCommon.BorderStyle = PaletteBorderStyle.ControlToolTip;
     _controlToolTip.PopulateFromBase();
     common.StateCommon.BackStyle = PaletteBackStyle.ControlRibbon;
     common.StateCommon.BorderStyle = PaletteBorderStyle.ControlRibbon;
     _controlRibbon.PopulateFromBase();
     common.StateCommon.BackStyle = PaletteBackStyle.ControlRibbonAppMenu;
     common.StateCommon.BorderStyle = PaletteBorderStyle.ControlRibbonAppMenu;
     _controlRibbonAppMenu.PopulateFromBase();
 }
        /// <summary>
        /// Populate values from the base palette.
        /// </summary>
        /// <param name="state">The palette state to populate with.</param>
        /// <param name="common">Reference to common settings.</param>
        /// <param name="gridStyle">Grid style to use for populating.</param>
        public override void PopulateFromBase(KryptonPaletteCommon common,
                                              PaletteState state,
                                              GridStyle gridStyle)
        {
            base.PopulateFromBase(common, state, gridStyle);

            if (gridStyle == GridStyle.List)
                common.StateCommon.BackStyle = PaletteBackStyle.GridBackgroundList;
            else
                common.StateCommon.BackStyle = PaletteBackStyle.GridBackgroundSheet;
            _background.PopulateFromBase(state);
        }
 /// <summary>
 /// Populate values from the base palette.
 /// </summary>
 /// <param name="common">Reference to common settings.</param>
 /// <param name="state">State to inherit.</param>
 public void PopulateFromBase(KryptonPaletteCommon common,
                              PaletteState state)
 {
     common.StateCommon.BackStyle = PaletteBackStyle.ContextMenuItemHighlight;
     common.StateCommon.BorderStyle = PaletteBorderStyle.ContextMenuItemHighlight;
     _paletteItemHighlight.PopulateFromBase(state);
     common.StateCommon.BackStyle = PaletteBackStyle.ContextMenuItemImage;
     common.StateCommon.BorderStyle = PaletteBorderStyle.ContextMenuItemImage;
     common.StateCommon.ContentStyle = PaletteContentStyle.ContextMenuItemImage;
     _paletteItemImage.PopulateFromBase(state);
     common.StateCommon.ContentStyle = PaletteContentStyle.ContextMenuItemShortcutText;
     _paletteItemShortcutText.PopulateFromBase(state);
     common.StateCommon.BackStyle = PaletteBackStyle.ContextMenuSeparator;
     common.StateCommon.BorderStyle = PaletteBorderStyle.ContextMenuSeparator;
     _paletteItemSplit.PopulateFromBase(state);
     common.StateCommon.ContentStyle = PaletteContentStyle.ContextMenuItemTextStandard;
     _paletteItemTextStandard.PopulateFromBase(state);
     common.StateCommon.ContentStyle = PaletteContentStyle.ContextMenuItemTextAlternate;
     _paletteItemTextAlternate.PopulateFromBase(state);
 }
 /// <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);
 }
 /// <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
     GridList.PopulateFromBase(common, GridStyle.List);
     GridSheet.PopulateFromBase(common, GridStyle.Sheet);
 }
 /// <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.ButtonStandalone;
     common.StateCommon.BorderStyle  = PaletteBorderStyle.ButtonStandalone;
     common.StateCommon.ContentStyle = PaletteContentStyle.ButtonStandalone;
     ButtonStandalone.PopulateFromBase();
     common.StateCommon.BackStyle    = PaletteBackStyle.ButtonAlternate;
     common.StateCommon.BorderStyle  = PaletteBorderStyle.ButtonAlternate;
     common.StateCommon.ContentStyle = PaletteContentStyle.ButtonAlternate;
     ButtonAlternate.PopulateFromBase();
     common.StateCommon.BackStyle    = PaletteBackStyle.ButtonLowProfile;
     common.StateCommon.BorderStyle  = PaletteBorderStyle.ButtonLowProfile;
     common.StateCommon.ContentStyle = PaletteContentStyle.ButtonLowProfile;
     ButtonLowProfile.PopulateFromBase();
     common.StateCommon.BackStyle    = PaletteBackStyle.ButtonButtonSpec;
     common.StateCommon.BorderStyle  = PaletteBorderStyle.ButtonButtonSpec;
     common.StateCommon.ContentStyle = PaletteContentStyle.ButtonButtonSpec;
     ButtonButtonSpec.PopulateFromBase();
     common.StateCommon.BackStyle    = PaletteBackStyle.ButtonBreadCrumb;
     common.StateCommon.BorderStyle  = PaletteBorderStyle.ButtonBreadCrumb;
     common.StateCommon.ContentStyle = PaletteContentStyle.ButtonBreadCrumb;
     ButtonBreadCrumb.PopulateFromBase();
     common.StateCommon.BackStyle    = PaletteBackStyle.ButtonCalendarDay;
     common.StateCommon.BorderStyle  = PaletteBorderStyle.ButtonCalendarDay;
     common.StateCommon.ContentStyle = PaletteContentStyle.ButtonCalendarDay;
     ButtonCalendarDay.PopulateFromBase();
     common.StateCommon.BackStyle    = PaletteBackStyle.ButtonNavigatorStack;
     common.StateCommon.BorderStyle  = PaletteBorderStyle.ButtonNavigatorStack;
     common.StateCommon.ContentStyle = PaletteContentStyle.ButtonNavigatorStack;
     ButtonNavigatorStack.PopulateFromBase();
     common.StateCommon.BackStyle    = PaletteBackStyle.ButtonNavigatorOverflow;
     common.StateCommon.BorderStyle  = PaletteBorderStyle.ButtonNavigatorOverflow;
     common.StateCommon.ContentStyle = PaletteContentStyle.ButtonNavigatorOverflow;
     ButtonNavigatorOverflow.PopulateFromBase();
     common.StateCommon.BackStyle    = PaletteBackStyle.ButtonNavigatorMini;
     common.StateCommon.BorderStyle  = PaletteBorderStyle.ButtonNavigatorMini;
     common.StateCommon.ContentStyle = PaletteContentStyle.ButtonNavigatorMini;
     ButtonNavigatorMini.PopulateFromBase();
     common.StateCommon.BackStyle    = PaletteBackStyle.ButtonInputControl;
     common.StateCommon.BorderStyle  = PaletteBorderStyle.ButtonInputControl;
     common.StateCommon.ContentStyle = PaletteContentStyle.ButtonInputControl;
     ButtonInputControl.PopulateFromBase();
     common.StateCommon.BackStyle    = PaletteBackStyle.ButtonListItem;
     common.StateCommon.BorderStyle  = PaletteBorderStyle.ButtonListItem;
     common.StateCommon.ContentStyle = PaletteContentStyle.ButtonListItem;
     ButtonListItem.PopulateFromBase();
     common.StateCommon.BackStyle    = PaletteBackStyle.ButtonForm;
     common.StateCommon.BorderStyle  = PaletteBorderStyle.ButtonForm;
     common.StateCommon.ContentStyle = PaletteContentStyle.ButtonForm;
     ButtonForm.PopulateFromBase();
     common.StateCommon.BackStyle    = PaletteBackStyle.ButtonFormClose;
     common.StateCommon.BorderStyle  = PaletteBorderStyle.ButtonFormClose;
     common.StateCommon.ContentStyle = PaletteContentStyle.ButtonFormClose;
     ButtonFormClose.PopulateFromBase();
     common.StateCommon.BackStyle    = PaletteBackStyle.ButtonCommand;
     common.StateCommon.BorderStyle  = PaletteBorderStyle.ButtonCommand;
     common.StateCommon.ContentStyle = PaletteContentStyle.ButtonCommand;
     ButtonCommand.PopulateFromBase();
     common.StateCommon.BackStyle    = PaletteBackStyle.ButtonCluster;
     common.StateCommon.BorderStyle  = PaletteBorderStyle.ButtonCluster;
     common.StateCommon.ContentStyle = PaletteContentStyle.ButtonCluster;
     ButtonCluster.PopulateFromBase();
     common.StateCommon.BackStyle    = PaletteBackStyle.ButtonGallery;
     common.StateCommon.BorderStyle  = PaletteBorderStyle.ButtonGallery;
     common.StateCommon.ContentStyle = PaletteContentStyle.ButtonGallery;
     ButtonGallery.PopulateFromBase();
 }
 /// <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.PanelClient;
     _panelClient.PopulateFromBase();
     common.StateCommon.BackStyle = PaletteBackStyle.PanelAlternate;
     _panelAlternate.PopulateFromBase();
     common.StateCommon.BackStyle = PaletteBackStyle.PanelRibbonInactive;
     _panelRibbonInactive.PopulateFromBase();
 }
 /// <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
     _stateCommon.PopulateFromBase(common, PaletteState.Normal);
     _stateDisabled.PopulateFromBase(common, PaletteState.Disabled);
     _stateNormal.PopulateFromBase(common, PaletteState.Normal);
     _stateHighlight.PopulateFromBase(common, PaletteState.Tracking);
     _stateChecked.PopulateFromBase(common, PaletteState.CheckedNormal);
 }
        /// <summary>
        /// Populate values from the base palette.
        /// </summary>
        /// <param name="state">The palette state to populate with.</param>
        /// <param name="common">Reference to common settings.</param>
        /// <param name="gridStyle">Grid style to use for populating.</param>
        public virtual void PopulateFromBase(KryptonPaletteCommon common,
                                             PaletteState state,
                                             GridStyle gridStyle)
        {
            if (gridStyle == GridStyle.List)
                common.StateCommon.SetStyles(PaletteBackStyle.GridDataCellList, PaletteBorderStyle.GridDataCellList, PaletteContentStyle.GridDataCellList);
            else
                common.StateCommon.SetStyles(PaletteBackStyle.GridDataCellSheet, PaletteBorderStyle.GridDataCellSheet, PaletteContentStyle.GridDataCellSheet);
            _dataCell.PopulateFromBase(state);

            if (gridStyle == GridStyle.List)
                common.StateCommon.SetStyles(PaletteBackStyle.GridHeaderColumnList, PaletteBorderStyle.GridHeaderColumnList, PaletteContentStyle.GridHeaderColumnList);
            else
                common.StateCommon.SetStyles(PaletteBackStyle.GridHeaderColumnSheet, PaletteBorderStyle.GridHeaderColumnSheet, PaletteContentStyle.GridHeaderColumnSheet);
            _headerColumn.PopulateFromBase(state);

            if (gridStyle == GridStyle.List)
                common.StateCommon.SetStyles(PaletteBackStyle.GridHeaderRowList, PaletteBorderStyle.GridHeaderRowList, PaletteContentStyle.GridHeaderRowList);
            else
                common.StateCommon.SetStyles(PaletteBackStyle.GridHeaderRowSheet, PaletteBorderStyle.GridHeaderRowSheet, PaletteContentStyle.GridHeaderRowSheet);
            _headerRow.PopulateFromBase(state);
        }
 /// <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
     _gridList.PopulateFromBase(common, GridStyle.List);
     _gridSheet.PopulateFromBase(common, GridStyle.Sheet);
 }
 /// <summary>
 /// Populate values from the base palette.
 /// </summary>
 /// <param name="common">Reference to common settings.</param>
 /// <param name="state">State to inherit.</param>
 public void PopulateFromBase(KryptonPaletteCommon common,
                              PaletteState state)
 {
     common.StateCommon.BackStyle = PaletteBackStyle.ContextMenuInner;
     common.StateCommon.BorderStyle = PaletteBorderStyle.ContextMenuInner;
     _paletteControlInner.PopulateFromBase(state);
     common.StateCommon.BackStyle = PaletteBackStyle.ContextMenuOuter;
     common.StateCommon.BorderStyle = PaletteBorderStyle.ContextMenuOuter;
     _paletteControlOuter.PopulateFromBase(state);
     common.StateCommon.BackStyle = PaletteBackStyle.ContextMenuHeading;
     common.StateCommon.BorderStyle = PaletteBorderStyle.ContextMenuHeading;
     common.StateCommon.ContentStyle = PaletteContentStyle.ContextMenuHeading;
     _paletteHeading.PopulateFromBase(state);
     common.StateCommon.BackStyle = PaletteBackStyle.ContextMenuItemImageColumn;
     common.StateCommon.BorderStyle = PaletteBorderStyle.ContextMenuItemImageColumn;
     _paletteItemImageColumn.PopulateFromBase(state);
     common.StateCommon.BackStyle = PaletteBackStyle.ContextMenuSeparator;
     common.StateCommon.BorderStyle = PaletteBorderStyle.ContextMenuSeparator;
     _paletteSeparator.PopulateFromBase(state);
 }
 /// <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.HeaderPrimary;
     common.StateCommon.BorderStyle = PaletteBorderStyle.HeaderPrimary;
     common.StateCommon.ContentStyle = PaletteContentStyle.HeaderPrimary;
     _headerPrimary.PopulateFromBase();
     common.StateCommon.BackStyle = PaletteBackStyle.HeaderSecondary;
     common.StateCommon.BorderStyle = PaletteBorderStyle.HeaderSecondary;
     common.StateCommon.ContentStyle = PaletteContentStyle.HeaderSecondary;
     _headerSecondary.PopulateFromBase();
     common.StateCommon.BackStyle = PaletteBackStyle.HeaderDockInactive;
     common.StateCommon.BorderStyle = PaletteBorderStyle.HeaderDockInactive;
     common.StateCommon.ContentStyle = PaletteContentStyle.HeaderDockInactive;
     _headerDockInactive.PopulateFromBase();
     common.StateCommon.BackStyle = PaletteBackStyle.HeaderDockActive;
     common.StateCommon.BorderStyle = PaletteBorderStyle.HeaderDockActive;
     common.StateCommon.ContentStyle = PaletteContentStyle.HeaderDockActive;
     _headerDockActive.PopulateFromBase();
     common.StateCommon.BackStyle = PaletteBackStyle.HeaderCalendar;
     common.StateCommon.BorderStyle = PaletteBorderStyle.HeaderCalendar;
     common.StateCommon.ContentStyle = PaletteContentStyle.HeaderCalendar;
     _headerCalendar.PopulateFromBase();
     common.StateCommon.BackStyle = PaletteBackStyle.HeaderForm;
     common.StateCommon.BorderStyle = PaletteBorderStyle.HeaderForm;
     common.StateCommon.ContentStyle = PaletteContentStyle.HeaderForm;
     _headerForm.PopulateFromBase();
 }
 /// <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.ButtonStandalone;
     common.StateCommon.BorderStyle = PaletteBorderStyle.ButtonStandalone;
     common.StateCommon.ContentStyle = PaletteContentStyle.ButtonStandalone;
     _buttonStandalone.PopulateFromBase();
     common.StateCommon.BackStyle = PaletteBackStyle.ButtonAlternate;
     common.StateCommon.BorderStyle = PaletteBorderStyle.ButtonAlternate;
     common.StateCommon.ContentStyle = PaletteContentStyle.ButtonAlternate;
     _buttonAlternate.PopulateFromBase();
     common.StateCommon.BackStyle = PaletteBackStyle.ButtonLowProfile;
     common.StateCommon.BorderStyle = PaletteBorderStyle.ButtonLowProfile;
     common.StateCommon.ContentStyle = PaletteContentStyle.ButtonLowProfile;
     _buttonLowProfile.PopulateFromBase();
     common.StateCommon.BackStyle = PaletteBackStyle.ButtonButtonSpec;
     common.StateCommon.BorderStyle = PaletteBorderStyle.ButtonButtonSpec;
     common.StateCommon.ContentStyle = PaletteContentStyle.ButtonButtonSpec;
     _buttonButtonSpec.PopulateFromBase();
     common.StateCommon.BackStyle = PaletteBackStyle.ButtonBreadCrumb;
     common.StateCommon.BorderStyle = PaletteBorderStyle.ButtonBreadCrumb;
     common.StateCommon.ContentStyle = PaletteContentStyle.ButtonBreadCrumb;
     _buttonBreadCrumb.PopulateFromBase();
     common.StateCommon.BackStyle = PaletteBackStyle.ButtonCalendarDay;
     common.StateCommon.BorderStyle = PaletteBorderStyle.ButtonCalendarDay;
     common.StateCommon.ContentStyle = PaletteContentStyle.ButtonCalendarDay;
     _buttonCalendarDay.PopulateFromBase();
     common.StateCommon.BackStyle = PaletteBackStyle.ButtonNavigatorStack;
     common.StateCommon.BorderStyle = PaletteBorderStyle.ButtonNavigatorStack;
     common.StateCommon.ContentStyle = PaletteContentStyle.ButtonNavigatorStack;
     _buttonNavigatorStack.PopulateFromBase();
     common.StateCommon.BackStyle = PaletteBackStyle.ButtonNavigatorOverflow;
     common.StateCommon.BorderStyle = PaletteBorderStyle.ButtonNavigatorOverflow;
     common.StateCommon.ContentStyle = PaletteContentStyle.ButtonNavigatorOverflow;
     _buttonNavigatorOverflow.PopulateFromBase();
     common.StateCommon.BackStyle = PaletteBackStyle.ButtonNavigatorMini;
     common.StateCommon.BorderStyle = PaletteBorderStyle.ButtonNavigatorMini;
     common.StateCommon.ContentStyle = PaletteContentStyle.ButtonNavigatorMini;
     _buttonNavigatorMini.PopulateFromBase();
     common.StateCommon.BackStyle = PaletteBackStyle.ButtonInputControl;
     common.StateCommon.BorderStyle = PaletteBorderStyle.ButtonInputControl;
     common.StateCommon.ContentStyle = PaletteContentStyle.ButtonInputControl;
     _buttonInputControl.PopulateFromBase();
     common.StateCommon.BackStyle = PaletteBackStyle.ButtonListItem;
     common.StateCommon.BorderStyle = PaletteBorderStyle.ButtonListItem;
     common.StateCommon.ContentStyle = PaletteContentStyle.ButtonListItem;
     _buttonListItem.PopulateFromBase();
     common.StateCommon.BackStyle = PaletteBackStyle.ButtonForm;
     common.StateCommon.BorderStyle = PaletteBorderStyle.ButtonForm;
     common.StateCommon.ContentStyle = PaletteContentStyle.ButtonForm;
     _buttonForm.PopulateFromBase();
     common.StateCommon.BackStyle = PaletteBackStyle.ButtonFormClose;
     common.StateCommon.BorderStyle = PaletteBorderStyle.ButtonFormClose;
     common.StateCommon.ContentStyle = PaletteContentStyle.ButtonFormClose;
     _buttonFormClose.PopulateFromBase();
     common.StateCommon.BackStyle = PaletteBackStyle.ButtonCommand;
     common.StateCommon.BorderStyle = PaletteBorderStyle.ButtonCommand;
     common.StateCommon.ContentStyle = PaletteContentStyle.ButtonCommand;
     _buttonCommand.PopulateFromBase();
     common.StateCommon.BackStyle = PaletteBackStyle.ButtonCluster;
     common.StateCommon.BorderStyle = PaletteBorderStyle.ButtonCluster;
     common.StateCommon.ContentStyle = PaletteContentStyle.ButtonCluster;
     _buttonCluster.PopulateFromBase();
     common.StateCommon.BackStyle = PaletteBackStyle.ButtonGallery;
     common.StateCommon.BorderStyle = PaletteBorderStyle.ButtonGallery;
     common.StateCommon.ContentStyle = PaletteContentStyle.ButtonGallery;
     _buttonGallery.PopulateFromBase();
 }
 /// <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.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();
 }
 /// <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.ContentStyle = PaletteContentStyle.LabelNormalControl;
     _labelNormalControl.PopulateFromBase();
     common.StateCommon.ContentStyle = PaletteContentStyle.LabelBoldControl;
     _labelNormalControl.PopulateFromBase();
     common.StateCommon.ContentStyle = PaletteContentStyle.LabelItalicControl;
     _labelNormalControl.PopulateFromBase();
     common.StateCommon.ContentStyle = PaletteContentStyle.LabelTitleControl;
     _labelTitleControl.PopulateFromBase();
     common.StateCommon.ContentStyle = PaletteContentStyle.LabelNormalPanel;
     _labelNormalPanel.PopulateFromBase();
     common.StateCommon.ContentStyle = PaletteContentStyle.LabelBoldPanel;
     _labelNormalPanel.PopulateFromBase();
     common.StateCommon.ContentStyle = PaletteContentStyle.LabelItalicPanel;
     _labelNormalPanel.PopulateFromBase();
     common.StateCommon.ContentStyle = PaletteContentStyle.LabelTitlePanel;
     _labelTitlePanel.PopulateFromBase();
     common.StateCommon.ContentStyle = PaletteContentStyle.LabelGroupBoxCaption;
     _labelCaptionPanel.PopulateFromBase();
     common.StateCommon.ContentStyle = PaletteContentStyle.LabelToolTip;
     _labelToolTip.PopulateFromBase();
     common.StateCommon.ContentStyle = PaletteContentStyle.LabelSuperTip;
     _labelSuperTip.PopulateFromBase();
     common.StateCommon.ContentStyle = PaletteContentStyle.LabelKeyTip;
     _labelKeyTip.PopulateFromBase();
 }
 /// <summary>
 /// Populate values from the base palette.
 /// </summary>
 /// <param name="common">Reference to common settings.</param>
 /// <param name="state">State to inherit.</param>
 public void PopulateFromBase(KryptonPaletteCommon common,
                              PaletteState state)
 {
     common.StateCommon.BackStyle = PaletteBackStyle.ContextMenuItemImage;
     common.StateCommon.BorderStyle = PaletteBorderStyle.ContextMenuItemImage;
     common.StateCommon.ContentStyle = PaletteContentStyle.ContextMenuItemImage;
     _paletteItemImage.PopulateFromBase(state);
 }
Example #35
0
 /// <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.FormMain;
     common.StateCommon.BorderStyle = PaletteBorderStyle.FormMain;
     _formMain.PopulateFromBase();
 }
 /// <summary>
 /// Populate values from the base palette.
 /// </summary>
 /// <param name="common">Reference to common settings.</param>
 /// <param name="state">State to inherit.</param>
 public void PopulateFromBase(KryptonPaletteCommon common,
                              PaletteState state)
 {
     common.StateCommon.BackStyle = PaletteBackStyle.ContextMenuItemHighlight;
     common.StateCommon.BorderStyle = PaletteBorderStyle.ContextMenuItemHighlight;
     _paletteItemHighlight.PopulateFromBase(state);
     common.StateCommon.BackStyle = PaletteBackStyle.ContextMenuSeparator;
     common.StateCommon.BorderStyle = PaletteBorderStyle.ContextMenuSeparator;
     _paletteItemSplit.PopulateFromBase(state);
 }