C# Class ComponentFactory.Krypton.Ribbon.ViewDrawRibbonGroupButtonBackBorder

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

Public Methods

Method 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.

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Method 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 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

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

ViewDrawRibbonGroupButtonBackBorder() public method

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.
return System