C# Class ComponentFactory.Krypton.Toolkit.KryptonContextMenuCheckBox

Inheritance: KryptonContextMenuItemBase
Afficher le fichier Open project: ComponentFactory/Krypton Class Usage Examples

Private Properties

Свойство Type Description
SetCheckBoxStyle void
SetPaletteRedirect void
ShouldSerializeImageTransparentColor bool
ShouldSerializeImages bool
ShouldSerializeOverrideFocus bool
ShouldSerializeStateCommon bool
ShouldSerializeStateDisabled bool
ShouldSerializeStateNormal bool
this KryptonContextMenuItemBase

Méthodes publiques

Méthode Description
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.

KryptonContextMenuCheckBox ( ) : System

Initialize a new instance of the KryptonContextMenuCheckBox class.

KryptonContextMenuCheckBox ( string initialText ) : System

Initialize a new instance of the KryptonContextMenuCheckBox 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.

Méthodes protégées

Méthode Description
OnCheckStateChanged ( EventArgs e ) : void

Raises the CheckStateChanged event.

OnCheckedChanged ( EventArgs e ) : void

Raises the CheckedChanged event.

OnClick ( EventArgs e ) : void

Raises the Click event.

Private Methods

Méthode Description
SetCheckBoxStyle ( LabelStyle style ) : void
SetPaletteRedirect ( PaletteRedirect redirector ) : void
ShouldSerializeImageTransparentColor ( ) : bool
ShouldSerializeImages ( ) : bool
ShouldSerializeOverrideFocus ( ) : bool
ShouldSerializeStateCommon ( ) : bool
ShouldSerializeStateDisabled ( ) : bool
ShouldSerializeStateNormal ( ) : bool
this ( int index ) : KryptonContextMenuItemBase

Method Details

GenerateView() public méthode

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.
Résultat ViewBase

KryptonContextMenuCheckBox() public méthode

Initialize a new instance of the KryptonContextMenuCheckBox class.
public KryptonContextMenuCheckBox ( ) : System
Résultat System

KryptonContextMenuCheckBox() public méthode

Initialize a new instance of the KryptonContextMenuCheckBox class.
public KryptonContextMenuCheckBox ( string initialText ) : System
initialText string Initial text for display.
Résultat System

OnCheckStateChanged() protected méthode

Raises the CheckStateChanged event.
protected OnCheckStateChanged ( EventArgs e ) : void
e System.EventArgs An EventArgs containing the event data.
Résultat void

OnCheckedChanged() protected méthode

Raises the CheckedChanged event.
protected OnCheckedChanged ( EventArgs e ) : void
e System.EventArgs An EventArgs containing the event data.
Résultat void

OnClick() protected méthode

Raises the Click event.
protected OnClick ( EventArgs e ) : void
e System.EventArgs An EventArgs that contains the event data.
Résultat void

PerformClick() public méthode

Generates a Click event for the component.
public PerformClick ( ) : void
Résultat void

ProcessShortcut() public méthode

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.
Résultat bool

ToString() public méthode

Returns a description of the instance.
public ToString ( ) : string
Résultat string