C# Класс ComponentFactory.Krypton.Toolkit.PaletteContextMenuItemState

Storage for KryptonContextMenuItem state values.
Наследование: Storage
Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание
ShouldSerializeItemHighlight bool
ShouldSerializeItemImage bool
ShouldSerializeItemShortcutText bool
ShouldSerializeItemSplit bool
ShouldSerializeItemTextAlternate bool
ShouldSerializeItemTextStandard bool

Открытые методы

Метод Описание
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.

Приватные методы

Метод Описание
ShouldSerializeItemHighlight ( ) : bool
ShouldSerializeItemImage ( ) : bool
ShouldSerializeItemShortcutText ( ) : bool
ShouldSerializeItemSplit ( ) : bool
ShouldSerializeItemTextAlternate ( ) : bool
ShouldSerializeItemTextStandard ( ) : bool

Описание методов

PaletteContextMenuItemState() публичный Метод

Initialize a new instance of the PaletteContextMenuItemState class.
public PaletteContextMenuItemState ( PaletteContextMenuItemStateRedirect redirect ) : System
redirect PaletteContextMenuItemStateRedirect Redirector for inheriting values.
Результат System

PaletteContextMenuItemState() публичный Метод

Initialize a new instance of the PaletteContextMenuItemState class.
public PaletteContextMenuItemState ( PaletteContextMenuRedirect redirect ) : System
redirect PaletteContextMenuRedirect Redirector for inheriting values.
Результат System

PaletteContextMenuItemState() публичный Метод

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.
Результат System

PopulateFromBase() публичный Метод

Populate values from the base palette.
public PopulateFromBase ( KryptonPaletteCommon common, PaletteState state ) : void
common KryptonPaletteCommon Reference to common settings.
state PaletteState State to inherit.
Результат void