C# 클래스 Eto.Forms.ButtonMenuItem

상속: Eto.Forms.MenuItem, ISubMenuWidget
파일 보기 프로젝트 열기: picoe/Eto 1 사용 예제들

Private Properties

프로퍼티 타입 설명

공개 메소드들

메소드 설명
ButtonMenuItem ( ) : System

Initializes a new instance of the Eto.Forms.ButtonMenuItem class.

ButtonMenuItem ( Eto.Forms.Command command ) : System

Initializes a new instance of the Eto.Forms.ButtonMenuItem class with the specified command.

ButtonMenuItem ( EventHandler click ) : System

Initializes a new instance of the Eto.Forms.ButtonMenuItem class with the specified click handler.

This is a convenience constructor to set up the click event.

보호된 메소드들

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

Raises the BindableWidget.DataContextChanged event

Implementors may override this to fire this event on child widgets in a heirarchy. This allows a control to be bound to its own BindableWidget.DataContext, which would be set on one of the parent control(s).

OnLoad ( EventArgs e ) : void

Called when the menu is assigned to a control/window

OnUnLoad ( EventArgs e ) : void

Called when the menu is removed from a control/window

메소드 상세

ButtonMenuItem() 공개 메소드

Initializes a new instance of the Eto.Forms.ButtonMenuItem class.
public ButtonMenuItem ( ) : System
리턴 System

ButtonMenuItem() 공개 메소드

Initializes a new instance of the Eto.Forms.ButtonMenuItem class with the specified command.
public ButtonMenuItem ( Eto.Forms.Command command ) : System
command Eto.Forms.Command Command to initialize the menu item with.
리턴 System

ButtonMenuItem() 공개 메소드

Initializes a new instance of the Eto.Forms.ButtonMenuItem class with the specified click handler.
This is a convenience constructor to set up the click event.
public ButtonMenuItem ( EventHandler click ) : System
click EventHandler Delegate to handle when the menu item is clicked.
리턴 System

OnDataContextChanged() 보호된 메소드

Raises the BindableWidget.DataContextChanged event
Implementors may override this to fire this event on child widgets in a heirarchy. This allows a control to be bound to its own BindableWidget.DataContext, which would be set on one of the parent control(s).
protected OnDataContextChanged ( EventArgs e ) : void
e System.EventArgs Event arguments
리턴 void

OnLoad() 보호된 메소드

Called when the menu is assigned to a control/window
protected OnLoad ( EventArgs e ) : void
e System.EventArgs Event arguments
리턴 void

OnUnLoad() 보호된 메소드

Called when the menu is removed from a control/window
protected OnUnLoad ( EventArgs e ) : void
e System.EventArgs Event arguments
리턴 void