C# Class ComponentFactory.Krypton.Toolkit.RenderOffice2007

Extends the professional renderer to provide Office2007 style additions.
Inheritance: RenderProfessional
显示文件 Open project: ComponentFactory/Krypton

Public Methods

Method Description
DrawRibbonClusterEdge ( PaletteRibbonShape shape, RenderContext context, Rectangle displayRect, IPaletteBack paletteBack, PaletteState state ) : void

Perform drawing of a ribbon cluster edge.

RenderToolStrip ( IPalette colorPalette ) : System.Windows.Forms.ToolStripRenderer

Gets a renderer for drawing the toolstrips.

Protected Methods

Method Description
DrawRibbonTabContext ( RenderContext context, Rectangle rect, IPaletteRibbonGeneral paletteGeneral, IPaletteRibbonBack paletteBack, IDisposable memento ) : IDisposable

Internal rendering method.

Private Methods

Method Description
RenderOffice2007 ( ) : System

Method Details

DrawRibbonClusterEdge() public method

Perform drawing of a ribbon cluster edge.
public DrawRibbonClusterEdge ( PaletteRibbonShape shape, RenderContext context, Rectangle displayRect, IPaletteBack paletteBack, PaletteState state ) : void
shape PaletteRibbonShape Ribbon shape.
context RenderContext Render context.
displayRect System.Drawing.Rectangle Display area available for drawing.
paletteBack IPaletteBack Palette used for recovering drawing details.
state PaletteState State associated with rendering.
return void

DrawRibbonTabContext() protected method

Internal rendering method.
protected DrawRibbonTabContext ( RenderContext context, Rectangle rect, IPaletteRibbonGeneral paletteGeneral, IPaletteRibbonBack paletteBack, IDisposable memento ) : IDisposable
context RenderContext
rect System.Drawing.Rectangle
paletteGeneral IPaletteRibbonGeneral
paletteBack IPaletteRibbonBack
memento IDisposable
return IDisposable

RenderToolStrip() public method

Gets a renderer for drawing the toolstrips.
public RenderToolStrip ( IPalette colorPalette ) : System.Windows.Forms.ToolStripRenderer
colorPalette IPalette Color palette to use when rendering toolstrip.
return System.Windows.Forms.ToolStripRenderer