C# Class ComponentFactory.Krypton.Ribbon.ViewDrawRibbonComposition

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

Méthodes publiques

Méthode 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 méthode

Request a repaint and optional layout.
public CompNeedPaint ( bool needLayout ) : void
needLayout bool Is a layout required.
Résultat void

GetPreferredSize() public méthode

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

Layout() public méthode

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

RenderBefore() public méthode

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

ToString() public méthode

Obtains the String representation of this instance.
public ToString ( ) : string
Résultat string

ViewDrawRibbonComposition() public méthode

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.
Résultat System