C# Class ComponentFactory.Krypton.Ribbon.ViewDrawRibbonGroupButtonBackBorder

Draws the background and border for a group button.
Inheritance: ComponentFactory.Krypton.Toolkit.ViewComposite
Afficher le fichier Open project: ComponentFactory/Krypton Class Usage Examples

Méthodes publiques

Méthode Description
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.

ViewDrawRibbonGroupButtonBackBorder ( KryptonRibbon ribbon, KryptonRibbonGroupItem groupItem, IPaletteBack paletteBack, IPaletteBorder paletteBorder, bool constantBorder, NeedPaintHandler needPaint ) : System

Initialize a new instance of the ViewDrawRibbonGroupButtonBackBorder class.

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Méthode Description
ActionFinished ( object sender, EventArgs e ) : void
DrawBackground ( IPaletteBack paletteBack, RenderContext context, Rectangle rect, PaletteState state ) : void
DrawBorder ( IPaletteBorder paletteBorder, RenderContext context, Rectangle rect, PaletteState state ) : void
DrawHorizontalSplit ( RenderContext context, PaletteState drawState ) : void
DrawVerticalSplit ( RenderContext context, PaletteState drawState ) : void
OnClick ( object sender, EventArgs e ) : void
OnContextClick ( object sender, MouseEventArgs e ) : void
OnDropDown ( object sender, EventArgs e ) : void
SplitWithFading ( PaletteState drawState ) : bool

Method Details

Dispose() protected méthode

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

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

ViewDrawRibbonGroupButtonBackBorder() public méthode

Initialize a new instance of the ViewDrawRibbonGroupButtonBackBorder class.
public ViewDrawRibbonGroupButtonBackBorder ( KryptonRibbon ribbon, KryptonRibbonGroupItem groupItem, IPaletteBack paletteBack, IPaletteBorder paletteBorder, bool constantBorder, NeedPaintHandler needPaint ) : System
ribbon KryptonRibbon Reference to owning ribbon control.
groupItem KryptonRibbonGroupItem Reference to owning group item.
paletteBack IPaletteBack Palette to use for the background.
paletteBorder IPaletteBorder Palette to use for the border.
constantBorder bool Should the border be a constant normal state.
needPaint NeedPaintHandler Delegate for notifying paint requests.
Résultat System