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

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

공개 메소드들

메소드 설명
ClearSubMenu ( ) : void

Remove any showing context menu.

Close ( CloseReasonEventArgs e ) : void

Raises the Close event on the provider.

Closing ( CancelEventArgs cea ) : void

Raises the Closing event on the provider.

DisposeContextMenu ( ) : void

Request the showing context menu be disposed.

GetPreferredSize ( ViewLayoutContext context ) : Size

Discover the preferred size of the element.

Layout ( ViewLayoutContext context ) : void

Perform a layout of the elements.

PointInSubMenu ( Point pt ) : bool

Indicates whether the mouse point should show a sub menu.

ShowSubMenu ( bool keyboardActivated ) : void

Ask the menu item to show the associated child collection as a menu.

ToString ( ) : string

Obtains the String representation of this instance.

ViewDrawMenuItem ( IContextMenuProvider provider, KryptonContextMenuItem menuItem, ViewLayoutStack columns, bool standardStyle, bool imageColumn ) : System

Initialize a new instance of the ViewDrawMenuItem class.

보호된 메소드들

메소드 설명
Dispose ( bool disposing ) : void

Clean up any resources being used.

비공개 메소드들

메소드 설명
OnCommandPropertyChanged ( object sender, PropertyChangedEventArgs e ) : void
OnContextMenuDisposed ( object sender, EventArgs e ) : void
OnPropertyChanged ( object sender, PropertyChangedEventArgs e ) : void
ViewDrawMenuItem ( ) : System

메소드 상세

ClearSubMenu() 공개 메소드

Remove any showing context menu.
public ClearSubMenu ( ) : void
리턴 void

Close() 공개 메소드

Raises the Close event on the provider.
public Close ( CloseReasonEventArgs e ) : void
e CloseReasonEventArgs A CancelEventArgs containing the event data.
리턴 void

Closing() 공개 메소드

Raises the Closing event on the provider.
public Closing ( CancelEventArgs cea ) : void
cea CancelEventArgs A CancelEventArgs containing the event data.
리턴 void

Dispose() 보호된 메소드

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
리턴 void

DisposeContextMenu() 공개 메소드

Request the showing context menu be disposed.
public DisposeContextMenu ( ) : void
리턴 void

GetPreferredSize() 공개 메소드

Discover the preferred size of the element.
public GetPreferredSize ( ViewLayoutContext context ) : Size
context ViewLayoutContext Layout context.
리턴 System.Drawing.Size

Layout() 공개 메소드

Perform a layout of the elements.
public Layout ( ViewLayoutContext context ) : void
context ViewLayoutContext Layout context.
리턴 void

PointInSubMenu() 공개 메소드

Indicates whether the mouse point should show a sub menu.
public PointInSubMenu ( Point pt ) : bool
pt Point
리턴 bool

ShowSubMenu() 공개 메소드

Ask the menu item to show the associated child collection as a menu.
public ShowSubMenu ( bool keyboardActivated ) : void
keyboardActivated bool
리턴 void

ToString() 공개 메소드

Obtains the String representation of this instance.
public ToString ( ) : string
리턴 string

ViewDrawMenuItem() 공개 메소드

Initialize a new instance of the ViewDrawMenuItem class.
public ViewDrawMenuItem ( IContextMenuProvider provider, KryptonContextMenuItem menuItem, ViewLayoutStack columns, bool standardStyle, bool imageColumn ) : System
provider IContextMenuProvider Provider of context menu information.
menuItem KryptonContextMenuItem Menu item definition.
columns ViewLayoutStack Containing columns.
standardStyle bool Draw items with standard or alternate style.
imageColumn bool Draw an image background for the item images.
리턴 System