C# 클래스 ComponentFactory.Krypton.Toolkit.KryptonContextMenuItem

상속: KryptonContextMenuItemBase
파일 보기 프로젝트 열기: ComponentFactory/Krypton 1 사용 예제들

Private Properties

프로퍼티 타입 설명
SetPaletteRedirect void
ShouldSerializeImageTransparentColor bool
ShouldSerializeStateChecked bool
ShouldSerializeStateDisabled bool
ShouldSerializeStateHighlight bool
ShouldSerializeStateNormal 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.

KryptonContextMenuItem ( ) : System

Initialize a new instance of the KryptonContextMenuItem class.

KryptonContextMenuItem ( string initialText ) : System

Initialize a new instance of the KryptonContextMenuItem class.

KryptonContextMenuItem ( string initialText, EventHandler clickHandler ) : System

Initialize a new instance of the KryptonContextMenuItem class.

KryptonContextMenuItem ( string initialText, EventHandler clickHandler, Keys shortcut ) : System

Initialize a new instance of the KryptonContextMenuItem class.

KryptonContextMenuItem ( string initialText, Image initialImage, EventHandler clickHandler ) : System

Initialize a new instance of the KryptonContextMenuItem class.

KryptonContextMenuItem ( string initialText, Image initialImage, EventHandler clickHandler, Keys shortcut ) : System

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

보호된 메소드들

메소드 설명
OnCheckStateChanged ( EventArgs e ) : void

Raises the CheckStateChanged event.

OnCheckedChanged ( EventArgs e ) : void

Raises the CheckedChanged event.

OnClick ( EventArgs e ) : void

Raises the Click event.

비공개 메소드들

메소드 설명
SetPaletteRedirect ( IContextMenuProvider provider ) : void
ShouldSerializeImageTransparentColor ( ) : bool
ShouldSerializeStateChecked ( ) : bool
ShouldSerializeStateDisabled ( ) : bool
ShouldSerializeStateHighlight ( ) : bool
ShouldSerializeStateNormal ( ) : 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

KryptonContextMenuItem() 공개 메소드

Initialize a new instance of the KryptonContextMenuItem class.
public KryptonContextMenuItem ( ) : System
리턴 System

KryptonContextMenuItem() 공개 메소드

Initialize a new instance of the KryptonContextMenuItem class.
public KryptonContextMenuItem ( string initialText ) : System
initialText string Initial text string.
리턴 System

KryptonContextMenuItem() 공개 메소드

Initialize a new instance of the KryptonContextMenuItem class.
public KryptonContextMenuItem ( string initialText, EventHandler clickHandler ) : System
initialText string Initial text string.
clickHandler EventHandler Click handler.
리턴 System

KryptonContextMenuItem() 공개 메소드

Initialize a new instance of the KryptonContextMenuItem class.
public KryptonContextMenuItem ( string initialText, EventHandler clickHandler, Keys shortcut ) : System
initialText string Initial text string.
clickHandler EventHandler Click handler.
shortcut Keys Shortcut key combination.
리턴 System

KryptonContextMenuItem() 공개 메소드

Initialize a new instance of the KryptonContextMenuItem class.
public KryptonContextMenuItem ( string initialText, Image initialImage, EventHandler clickHandler ) : System
initialText string Initial text string.
initialImage Image Initial image.
clickHandler EventHandler Click handler.
리턴 System

KryptonContextMenuItem() 공개 메소드

Initialize a new instance of the KryptonContextMenuItem class.
public KryptonContextMenuItem ( string initialText, Image initialImage, EventHandler clickHandler, Keys shortcut ) : System
initialText string Initial text string.
initialImage Image Initial image.
clickHandler EventHandler Click handler.
shortcut Keys Shortcut key combination.
리턴 System

OnCheckStateChanged() 보호된 메소드

Raises the CheckStateChanged event.
protected OnCheckStateChanged ( EventArgs e ) : void
e System.EventArgs An EventArgs that contains the event data.
리턴 void

OnCheckedChanged() 보호된 메소드

Raises the CheckedChanged event.
protected OnCheckedChanged ( EventArgs e ) : void
e System.EventArgs An EventArgs that contains 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