C# Class ComponentFactory.Krypton.Toolkit.PaletteContextMenuItemState

Storage for KryptonContextMenuItem state values.
Inheritance: Storage
Mostrar archivo Open project: ComponentFactory/Krypton Class Usage Examples

Private Properties

Property Type Description
ShouldSerializeItemHighlight bool
ShouldSerializeItemImage bool
ShouldSerializeItemShortcutText bool
ShouldSerializeItemSplit bool
ShouldSerializeItemTextAlternate bool
ShouldSerializeItemTextStandard bool

Public Methods

Method Description
PaletteContextMenuItemState ( PaletteContextMenuItemStateRedirect redirect ) : System

Initialize a new instance of the PaletteContextMenuItemState class.

PaletteContextMenuItemState ( PaletteContextMenuRedirect redirect ) : System

Initialize a new instance of the PaletteContextMenuItemState class.

PaletteContextMenuItemState ( PaletteDoubleMetricRedirect redirectItemHighlight, PaletteTripleJustImageRedirect redirectItemImage, PaletteContentInheritRedirect redirectItemShortcutText, PaletteDoubleRedirect redirectItemSplit, PaletteContentInheritRedirect redirectItemTextStandard, PaletteContentInheritRedirect redirectItemTextAlternate ) : System

Initialize a new instance of the PaletteContextMenuItemState class.

PopulateFromBase ( KryptonPaletteCommon common, PaletteState state ) : void

Populate values from the base palette.

Private Methods

Method Description
ShouldSerializeItemHighlight ( ) : bool
ShouldSerializeItemImage ( ) : bool
ShouldSerializeItemShortcutText ( ) : bool
ShouldSerializeItemSplit ( ) : bool
ShouldSerializeItemTextAlternate ( ) : bool
ShouldSerializeItemTextStandard ( ) : bool

Method Details

PaletteContextMenuItemState() public method

Initialize a new instance of the PaletteContextMenuItemState class.
public PaletteContextMenuItemState ( PaletteContextMenuItemStateRedirect redirect ) : System
redirect PaletteContextMenuItemStateRedirect Redirector for inheriting values.
return System

PaletteContextMenuItemState() public method

Initialize a new instance of the PaletteContextMenuItemState class.
public PaletteContextMenuItemState ( PaletteContextMenuRedirect redirect ) : System
redirect PaletteContextMenuRedirect Redirector for inheriting values.
return System

PaletteContextMenuItemState() public method

Initialize a new instance of the PaletteContextMenuItemState class.
public PaletteContextMenuItemState ( PaletteDoubleMetricRedirect redirectItemHighlight, PaletteTripleJustImageRedirect redirectItemImage, PaletteContentInheritRedirect redirectItemShortcutText, PaletteDoubleRedirect redirectItemSplit, PaletteContentInheritRedirect redirectItemTextStandard, PaletteContentInheritRedirect redirectItemTextAlternate ) : System
redirectItemHighlight PaletteDoubleMetricRedirect Redirector for ItemHighlight.
redirectItemImage PaletteTripleJustImageRedirect Redirector for ItemImage.
redirectItemShortcutText PaletteContentInheritRedirect Redirector for ItemShortcutText.
redirectItemSplit PaletteDoubleRedirect Redirector for ItemSplit.
redirectItemTextStandard PaletteContentInheritRedirect Redirector for ItemTextAlternate.
redirectItemTextAlternate PaletteContentInheritRedirect Redirector for ItemTextStandard.
return System

PopulateFromBase() public method

Populate values from the base palette.
public PopulateFromBase ( KryptonPaletteCommon common, PaletteState state ) : void
common KryptonPaletteCommon Reference to common settings.
state PaletteState State to inherit.
return void