C# Class ComponentFactory.Krypton.Ribbon.KryptonRibbonGroupClusterColorButton

Inheritance: KryptonRibbonGroupItem
Afficher le fichier Open project: Cocotteseb/Krypton Class Usage Examples

Private Properties

Свойство Type Description
CreateView ViewBase
DecideOnVisible void
HookContextMenuEvents void
OnClickMoreColors void
OnClickNoColor void
OnColumnsSelectedColorChanged void
OnColumnsTrackingColor void
OnDesignTimeContextMenu void
OnKryptonContextMenuClosed void
ProcessCmdKey bool
ShouldSerializeImageSmall bool
ShouldSerializeShortcutKeys bool
UpdateContextMenu void
UpdateRecentColors void

Méthodes publiques

Méthode Description
ClearRecentColors ( ) : void

Clear the recent colors setting.

Hide ( ) : void

Make the ribbon color button hidden.

KryptonRibbonGroupClusterColorButton ( ) : System

Initialise a new instance of the KryptonRibbonGroupClusterColorButton class.

PerformClick ( ) : void

Generates a Click event for a button.

PerformClick ( EventHandler finishDelegate ) : void

Generates a Click event for a button.

PerformDropDown ( ) : void

Generates a DropDown event for a button.

PerformDropDown ( EventHandler finishDelegate ) : void

Generates a DropDown event for a button.

ResetShortcutKeys ( ) : void

Resets the ShortcutKeys property to its default value.

Show ( ) : void

Make the ribbon color button visible.

Méthodes protégées

Méthode Description
OnClick ( EventHandler finishDelegate ) : void

Raises the Click event.

OnCommandPropertyChanged ( object sender, PropertyChangedEventArgs e ) : void

Handles a change in the property of an attached command.

OnDropDown ( EventHandler finishDelegate ) : void

Raises the DropDown event.

OnMoreColors ( CancelEventArgs e ) : void

Raises the MoreColors event.

OnPropertyChanged ( string propertyName ) : void

Raises the PropertyChanged event.

OnSelectedColorChanged ( Color selectedColor ) : void

Raises the SelectedColorChanged event.

OnTrackingColor ( ColorEventArgs e ) : void

Raises the TrackingColor event.

Private Methods

Méthode Description
CreateView ( KryptonRibbon ribbon, NeedPaintHandler needPaint ) : ViewBase
DecideOnVisible ( KryptonContextMenuItemBase visible, KryptonContextMenuItemBase target ) : void
HookContextMenuEvents ( KryptonContextMenuCollection collection, bool hook ) : void
OnClickMoreColors ( object sender, EventArgs e ) : void
OnClickNoColor ( object sender, EventArgs e ) : void
OnColumnsSelectedColorChanged ( object sender, ColorEventArgs e ) : void
OnColumnsTrackingColor ( object sender, ColorEventArgs e ) : void
OnDesignTimeContextMenu ( MouseEventArgs e ) : void
OnKryptonContextMenuClosed ( object sender, EventArgs e ) : void
ProcessCmdKey ( Message &msg, Keys keyData ) : bool
ShouldSerializeImageSmall ( ) : bool
ShouldSerializeShortcutKeys ( ) : bool
UpdateContextMenu ( ) : void
UpdateRecentColors ( Color color ) : void

Method Details

ClearRecentColors() public méthode

Clear the recent colors setting.
public ClearRecentColors ( ) : void
Résultat void

Hide() public méthode

Make the ribbon color button hidden.
public Hide ( ) : void
Résultat void

KryptonRibbonGroupClusterColorButton() public méthode

Initialise a new instance of the KryptonRibbonGroupClusterColorButton class.
public KryptonRibbonGroupClusterColorButton ( ) : System
Résultat System

OnClick() protected méthode

Raises the Click event.
protected OnClick ( EventHandler finishDelegate ) : void
finishDelegate EventHandler Delegate fired during event processing.
Résultat void

OnCommandPropertyChanged() protected méthode

Handles a change in the property of an attached command.
protected OnCommandPropertyChanged ( object sender, PropertyChangedEventArgs e ) : void
sender object Source of the event.
e System.ComponentModel.PropertyChangedEventArgs A PropertyChangedEventArgs that contains the event data.
Résultat void

OnDropDown() protected méthode

Raises the DropDown event.
protected OnDropDown ( EventHandler finishDelegate ) : void
finishDelegate EventHandler Delegate fired during event processing.
Résultat void

OnMoreColors() protected méthode

Raises the MoreColors event.
protected OnMoreColors ( CancelEventArgs e ) : void
e CancelEventArgs An CancelEventArgs that contains the event data.
Résultat void

OnPropertyChanged() protected méthode

Raises the PropertyChanged event.
protected OnPropertyChanged ( string propertyName ) : void
propertyName string Name of property that has changed.
Résultat void

OnSelectedColorChanged() protected méthode

Raises the SelectedColorChanged event.
protected OnSelectedColorChanged ( Color selectedColor ) : void
selectedColor Color New selected color.
Résultat void

OnTrackingColor() protected méthode

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

PerformClick() public méthode

Generates a Click event for a button.
public PerformClick ( ) : void
Résultat void

PerformClick() public méthode

Generates a Click event for a button.
public PerformClick ( EventHandler finishDelegate ) : void
finishDelegate EventHandler Delegate fired during event processing.
Résultat void

PerformDropDown() public méthode

Generates a DropDown event for a button.
public PerformDropDown ( ) : void
Résultat void

PerformDropDown() public méthode

Generates a DropDown event for a button.
public PerformDropDown ( EventHandler finishDelegate ) : void
finishDelegate EventHandler Delegate fired during event processing.
Résultat void

ResetShortcutKeys() public méthode

Resets the ShortcutKeys property to its default value.
public ResetShortcutKeys ( ) : void
Résultat void

Show() public méthode

Make the ribbon color button visible.
public Show ( ) : void
Résultat void