C# Class ComponentFactory.Krypton.Toolkit.RenderOffice2013

Extends the professional renderer to provide Office2010 style additions.
Inheritance: RenderOffice2010
Afficher le fichier Open project: Cocotteseb/Krypton

Méthodes publiques

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

Méthodes protégées

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

Méthode Description
RenderOffice2013 ( ) : System

Method Details

DrawRibbonApplicationTab() public méthode

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

DrawRibbonClusterEdge() public méthode

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

DrawRibbonTabContext() protected méthode

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
Résultat IDisposable

DrawRibbonTabSelected2010() protected méthode

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
Résultat IDisposable

DrawRibbonTabTracking2010() protected méthode

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
Résultat IDisposable

RenderToolStrip() public méthode

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