C# Class ComponentFactory.Krypton.Ribbon.ViewDrawRibbonQATExtraButton

Draws the extra quick access button used for customization or overflowing.
Inheritance: ComponentFactory.Krypton.Toolkit.ViewLeaf
Show file Open project: ComponentFactory/Krypton Class Usage Examples

Public Methods

Method Description
GetPreferredSize ( ViewLayoutContext context ) : Size

Discover the preferred size of the element.

Layout ( ViewLayoutContext context ) : void

Perform a layout of the elements.

RenderBefore ( RenderContext context ) : void

Perform rendering before child elements are rendered.

ToString ( ) : string

Obtains the String representation of this instance.

ViewDrawRibbonQATExtraButton ( KryptonRibbon ribbon, NeedPaintHandler needPaint ) : System

Initialize a new instance of the ViewDrawRibbonQATExtraButton class.

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

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

Method Details

Dispose() protected method

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
return void

GetPreferredSize() public method

Discover the preferred size of the element.
public GetPreferredSize ( ViewLayoutContext context ) : Size
context ComponentFactory.Krypton.Toolkit.ViewLayoutContext Layout context.
return System.Drawing.Size

Layout() public method

Perform a layout of the elements.
public Layout ( ViewLayoutContext context ) : void
context ComponentFactory.Krypton.Toolkit.ViewLayoutContext Layout context.
return void

RenderBefore() public method

Perform rendering before child elements are rendered.
public RenderBefore ( RenderContext context ) : void
context ComponentFactory.Krypton.Toolkit.RenderContext Rendering context.
return void

ToString() public method

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

ViewDrawRibbonQATExtraButton() public method

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