C# Class ComponentFactory.Krypton.Toolkit.RenderSparkle

Extends the professional renderer to provide Sparkle style additions.
Inheritance: RenderProfessional
Afficher le fichier Open project: ComponentFactory/Krypton

Méthodes publiques

Méthode Description
DrawInputControlDropDownGlyph ( RenderContext context, Rectangle cellRect, IPaletteContent paletteContent, PaletteState state ) : void

Draw a drop down grid appropriate for a input control.

DrawInputControlNumericDownGlyph ( RenderContext context, Rectangle cellRect, IPaletteContent paletteContent, PaletteState state ) : void

Draw a numeric down button image appropriate for a input control.

DrawInputControlNumericUpGlyph ( RenderContext context, Rectangle cellRect, IPaletteContent paletteContent, PaletteState state ) : void

Draw a numeric up button image appropriate for a input control.

DrawRibbonApplicationButton ( PaletteRibbonShape shape, RenderContext context, Rectangle rect, PaletteState state, IPaletteRibbonBack palette, IDisposable memento ) : IDisposable

Draw the application button.

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

Draw the background of a ribbon element.

DrawRibbonDropArrow ( PaletteRibbonShape shape, RenderContext context, Rectangle displayRect, IPaletteRibbonGeneral paletteGeneral, PaletteState state ) : void

Perform drawing of a ribbon drop arrow glyph.

DrawRibbonTabContextTitle ( PaletteRibbonShape shape, RenderContext context, Rectangle rect, IPaletteRibbonGeneral paletteGeneral, IPaletteRibbonBack paletteBack, IDisposable memento ) : IDisposable

Draw a context ribbon tab title.

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.

Private Methods

Méthode Description
RenderSparkle ( ) : System

Method Details

DrawInputControlDropDownGlyph() public méthode

Draw a drop down grid appropriate for a input control.
public DrawInputControlDropDownGlyph ( RenderContext context, Rectangle cellRect, IPaletteContent paletteContent, PaletteState state ) : void
context RenderContext Render context.
cellRect System.Drawing.Rectangle Available drawing rectangle space.
paletteContent IPaletteContent Content palette for getting colors.
state PaletteState State associated with rendering.
Résultat void

DrawInputControlNumericDownGlyph() public méthode

Draw a numeric down button image appropriate for a input control.
public DrawInputControlNumericDownGlyph ( RenderContext context, Rectangle cellRect, IPaletteContent paletteContent, PaletteState state ) : void
context RenderContext Render context.
cellRect System.Drawing.Rectangle Available drawing rectangle space.
paletteContent IPaletteContent Content palette for getting colors.
state PaletteState State associated with rendering.
Résultat void

DrawInputControlNumericUpGlyph() public méthode

Draw a numeric up button image appropriate for a input control.
public DrawInputControlNumericUpGlyph ( RenderContext context, Rectangle cellRect, IPaletteContent paletteContent, PaletteState state ) : void
context RenderContext Render context.
cellRect System.Drawing.Rectangle Available drawing rectangle space.
paletteContent IPaletteContent Content palette for getting colors.
state PaletteState State associated with rendering.
Résultat void

DrawRibbonApplicationButton() public méthode

Draw the application button.
public DrawRibbonApplicationButton ( PaletteRibbonShape shape, RenderContext context, Rectangle rect, PaletteState state, IPaletteRibbonBack palette, IDisposable memento ) : IDisposable
shape PaletteRibbonShape Ribbon shape.
context RenderContext Rendering context.
rect System.Drawing.Rectangle Target rectangle.
state PaletteState State associated with rendering.
palette IPaletteRibbonBack Palette used for sourcing settings.
memento IDisposable Cached storage for drawing objects.
Résultat IDisposable

DrawRibbonBack() public méthode

Draw the background of a ribbon element.
public DrawRibbonBack ( PaletteRibbonShape shape, RenderContext context, Rectangle rect, PaletteState state, IPaletteRibbonBack palette, VisualOrientation orientation, bool composition, IDisposable memento ) : IDisposable
shape PaletteRibbonShape Ribbon shape.
context RenderContext Rendering context.
rect System.Drawing.Rectangle Target rectangle.
state PaletteState State associated with rendering.
palette IPaletteRibbonBack Palette used for sourcing settings.
orientation VisualOrientation Orientation for drawing.
composition bool Drawing onto a composition element.
memento IDisposable Cached values to use when drawing.
Résultat IDisposable

DrawRibbonDropArrow() public méthode

Perform drawing of a ribbon drop arrow glyph.
public DrawRibbonDropArrow ( PaletteRibbonShape shape, RenderContext context, Rectangle displayRect, IPaletteRibbonGeneral paletteGeneral, PaletteState state ) : void
shape PaletteRibbonShape Ribbon shape.
context RenderContext Render context.
displayRect System.Drawing.Rectangle Display area available for drawing.
paletteGeneral IPaletteRibbonGeneral General ribbon palette 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

DrawRibbonTabContextTitle() public méthode

Draw a context ribbon tab title.
public DrawRibbonTabContextTitle ( PaletteRibbonShape shape, RenderContext context, Rectangle rect, IPaletteRibbonGeneral paletteGeneral, IPaletteRibbonBack paletteBack, IDisposable memento ) : IDisposable
shape PaletteRibbonShape Ribbon shape.
context RenderContext Rendering context.
rect System.Drawing.Rectangle Target rectangle.
paletteGeneral IPaletteRibbonGeneral Palette used for general ribbon settings.
paletteBack IPaletteRibbonBack Palette used for background ribbon settings.
memento IDisposable Cached storage for drawing objects.
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