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

Наследование: KryptonContextMenuItemBase
Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание
SetCheckButtonStyle void
SetPaletteRedirect void
ShouldSerializeImageTransparentColor bool
ShouldSerializeOverrideFocus bool
ShouldSerializeStateCheckedNormal bool
ShouldSerializeStateCheckedPressed bool
ShouldSerializeStateCheckedTracking bool
ShouldSerializeStateCommon bool
ShouldSerializeStateDisabled bool
ShouldSerializeStateNormal bool
ShouldSerializeStatePressed bool
ShouldSerializeStateTracking bool
this KryptonContextMenuItemBase

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

Метод Описание
GenerateView ( IContextMenuProvider provider, object parent, ViewLayoutStack columns, bool standardStyle, bool imageColumn ) : ViewBase

Returns a view appropriate for this item based on the object it is inside.

KryptonContextMenuCheckButton ( ) : System

Initialize a new instance of the KryptonContextMenuCheckButton class.

KryptonContextMenuCheckButton ( string initialText ) : System

Initialize a new instance of the KryptonContextMenuCheckButton class.

PerformClick ( ) : void

Generates a Click event for the component.

ProcessShortcut ( Keys keyData ) : bool

Test for the provided shortcut and perform relevant action if a match is found.

ToString ( ) : string

Returns a description of the instance.

Защищенные методы

Метод Описание
OnCheckedChanged ( EventArgs e ) : void

Raises the CheckedChanged event.

OnClick ( EventArgs e ) : void

Raises the Click event.

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

Метод Описание
SetCheckButtonStyle ( ButtonStyle style ) : void
SetPaletteRedirect ( PaletteRedirect redirector ) : void
ShouldSerializeImageTransparentColor ( ) : bool
ShouldSerializeOverrideFocus ( ) : bool
ShouldSerializeStateCheckedNormal ( ) : bool
ShouldSerializeStateCheckedPressed ( ) : bool
ShouldSerializeStateCheckedTracking ( ) : bool
ShouldSerializeStateCommon ( ) : bool
ShouldSerializeStateDisabled ( ) : bool
ShouldSerializeStateNormal ( ) : bool
ShouldSerializeStatePressed ( ) : bool
ShouldSerializeStateTracking ( ) : bool
this ( int index ) : KryptonContextMenuItemBase

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

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

Returns a view appropriate for this item based on the object it is inside.
public GenerateView ( IContextMenuProvider provider, object parent, ViewLayoutStack columns, bool standardStyle, bool imageColumn ) : ViewBase
provider IContextMenuProvider Provider of context menu information.
parent object Owning object reference.
columns ViewLayoutStack Containing columns.
standardStyle bool Draw items with standard or alternate style.
imageColumn bool Draw an image background for the item images.
Результат ViewBase

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

Initialize a new instance of the KryptonContextMenuCheckButton class.
public KryptonContextMenuCheckButton ( ) : System
Результат System

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

Initialize a new instance of the KryptonContextMenuCheckButton class.
public KryptonContextMenuCheckButton ( string initialText ) : System
initialText string Initial text for display.
Результат System

OnCheckedChanged() защищенный Метод

Raises the CheckedChanged event.
protected OnCheckedChanged ( EventArgs e ) : void
e System.EventArgs An EventArgs containing the event data.
Результат void

OnClick() защищенный Метод

Raises the Click event.
protected OnClick ( EventArgs e ) : void
e System.EventArgs An EventArgs that contains the event data.
Результат void

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

Generates a Click event for the component.
public PerformClick ( ) : void
Результат void

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

Test for the provided shortcut and perform relevant action if a match is found.
public ProcessShortcut ( Keys keyData ) : bool
keyData Keys Key data to check against shorcut definitions.
Результат bool

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

Returns a description of the instance.
public ToString ( ) : string
Результат string