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

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

Private Properties

프로퍼티 타입 설명
SetColorScheme void
this KryptonContextMenuItemBase

공개 메소드들

메소드 설명
ContainsColor ( Color color ) : bool

Does the provided color exist in the definition.

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.

KryptonContextMenuColorColumns ( ) : System

Initialize a new instance of the KryptonContextMenuColorColumns class.

KryptonContextMenuColorColumns ( ColorScheme scheme ) : System

Initialize a new instance of the KryptonContextMenuColorColumns class.

ProcessShortcut ( Keys keyData ) : bool

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

SetCustomColors ( Color colors ) : void

Define a custom set of colors for display.

ToString ( ) : string

Returns a description of the instance.

보호된 메소드들

메소드 설명
OnSelectedColorChanged ( ColorEventArgs e ) : void

Raises the SelectedColorChanged event.

OnTrackingColor ( ColorEventArgs e ) : void

Raises the TrackingColor event.

비공개 메소드들

메소드 설명
SetColorScheme ( ColorScheme scheme ) : void
this ( int index ) : KryptonContextMenuItemBase

메소드 상세

ContainsColor() 공개 메소드

Does the provided color exist in the definition.
public ContainsColor ( Color color ) : bool
color Color Color to find.
리턴 bool

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

KryptonContextMenuColorColumns() 공개 메소드

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

KryptonContextMenuColorColumns() 공개 메소드

Initialize a new instance of the KryptonContextMenuColorColumns class.
public KryptonContextMenuColorColumns ( ColorScheme scheme ) : System
scheme ColorScheme Required color scheme of colors.
리턴 System

OnSelectedColorChanged() 보호된 메소드

Raises the SelectedColorChanged event.
protected OnSelectedColorChanged ( ColorEventArgs e ) : void
e ColorEventArgs An ColorEventArgs that contains the event data.
리턴 void

OnTrackingColor() 보호된 메소드

Raises the TrackingColor event.
protected OnTrackingColor ( ColorEventArgs e ) : void
e ColorEventArgs An ColorEventArgs that contains the event data.
리턴 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

SetCustomColors() 공개 메소드

Define a custom set of colors for display.
public SetCustomColors ( Color colors ) : void
colors Color An array of color arrays, each of which must be the same length.
리턴 void

ToString() 공개 메소드

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