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

Base class that all menu types must derive from and implement.
상속: System.ComponentModel.Component, INotifyPropertyChanged
파일 보기 프로젝트 열기: Cocotteseb/Krypton 1 사용 예제들

Private Properties

프로퍼티 타입 설명
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.

KryptonContextMenuItemBase ( ) : System

Initialize a new instance of the KryptonContextMenuItem class.

ProcessShortcut ( Keys keyData ) : bool

Test for the provided shortcut and perform relevant action if a match is found.

보호된 메소드들

메소드 설명
OnPropertyChanged ( PropertyChangedEventArgs e ) : void

Raises the PropertyChanged event.

비공개 메소드들

메소드 설명
this ( int index ) : KryptonContextMenuItemBase

메소드 상세

GenerateView() 공개 추상적인 메소드

Returns a view appropriate for this item based on the object it is inside.
public abstract 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

KryptonContextMenuItemBase() 공개 메소드

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

OnPropertyChanged() 보호된 메소드

Raises the PropertyChanged event.
protected OnPropertyChanged ( PropertyChangedEventArgs e ) : void
e System.ComponentModel.PropertyChangedEventArgs A PropertyChangedEventArgs containing the event data.
리턴 void

ProcessShortcut() 공개 추상적인 메소드

Test for the provided shortcut and perform relevant action if a match is found.
public abstract ProcessShortcut ( Keys keyData ) : bool
keyData Keys Key data to check against shorcut definitions.
리턴 bool