C# Class ComponentFactory.Krypton.Ribbon.ViewDrawRibbonDesignCluster

Draws an design time only for adding a new button to a cluster.
Inheritance: ViewDrawRibbonDesignBase
Show file Open project: ComponentFactory/Krypton Class Usage Examples

Public Methods

Method Description
GetShortText ( ) : string

Gets the short text used as the main ribbon title.

ToString ( ) : string

Obtains the String representation of this instance.

ViewDrawRibbonDesignCluster ( KryptonRibbon ribbon, KryptonRibbonGroupCluster ribbonCluster, NeedPaintHandler needPaint ) : System

Initialize a new instance of the ViewDrawRibbonDesignCluster class.

Protected Methods

Method Description
OnClick ( object sender, EventArgs e ) : void

Raises the Click event.

Private Methods

Method Description
OnAddButton ( object sender, EventArgs e ) : void
OnAddColorButton ( object sender, EventArgs e ) : void
ViewDrawRibbonDesignCluster ( ) : System

Method Details

GetShortText() public method

Gets the short text used as the main ribbon title.
public GetShortText ( ) : string
return string

OnClick() protected method

Raises the Click event.
protected OnClick ( object sender, EventArgs e ) : void
sender object Source of the event.
e System.EventArgs An EventArgs containing the event data.
return void

ToString() public method

Obtains the String representation of this instance.
public ToString ( ) : string
return string

ViewDrawRibbonDesignCluster() public method

Initialize a new instance of the ViewDrawRibbonDesignCluster class.
public ViewDrawRibbonDesignCluster ( KryptonRibbon ribbon, KryptonRibbonGroupCluster ribbonCluster, NeedPaintHandler needPaint ) : System
ribbon KryptonRibbon Reference to owning ribbon control.
ribbonCluster KryptonRibbonGroupCluster Reference to cluster definition.
needPaint NeedPaintHandler Delegate for notifying paint requests.
return System