C# Class ComponentFactory.Krypton.Toolkit.KryptonContextMenuSeparator

Inheritance: KryptonContextMenuItemBase
显示文件 Open project: ComponentFactory/Krypton Class Usage Examples

Private Properties

Property Type Description
SetPaletteRedirect void
ShouldSerializeStateNormal bool
this KryptonContextMenuItemBase

Public Methods

Method 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.

KryptonContextMenuSeparator ( ) : System

Initialize a new instance of the KryptonContextMenuSeparator class.

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.

Private Methods

Method Description
SetPaletteRedirect ( PaletteDoubleRedirect redirector ) : void
ShouldSerializeStateNormal ( ) : bool
this ( int index ) : KryptonContextMenuItemBase

Method Details

GenerateView() public method

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.
return ViewBase

KryptonContextMenuSeparator() public method

Initialize a new instance of the KryptonContextMenuSeparator class.
public KryptonContextMenuSeparator ( ) : System
return System

ProcessShortcut() public method

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.
return bool

ToString() public method

Returns a description of the instance.
public ToString ( ) : string
return string