C# Class ComponentFactory.Krypton.Ribbon.ViewDrawRibbonComposition

Allocate space for the location of the composition caption area.
Inheritance: ComponentFactory.Krypton.Toolkit.ViewLeaf, IKryptonComposition
Mostrar archivo Open project: ComponentFactory/Krypton Class Usage Examples

Public Methods

Method Description
CompNeedPaint ( bool needLayout ) : void

Request a repaint and optional layout.

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.

ViewDrawRibbonComposition ( KryptonRibbon ribbon, NeedPaintHandler needPaint ) : System

Initialize a new instance of the ViewDrawRibbonComposition class.

Method Details

CompNeedPaint() public method

Request a repaint and optional layout.
public CompNeedPaint ( bool needLayout ) : void
needLayout bool Is a layout required.
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

ViewDrawRibbonComposition() public method

Initialize a new instance of the ViewDrawRibbonComposition class.
public ViewDrawRibbonComposition ( KryptonRibbon ribbon, NeedPaintHandler needPaint ) : System
ribbon KryptonRibbon Owning control instance.
needPaint NeedPaintHandler Delegate for requested a paint.
return System