C# Class ComponentFactory.Krypton.Toolkit.RenderOffice2013

Extends the professional renderer to provide Office2010 style additions.
Inheritance: RenderOffice2010
Datei anzeigen Open project: Cocotteseb/Krypton

Public Methods

Method Description
DrawRibbonApplicationTab ( PaletteRibbonShape shape, RenderContext context, Rectangle rect, PaletteState state, Color baseColor1, Color baseColor2, IDisposable memento ) : IDisposable

Draw the application tab.

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.

DrawRibbonTabSelected2010 ( RenderContext context, Rectangle rect, PaletteState state, IPaletteRibbonBack palette, VisualOrientation orientation, IDisposable memento, bool standard ) : IDisposable

Internal rendering method.

DrawRibbonTabTracking2010 ( PaletteRibbonShape shape, RenderContext context, Rectangle rect, PaletteState state, IPaletteRibbonBack palette, VisualOrientation orientation, IDisposable memento, bool standard ) : IDisposable

Internal rendering method.

Private Methods

Method Description
RenderOffice2013 ( ) : System

Method Details

DrawRibbonApplicationTab() public method

Draw the application tab.
public DrawRibbonApplicationTab ( PaletteRibbonShape shape, RenderContext context, Rectangle rect, PaletteState state, Color baseColor1, Color baseColor2, IDisposable memento ) : IDisposable
shape PaletteRibbonShape Ribbon shape.
context RenderContext Rendering context.
rect System.Drawing.Rectangle Target rectangle.
state PaletteState State associated with rendering.
baseColor1 Color Base color1 used for drawing the ribbon tab.
baseColor2 Color Base color2 used for drawing the ribbon tab.
memento IDisposable Cached values to use when drawing.
return IDisposable

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

DrawRibbonTabSelected2010() protected method

Internal rendering method.
protected DrawRibbonTabSelected2010 ( RenderContext context, Rectangle rect, PaletteState state, IPaletteRibbonBack palette, VisualOrientation orientation, IDisposable memento, bool standard ) : IDisposable
context RenderContext
rect System.Drawing.Rectangle
state PaletteState
palette IPaletteRibbonBack
orientation VisualOrientation
memento IDisposable
standard bool
return IDisposable

DrawRibbonTabTracking2010() protected method

Internal rendering method.
protected DrawRibbonTabTracking2010 ( PaletteRibbonShape shape, RenderContext context, Rectangle rect, PaletteState state, IPaletteRibbonBack palette, VisualOrientation orientation, IDisposable memento, bool standard ) : IDisposable
shape PaletteRibbonShape
context RenderContext
rect System.Drawing.Rectangle
state PaletteState
palette IPaletteRibbonBack
orientation VisualOrientation
memento IDisposable
standard bool
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