C# Class ComponentFactory.Krypton.Ribbon.ViewDrawRibbonDesignTab

Draws an design time only for adding a new tab to the ribbon.
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.

ViewDrawRibbonDesignTab ( KryptonRibbon ribbon, NeedPaintHandler needPaint ) : System

Initialize a new instance of the ViewDrawRibbonDesignTab class.

Protected Methods

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

Raises the Click event.

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

ViewDrawRibbonDesignTab() public method

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