C# Class ComponentFactory.Krypton.Toolkit.KryptonContextMenuColorColumns

Inheritance: KryptonContextMenuItemBase
Afficher le fichier Open project: ComponentFactory/Krypton Class Usage Examples

Private Properties

Свойство Type Description
SetColorScheme void
this KryptonContextMenuItemBase

Méthodes publiques

Méthode Description
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.

Méthodes protégées

Méthode Description
OnSelectedColorChanged ( ColorEventArgs e ) : void

Raises the SelectedColorChanged event.

OnTrackingColor ( ColorEventArgs e ) : void

Raises the TrackingColor event.

Private Methods

Méthode Description
SetColorScheme ( ColorScheme scheme ) : void
this ( int index ) : KryptonContextMenuItemBase

Method Details

ContainsColor() public méthode

Does the provided color exist in the definition.
public ContainsColor ( Color color ) : bool
color Color Color to find.
Résultat bool

GenerateView() public méthode

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.
Résultat ViewBase

KryptonContextMenuColorColumns() public méthode

Initialize a new instance of the KryptonContextMenuColorColumns class.
public KryptonContextMenuColorColumns ( ) : System
Résultat System

KryptonContextMenuColorColumns() public méthode

Initialize a new instance of the KryptonContextMenuColorColumns class.
public KryptonContextMenuColorColumns ( ColorScheme scheme ) : System
scheme ColorScheme Required color scheme of colors.
Résultat System

OnSelectedColorChanged() protected méthode

Raises the SelectedColorChanged event.
protected OnSelectedColorChanged ( ColorEventArgs e ) : void
e ColorEventArgs An ColorEventArgs that contains the event data.
Résultat void

OnTrackingColor() protected méthode

Raises the TrackingColor event.
protected OnTrackingColor ( ColorEventArgs e ) : void
e ColorEventArgs An ColorEventArgs that contains the event data.
Résultat void

ProcessShortcut() public méthode

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.
Résultat bool

SetCustomColors() public méthode

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.
Résultat void

ToString() public méthode

Returns a description of the instance.
public ToString ( ) : string
Résultat string