C# Class ComponentFactory.Krypton.Toolkit.RenderStandard

Provides the standard renderer that honors all palette properties.
Inheritance: RenderBase
Mostra file Open project: ComponentFactory/Krypton

Public Methods

Method Description
DrawBack ( RenderContext context, Rectangle rect, GraphicsPath path, IPaletteBack palette, VisualOrientation orientation, PaletteState state, IDisposable memento ) : IDisposable

Draw background to fill the specified path.

DrawBorder ( RenderContext context, Rectangle rect, IPaletteBorder palette, VisualOrientation orientation, PaletteState state ) : void

Draw border on the inside edge of the specified rectangle.

DrawCheckBox ( RenderContext context, Rectangle displayRect, IPalette palette, bool enabled, CheckState checkState, bool tracking, bool pressed ) : void

Perform drawing of a check box.

DrawContent ( RenderContext context, Rectangle displayRect, IPaletteContent palette, IDisposable memento, VisualOrientation orientation, PaletteState state, bool composition, bool allowFocusRect ) : void

Perform draw of content using provided memento.

DrawDragDropDockingGlyph ( RenderContext context, RenderDragDockingData dragData, IPaletteDragDrop dragDropPalette, PaletteDragFeedback feedback ) : void

Draw a solid area glyph suitable for a drag drop area.

DrawDragDropSolidGlyph ( RenderContext context, Rectangle drawRect, IPaletteDragDrop dragDropPalette ) : void

Draw a solid area glyph suitable for a drag drop area.

DrawDropDownButton ( RenderContext context, Rectangle displayRect, IPalette palette, PaletteState state, VisualOrientation orientation ) : void

Perform drawing of a drop down button.

DrawGridErrorGlyph ( RenderContext context, Rectangle cellRect, PaletteState state, bool rtl ) : Rectangle

Draw a grid error glyph.

DrawGridRowGlyph ( RenderContext context, GridRowGlyph rowGlyph, Rectangle cellRect, IPaletteContent paletteContent, PaletteState state, bool rtl ) : Rectangle

Draw a grid row glyph.

DrawGridSortGlyph ( RenderContext context, SortOrder sortOrder, Rectangle cellRect, IPaletteContent paletteContent, PaletteState state, bool rtl ) : Rectangle

Draw a grid sorting direction glyph.

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.

DrawRadioButton ( RenderContext context, Rectangle displayRect, IPalette palette, bool enabled, bool checkState, bool tracking, bool pressed ) : void

Perform drawing of a radio button.

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

Draw the application button.

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

Draw the application tab.

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.

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

Perform drawing of a ribbon cluster edge.

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

Perform drawing of a ribbon context arrow glyph.

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

Perform drawing of a ribbon dialog box launcher glyph.

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

Perform drawing of a ribbon drop arrow glyph.

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

Perform drawing of a ribbon group separator.

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

Perform drawing of a ribbon overflow image.

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

Draw a context ribbon tab title.

DrawSeparator ( RenderContext context, Rectangle displayRect, IPaletteBack paletteBack, IPaletteBorder paletteBorder, Orientation orientation, PaletteState state, bool canMove ) : void

Perform drawing of a separator glyph.

DrawTabBorder ( RenderContext context, Rectangle rect, IPaletteBorder palette, VisualOrientation orientation, PaletteState state, TabBorderStyle tabBorderStyle ) : void

Draw border on the inside edge of the specified rectangle.

DrawTrackGlyph ( RenderContext context, PaletteState state, IPaletteElementColor elementPalette, Rectangle drawRect, Orientation orientation, bool volumeControl ) : void

Draw the track bar track glyph.

DrawTrackPositionGlyph ( RenderContext context, PaletteState state, IPaletteElementColor elementPalette, Rectangle drawRect, Orientation orientation, TickStyle tickStyle ) : void

Draw the track bar position glyph.

DrawTrackTicksGlyph ( RenderContext context, PaletteState state, IPaletteElementColor elementPalette, Rectangle drawRect, Orientation orientation, bool topRight, Size positionSize, int minimum, int maximum, int frequency ) : void

Draw the track bar ticks glyph.

EvalTransparentPaint ( IPaletteBack paletteBack, IPaletteBorder paletteBorder, PaletteState state ) : bool

Evaluate if transparent painting is needed for background or border palettes.

EvalTransparentPaint ( IPaletteBack paletteBack, PaletteState state ) : bool

Evaluate if transparent painting is needed for background palette.

GetBackPath ( RenderContext context, Rectangle rect, IPaletteBorder palette, VisualOrientation orientation, PaletteState state ) : GraphicsPath

Generate a graphics path that encloses the border and is used when rendering a background to ensure the background does not draw over the border area.

GetBorderDisplayPadding ( IPaletteBorder palette, PaletteState state, VisualOrientation orientation ) : Padding

Gets the padding used to position display elements completely inside border drawing.

GetBorderPath ( RenderContext context, Rectangle rect, IPaletteBorder palette, VisualOrientation orientation, PaletteState state ) : GraphicsPath

Generate a graphics path that is in the middle of the border.

GetBorderRawPadding ( IPaletteBorder palette, PaletteState state, VisualOrientation orientation ) : Padding

Gets the raw padding used per edge of the border.

GetCheckBoxPreferredSize ( ViewLayoutContext context, IPalette palette, bool enabled, CheckState checkState, bool tracking, bool pressed ) : Size

Calculate the requested display size for the check box.

GetContentImageDisplayed ( IDisposable memento ) : bool

Request the calculated display of the image.

GetContentImageRectangle ( IDisposable memento ) : Rectangle

Request the calculated position of the content image.

GetContentLongTextDisplayed ( IDisposable memento ) : bool

Request the calculated display of the long text.

GetContentLongTextRectangle ( IDisposable memento ) : Rectangle

Request the calculated position of the content long text.

GetContentPreferredSize ( ViewLayoutContext context, IPaletteContent palette, IContentValues values, VisualOrientation orientation, PaletteState state, bool composition ) : Size

Get the preferred size for drawing the content.

GetContentShortTextDisplayed ( IDisposable memento ) : bool

Request the calculated display of the short text.

GetContentShortTextRectangle ( IDisposable memento ) : Rectangle

Request the calculated position of the content short text.

GetDropDownButtonPreferredSize ( ViewLayoutContext context, IPalette palette, PaletteState state, VisualOrientation orientation ) : Size

Calculate the requested display size for the drop down button.

GetOutsideBorderPath ( RenderContext context, Rectangle rect, IPaletteBorder palette, VisualOrientation orientation, PaletteState state ) : GraphicsPath

Generate a graphics path that is the outside edge of the border.

GetRadioButtonPreferredSize ( ViewLayoutContext context, IPalette palette, bool enabled, bool checkState, bool tracking, bool pressed ) : Size

Calculate the requested display size for the radio button.

GetTabBackPath ( RenderContext context, Rectangle rect, IPaletteBorder palette, VisualOrientation orientation, PaletteState state, TabBorderStyle tabBorderStyle ) : GraphicsPath

Generate a graphics path that encloses the border and is used when rendering a background to ensure the background does not draw over the border area.

GetTabBorderDisplayPadding ( ViewLayoutContext context, IPaletteBorder palette, PaletteState state, VisualOrientation orientation, TabBorderStyle tabBorderStyle ) : Padding

Gets the padding used to position display elements completely inside border drawing.

GetTabBorderLeftDrawing ( TabBorderStyle tabBorderStyle ) : bool

Gets if the tabs should be drawn from left to right for z-ordering.

GetTabBorderPath ( RenderContext context, Rectangle rect, IPaletteBorder palette, VisualOrientation orientation, PaletteState state, TabBorderStyle tabBorderStyle ) : GraphicsPath

Generate a graphics path that encloses the border itself.

GetTabBorderSpacingGap ( TabBorderStyle tabBorderStyle ) : int

Gets the spacing used to separate each tab border instance.

LayoutContent ( ViewLayoutContext context, Rectangle availableRect, IPaletteContent palette, IContentValues values, VisualOrientation orientation, PaletteState state, bool composition ) : IDisposable

Perform layout calculations on the provided content.

MeasureDragDropDockingGlyph ( RenderDragDockingData dragData, IPaletteDragDrop dragDropPalette, PaletteDragFeedback feedback ) : void

Measure the drag and drop docking glyphs.

RenderToolStrip ( IPalette colorPalette ) : ToolStripRenderer

Gets a renderer for drawing the toolstrips.

Protected Methods

Method Description
DrawRibbonAppButton ( PaletteRibbonShape shape, RenderContext context, Rectangle rect, PaletteState state, IPaletteRibbonBack palette, bool trackBorderAsPressed, IDisposable memento ) : IDisposable

Internal rendering method.

DrawRibbonAppButtonBorder1 ( Graphics g, MementoRibbonAppButton memento ) : void

Internal rendering method.

DrawRibbonAppButtonBorder2 ( Graphics g, MementoRibbonAppButton memento, PaletteState state, Color bottomLight, bool trackBorderAsPressed ) : void

Internal rendering method.

DrawRibbonAppButtonGlowCenter ( Graphics g, MementoRibbonAppButton memento, PaletteState state, Color topLight, Color bottomLight ) : void

Internal rendering method.

DrawRibbonAppButtonGlowUpperBottom ( Graphics g, MementoRibbonAppButton memento, PaletteState state, Color bottomLight, Color bottomMedium, Color bottomDark ) : void

Internal rendering method.

DrawRibbonAppButtonLowerHalf ( Graphics g, MementoRibbonAppButton memento, PaletteState state, Color bottomDark, Color bottomLight, Color bottomMedium ) : void

Internal rendering method.

DrawRibbonAppButtonUpperHalf ( Graphics g, MementoRibbonAppButton memento, PaletteState state, Color topDark, Color bottomDark, Color topLight, Color topMedium, bool trackBorderAsPressed ) : void

Internal rendering method.

DrawRibbonAppMenuInner ( RenderContext context, Rectangle rect, PaletteState state, IPaletteRibbonBack palette, IDisposable memento ) : IDisposable

Internal rendering method.

DrawRibbonAppMenuOuter ( RenderContext context, Rectangle rect, PaletteState state, IPaletteRibbonBack palette, IDisposable memento ) : IDisposable

Internal rendering method.

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

Internal rendering method.

DrawRibbonGroupAreaBorder1And2 ( RenderContext context, Rectangle rect, PaletteState state, IPaletteRibbonBack palette, bool limited, bool fading, IDisposable memento ) : IDisposable

Internal rendering method.

DrawRibbonGroupAreaBorder3And4 ( RenderContext context, Rectangle rect, PaletteState state, IPaletteRibbonBack palette, IDisposable memento, bool gradientTop ) : IDisposable

Internal rendering method.

DrawRibbonGroupAreaBorderContext ( RenderContext context, Rectangle rect, PaletteState state, IPaletteRibbonBack palette, IDisposable memento ) : IDisposable

Internal rendering method.

DrawRibbonGroupCollapsedBorder ( RenderContext context, Rectangle rect, PaletteState state, IPaletteRibbonBack palette, IDisposable memento ) : IDisposable

Internal rendering method.

DrawRibbonGroupCollapsedFrameBorder ( RenderContext context, Rectangle rect, PaletteState state, IPaletteRibbonBack palette, IDisposable memento ) : IDisposable

Internal rendering method.

DrawRibbonGroupGradientOne ( RenderContext context, Rectangle rect, PaletteState state, IPaletteRibbonBack palette, IDisposable memento ) : IDisposable

Internal rendering method.

DrawRibbonGroupGradientTwo ( RenderContext context, Rectangle rect, PaletteState state, IPaletteRibbonBack palette, float percent, IDisposable memento ) : IDisposable

Internal rendering method.

DrawRibbonGroupNormalBorder ( RenderContext context, Rectangle rect, PaletteState state, IPaletteRibbonBack palette, bool tracking, bool lightInside, IDisposable memento ) : IDisposable

Internal rendering method.

DrawRibbonGroupNormalBorderSep ( bool showingInPopup, RenderContext context, Rectangle rect, PaletteState state, IPaletteRibbonBack palette, IDisposable memento, bool pressed, bool tracking, bool dark ) : IDisposable

Internal rendering method.

DrawRibbonGroupNormalTitle ( RenderContext context, Rectangle rect, PaletteState state, IPaletteRibbonBack palette, IDisposable memento ) : IDisposable

Internal rendering method.

DrawRibbonLinear ( RenderContext context, Rectangle rect, PaletteState state, IPaletteRibbonBack palette, IDisposable memento ) : IDisposable

Internal rendering method.

DrawRibbonLinearBorder ( RenderContext context, Rectangle rect, PaletteState state, IPaletteRibbonBack palette, IDisposable memento ) : IDisposable

Internal rendering method.

DrawRibbonQATFullbarRound ( RenderContext context, Rectangle rect, PaletteState state, IPaletteRibbonBack palette, IDisposable memento ) : IDisposable

Internal rendering method.

DrawRibbonQATFullbarSquare ( RenderContext context, Rectangle rect, PaletteState state, IPaletteRibbonBack palette, IDisposable memento ) : IDisposable

Internal rendering method.

DrawRibbonQATMinibarDouble ( RenderContext context, Rectangle rect, PaletteState state, IPaletteRibbonBack palette, bool composition, IDisposable memento ) : IDisposable

Internal rendering method.

DrawRibbonQATMinibarSingle ( RenderContext context, Rectangle rect, PaletteState state, IPaletteRibbonBack palette, bool composition, IDisposable memento ) : IDisposable

Internal rendering method.

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

Internal rendering method.

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

Internal rendering method.

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

Internal rendering method.

DrawRibbonTabContextSelectedBottom ( Rectangle rect, Color c2, MementoRibbonTabContextSelected cache ) : void

Internal rendering method.

DrawRibbonTabContextSelectedBottomDraw ( Rectangle rect, MementoRibbonTabContextSelected cache, Graphics g ) : void

Internal rendering method.

DrawRibbonTabContextSelectedLeft ( Rectangle rect, Color c2, MementoRibbonTabContextSelected cache ) : void

Internal rendering method.

DrawRibbonTabContextSelectedLeftDraw ( Rectangle rect, MementoRibbonTabContextSelected cache, Graphics g ) : void

Internal rendering method.

DrawRibbonTabContextSelectedRight ( Rectangle rect, Color c2, MementoRibbonTabContextSelected cache ) : void

Internal rendering method.

DrawRibbonTabContextSelectedRightDraw ( Rectangle rect, MementoRibbonTabContextSelected cache, Graphics g ) : void

Internal rendering method.

DrawRibbonTabContextSelectedTop ( Rectangle rect, Color c2, MementoRibbonTabContextSelected cache ) : void

Internal rendering method.

DrawRibbonTabContextSelectedTopDraw ( Rectangle rect, MementoRibbonTabContextSelected cache, Graphics g ) : void

Internal rendering method.

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

Internal rendering method.

DrawRibbonTabFocusBottom2010 ( Rectangle rect, Color c3, Color c4, MementoRibbonTabTracking2010 cache ) : void

Internal rendering method.

DrawRibbonTabFocusLeft2010 ( Rectangle rect, Color c3, Color c4, MementoRibbonTabTracking2010 cache ) : void

Internal rendering method.

DrawRibbonTabFocusRight2010 ( Rectangle rect, Color c3, Color c4, MementoRibbonTabTracking2010 cache ) : void

Internal rendering method.

DrawRibbonTabFocusTop2010 ( Rectangle rect, Color c3, Color c4, MementoRibbonTabTracking2010 cache ) : void

Internal rendering method.

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

Internal rendering method.

DrawRibbonTabGlowingBottom ( Rectangle rect, Color c1, Color c2, Color insideColor, MementoRibbonTabGlowing cache ) : void

Internal rendering method.

DrawRibbonTabGlowingLeft ( Rectangle rect, Color c1, Color c2, Color insideColor, MementoRibbonTabGlowing cache ) : void

Internal rendering method.

DrawRibbonTabGlowingRight ( Rectangle rect, Color c1, Color c2, Color insideColor, MementoRibbonTabGlowing cache ) : void

Internal rendering method.

DrawRibbonTabGlowingTop ( Rectangle rect, Color c1, Color c2, Color insideColor, MementoRibbonTabGlowing cache ) : void

Internal rendering method.

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

Internal rendering method.

DrawRibbonTabHighlightBottom ( Rectangle rect, Color c4, Color c5, MementoRibbonTabHighlight cache ) : void

Internal rendering method.

DrawRibbonTabHighlightBottomDraw ( Rectangle rect, Color c1, Color c2, Color c3, Color c4, Color c5, MementoRibbonTabHighlight cache, Graphics g, bool alternate ) : void

Internal rendering method.

DrawRibbonTabHighlightLeft ( Rectangle rect, Color c4, Color c5, MementoRibbonTabHighlight cache ) : void

Internal rendering method.

DrawRibbonTabHighlightLeftDraw ( Rectangle rect, Color c1, Color c2, Color c3, Color c4, Color c5, MementoRibbonTabHighlight cache, Graphics g, bool alternate ) : void

Internal rendering method.

DrawRibbonTabHighlightRight ( Rectangle rect, Color c4, Color c5, MementoRibbonTabHighlight cache ) : void

Internal rendering method.

DrawRibbonTabHighlightRightDraw ( Rectangle rect, Color c1, Color c2, Color c3, Color c4, Color c5, MementoRibbonTabHighlight cache, Graphics g, bool alternate ) : void

Internal rendering method.

DrawRibbonTabHighlightTop ( Rectangle rect, Color c4, Color c5, MementoRibbonTabHighlight cache ) : void

Internal rendering method.

DrawRibbonTabHighlightTopDraw ( Rectangle rect, Color c1, Color c2, Color c3, Color c4, Color c5, MementoRibbonTabHighlight cache, Graphics g, bool alternate ) : void

Internal rendering method.

DrawRibbonTabSelected2007 ( RenderContext context, Rectangle rect, PaletteState state, IPaletteRibbonBack palette, VisualOrientation orientation, 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.

DrawRibbonTabSelectedBottom2007 ( Rectangle rect, Color c4, Color c5, MementoRibbonTabSelected2007 cache ) : void

Internal rendering method.

DrawRibbonTabSelectedBottom2010 ( Rectangle rect, Color c2, Color c3, Color c5, MementoRibbonTabSelected2010 cache ) : void

Internal rendering method.

DrawRibbonTabSelectedBottomDraw2007 ( Rectangle rect, MementoRibbonTabSelected2007 cache, Graphics g ) : void

Internal rendering method.

DrawRibbonTabSelectedBottomDraw2010 ( Rectangle rect, MementoRibbonTabSelected2010 cache, Graphics g ) : void

Internal rendering method.

DrawRibbonTabSelectedLeft2007 ( Rectangle rect, Color c4, Color c5, MementoRibbonTabSelected2007 cache ) : void

Internal rendering method.

DrawRibbonTabSelectedLeft2010 ( Rectangle rect, Color c2, Color c3, Color c5, MementoRibbonTabSelected2010 cache ) : void

Internal rendering method.

DrawRibbonTabSelectedLeftDraw2007 ( Rectangle rect, MementoRibbonTabSelected2007 cache, Graphics g ) : void

Internal rendering method.

DrawRibbonTabSelectedLeftDraw2010 ( Rectangle rect, MementoRibbonTabSelected2010 cache, Graphics g ) : void

Internal rendering method.

DrawRibbonTabSelectedRight2007 ( Rectangle rect, Color c4, Color c5, MementoRibbonTabSelected2007 cache ) : void

Internal rendering method.

DrawRibbonTabSelectedRight2010 ( Rectangle rect, Color c2, Color c3, Color c5, MementoRibbonTabSelected2010 cache ) : void

Internal rendering method.

DrawRibbonTabSelectedRightDraw2007 ( Rectangle rect, MementoRibbonTabSelected2007 cache, Graphics g ) : void

Internal rendering method.

DrawRibbonTabSelectedRightDraw2010 ( Rectangle rect, MementoRibbonTabSelected2010 cache, Graphics g ) : void

Internal rendering method.

DrawRibbonTabSelectedTop2007 ( Rectangle rect, Color c4, Color c5, MementoRibbonTabSelected2007 cache ) : void

Internal rendering method.

DrawRibbonTabSelectedTop2010 ( Rectangle rect, Color c2, Color c3, Color c5, MementoRibbonTabSelected2010 cache ) : void

Internal rendering method.

DrawRibbonTabSelectedTopDraw2007 ( Rectangle rect, MementoRibbonTabSelected2007 cache, Graphics g ) : void

Internal rendering method.

DrawRibbonTabSelectedTopDraw2010 ( Rectangle rect, MementoRibbonTabSelected2010 cache, Graphics g ) : void

Internal rendering method.

DrawRibbonTabTracking2007 ( PaletteRibbonShape shape, RenderContext context, Rectangle rect, PaletteState state, IPaletteRibbonBack palette, VisualOrientation orientation, IDisposable memento ) : 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.

DrawRibbonTabTrackingBottom2007 ( Rectangle rect, Color c1, Color c2, MementoRibbonTabTracking2007 cache ) : void

Internal rendering method.

DrawRibbonTabTrackingBottom2010 ( Rectangle rect, Color c3, Color c4, MementoRibbonTabTracking2010 cache ) : void

Internal rendering method.

DrawRibbonTabTrackingBottomDraw2007 ( Rectangle rect, MementoRibbonTabTracking2007 cache, Graphics g ) : void

Internal rendering method.

DrawRibbonTabTrackingLeft2007 ( Rectangle rect, Color c1, Color c2, MementoRibbonTabTracking2007 cache ) : void

Internal rendering method.

DrawRibbonTabTrackingLeft2010 ( Rectangle rect, Color c3, Color c4, MementoRibbonTabTracking2010 cache ) : void

Internal rendering method.

DrawRibbonTabTrackingLeftDraw2007 ( Rectangle rect, MementoRibbonTabTracking2007 cache, Graphics g ) : void

Internal rendering method.

DrawRibbonTabTrackingRight2007 ( Rectangle rect, Color c1, Color c2, MementoRibbonTabTracking2007 cache ) : void

Internal rendering method.

DrawRibbonTabTrackingRight2010 ( Rectangle rect, Color c3, Color c4, MementoRibbonTabTracking2010 cache ) : void

Internal rendering method.

DrawRibbonTabTrackingRightDraw2007 ( Rectangle rect, MementoRibbonTabTracking2007 cache, Graphics g ) : void

Internal rendering method.

DrawRibbonTabTrackingTop2007 ( Rectangle rect, Color c1, Color c2, MementoRibbonTabTracking2007 cache ) : void

Internal rendering method.

DrawRibbonTabTrackingTop2010 ( Rectangle rect, Color c3, Color c4, MementoRibbonTabTracking2010 cache ) : void

Internal rendering method.

DrawRibbonTabTrackingTopDraw2007 ( Rectangle rect, MementoRibbonTabTracking2007 cache, Graphics g ) : void

Internal rendering method.

Private Methods

Method Description
AddOneNotePath ( GraphicsPath borderPath, VisualOrientation orientation, Rectangle rect, bool forBorder, int rp ) : void
AddOneNoteReversePath ( GraphicsPath borderPath, VisualOrientation orientation, Rectangle rect, bool forBorder, int rp ) : void
AddRoundedPath ( GraphicsPath borderPath, VisualOrientation orientation, Rectangle rect, bool forBorder ) : void
AddSlantBothPath ( GraphicsPath borderPath, VisualOrientation orientation, Rectangle rect, bool forBorder ) : void
AddSlantFarPath ( GraphicsPath borderPath, VisualOrientation orientation, Rectangle rect, bool forBorder ) : void
AddSlantNearPath ( GraphicsPath borderPath, VisualOrientation orientation, Rectangle rect, bool forBorder ) : void
AddSmoothPath ( GraphicsPath borderPath, VisualOrientation orientation, Rectangle rect, bool forBorder ) : void
AddSquarePath ( GraphicsPath borderPath, VisualOrientation orientation, Rectangle rect, bool forBorder ) : void
AdjustOneNoteTab ( Rectangle rect, VisualOrientation orientation ) : Rectangle
AdjustOutsizeTab ( PaletteState state, Rectangle rect, VisualOrientation orientation ) : Rectangle
AdjustSmoothTab ( PaletteState state, Rectangle rect, VisualOrientation orientation ) : Rectangle
AllocateAlignmentSpace ( int alignHIndex, int alignVIndex, Size allocation, Rectangle displayRect, int spacingGap, PaletteTextTrim trim, Size &requiredSize ) : bool
AllocateImageSpace ( StandardContentMemento memento, IPaletteContent paletteContent, IContentValues contentValues, PaletteState state, Rectangle displayRect, RightToLeft rtl, Size &allocation ) : void
AllocateLongTextSpace ( ViewLayoutContext context, Graphics g, StandardContentMemento memento, IPaletteContent paletteContent, IContentValues contentValues, PaletteState state, Rectangle displayRect, RightToLeft rtl, int spacingGap, Size &allocation, bool composition ) : void
AllocateShortTextSpace ( ViewLayoutContext context, Graphics g, StandardContentMemento memento, IPaletteContent paletteContent, IContentValues contentValues, PaletteState state, Rectangle displayRect, RightToLeft rtl, int spacingGap, Size &allocation, bool composition ) : void
AllocatedColumnWidths ( Size allocation, int rowIndex ) : int[]
AllocatedRowHeights ( Size allocation ) : int[]
AllocatedTotalHeight ( Size allocation ) : int
AllocatedTotalWidth ( Size allocation, int colIndex, int rowIndex, int spacingGap ) : int
ApplyExcessSpace ( int excess, int &cells ) : void
ContentFontForButtonForm ( ViewLayoutContext context, Font font ) : Font
ContentPaddingForButtonForm ( Padding original, ViewLayoutContext context, int allocatedHeight ) : Padding
CreateAllBorderBackPath ( bool middle, GraphicsPath borderPath, Rectangle rect, int width, int rounding, bool forBorder, int arcLength, int arcLength1 ) : void
CreateBorderBackPath ( bool forBorder, bool middle, Rectangle rect, PaletteDrawBorders borders, int borderWidth, int borderRounding, bool smoothing, int variant ) : GraphicsPath
CreateBorderBackPathComplete ( bool middle, PaletteDrawBorders borders, GraphicsPath borderPath, Rectangle rect, int arcLength ) : void
CreateBorderBackPathOnly ( PaletteDrawBorders borders, GraphicsPath borderPath, Rectangle rect, int variant ) : void
CreateBorderBackPathOnly ( bool middle, PaletteDrawBorders borders, GraphicsPath borderPath, Rectangle rect, int arcLength, int variant ) : void
CreateBorderBackPathOnlyClosed ( bool middle, PaletteDrawBorders borders, GraphicsPath borderPath, Rectangle rect, int arcLength, int variant ) : void
CreateColorBrush ( Rectangle rect, Color color1, Color color2, PaletteColorStyle gradientStyle, float angle, VisualOrientation orientation ) : Brush
CreateImageBrush ( Rectangle rect, Image image, PaletteImageStyle imageStyle ) : Brush
CreatePositionPathsBoth ( Rectangle drawRect ) : GraphicsPath
CreatePositionPathsBoth ( Rectangle drawRect, GraphicsPath &outside, GraphicsPath &border, GraphicsPath &inside ) : void
CreatePositionPathsBottom ( Rectangle drawRect ) : GraphicsPath
CreatePositionPathsBottom ( Rectangle drawRect, GraphicsPath &outside, GraphicsPath &border, GraphicsPath &inside ) : void
CreatePositionPathsLeft ( Rectangle drawRect ) : GraphicsPath
CreatePositionPathsLeft ( Rectangle drawRect, GraphicsPath &outside, GraphicsPath &border, GraphicsPath &inside ) : void
CreatePositionPathsRight ( Rectangle drawRect ) : GraphicsPath
CreatePositionPathsRight ( Rectangle drawRect, GraphicsPath &outside, GraphicsPath &border, GraphicsPath &inside ) : void
CreatePositionPathsTop ( Rectangle drawRect ) : GraphicsPath
CreatePositionPathsTop ( Rectangle drawRect, GraphicsPath &outside, GraphicsPath &border, GraphicsPath &inside ) : void
CreateTabBorderBackPath ( RightToLeft rtl, PaletteState state, bool forBorder, Rectangle rect, int borderWidth, TabBorderStyle tabBorderStyle, VisualOrientation orientation, bool smoothing ) : GraphicsPath
CreateTabBorderPath ( bool rtl, PaletteState state, bool forBorder, GraphicsPath borderPath, Rectangle rect, TabBorderStyle tabBorderStyle, VisualOrientation orientation ) : void
DiscoverCheckBoxState ( bool enabled, CheckState checkState, bool tracking, bool pressed ) : CheckBoxState
DiscoverRadioButtonState ( bool enabled, bool checkState, bool tracking, bool pressed ) : RadioButtonState
DrawBackLinearShadow ( RenderContext context, Rectangle rect, Rectangle gradientRect, Color backColor1, Color backColor2, PaletteColorStyle backColorStyle, float backColorAngle, VisualOrientation orientation, GraphicsPath path ) : void
DrawBackOneNote ( RenderContext context, Rectangle gradientRect, Color backColor1, Color backColor2, PaletteColorStyle backColorStyle, float backColorAngle, VisualOrientation orientation, GraphicsPath path ) : void
DrawBackRounded4 ( RenderContext context, Rectangle rect, Rectangle gradientRect, Color backColor1, Color backColor2, PaletteColorStyle backColorStyle, float backColorAngle, VisualOrientation orientation, GraphicsPath path ) : void
DrawBackRoundedTopLeftWhite ( RenderContext context, Rectangle rect, Rectangle gradientRect, Color backColor1, Color backColor2, PaletteColorStyle backColorStyle, float backColorAngle, VisualOrientation orientation, GraphicsPath path ) : void
DrawBackRoundedTopLight ( RenderContext context, Rectangle rect, Rectangle gradientRect, Color backColor1, Color backColor2, PaletteColorStyle backColorStyle, float backColorAngle, VisualOrientation orientation, GraphicsPath path ) : void
DrawBackRounding5 ( RenderContext context, Rectangle rect, Rectangle gradientRect, Color backColor1, Color backColor2, PaletteColorStyle backColorStyle, float backColorAngle, VisualOrientation orientation, GraphicsPath path ) : void
DrawBackSolidInside ( RenderContext context, Rectangle gradientRect, Color backColor1, Color backColor2, GraphicsPath path ) : void
DrawBackSolidLine ( RenderContext context, Rectangle rect, Color backColor1, Color backColor2, PaletteColorStyle style, GraphicsPath path ) : void
DrawDragDockingArrow ( RenderContext context, Color active, Rectangle rect, VisualOrientation orientation ) : void
DrawDragDockingMiddleLines ( GraphicsPath path, Rectangle rect, int tabExtend ) : void
DrawDragDockingRounded ( RenderContext context, RenderDragDockingData dragData, IPaletteDragDrop dragDropPalette ) : void
DrawDragDockingRoundedBackground ( RenderContext context, Color inside, Color border, RenderDragDockingData dragData ) : void
DrawDragDockingRoundedBottom ( RenderContext context, Color inside, Color border, Color active, Color inactive, RenderDragDockingData dragData ) : void
DrawDragDockingRoundedLeft ( RenderContext context, Color inside, Color border, Color active, Color inactive, RenderDragDockingData dragData ) : void
DrawDragDockingRoundedMiddle ( RenderContext context, Color inside, Color border, Color active, Color inactive, RenderDragDockingData dragData ) : void
DrawDragDockingRoundedRect ( RenderContext context, Color inside, Color border, Rectangle drawRect, int rounding ) : void
DrawDragDockingRoundedRight ( RenderContext context, Color inside, Color border, Color active, Color inactive, RenderDragDockingData dragData ) : void
DrawDragDockingRoundedTop ( RenderContext context, Color inside, Color border, Color active, Color inactive, RenderDragDockingData dragData ) : void
DrawDragDockingSquares ( RenderContext context, RenderDragDockingData dragData, IPaletteDragDrop dragDropPalette ) : void
DrawDragDockingSquaresBackground ( Graphics g, Color inside, Color border, RenderDragDockingData dragData ) : void
DrawDragDockingSquaresBottom ( Graphics g, Color activeColor, Color inactiveColor, RenderDragDockingData dragData ) : void
DrawDragDockingSquaresLeft ( Graphics g, Color activeColor, Color inactiveColor, RenderDragDockingData dragData ) : void
DrawDragDockingSquaresMiddle ( Graphics g, Color activeColor, Color inactiveColor, RenderDragDockingData dragData ) : void
DrawDragDockingSquaresRight ( Graphics g, Color activeColor, Color inactiveColor, RenderDragDockingData dragData ) : void
DrawDragDockingSquaresTop ( Graphics g, Color activeColor, Color inactiveColor, RenderDragDockingData dragData ) : void
MeasureDragDockingRounded ( RenderDragDockingData dragData, IPaletteDragDrop dragDropPalette ) : void
MeasureDragDockingSquares ( RenderDragDockingData dragData, IPaletteDragDrop dragDropPalette ) : void
OwningKryptonForm ( Control c ) : KryptonForm
PositionAlignContent ( StandardContentMemento memento, IPaletteContent paletteContent, PaletteState state, RightToLeft rtl, PaletteRelativeAlign alignH, PaletteRelativeAlign alignV, int cellX, int cellY, int cellWidth, int cellHeight, int spacingGap ) : void
PositionCellContent ( RightToLeft rtl, PaletteRelativeAlign drawH, PaletteRelativeAlign drawV, Size contentSize, int spacingGap, Rectangle &cellRect ) : Point
RenderStandard ( ) : System
RightToLeftIndex ( RightToLeft rtl, PaletteRelativeAlign align ) : int
ShouldDrawImage ( Image image ) : bool

Method Details

DrawBack() public method

Draw background to fill the specified path.
public DrawBack ( RenderContext context, Rectangle rect, GraphicsPath path, IPaletteBack palette, VisualOrientation orientation, PaletteState state, IDisposable memento ) : IDisposable
context RenderContext Rendering context.
rect System.Drawing.Rectangle Target rectangle that encloses path.
path System.Drawing.Drawing2D.GraphicsPath Graphics path.
palette IPaletteBack Palette used for drawing.
orientation VisualOrientation Visual orientation of the border.
state PaletteState State associated with rendering.
memento IDisposable Cache used for drawing.
return IDisposable

DrawBorder() public method

Draw border on the inside edge of the specified rectangle.
public DrawBorder ( RenderContext context, Rectangle rect, IPaletteBorder palette, VisualOrientation orientation, PaletteState state ) : void
context RenderContext Rendering context.
rect System.Drawing.Rectangle Target rectangle.
palette IPaletteBorder Palette used for drawing.
orientation VisualOrientation Visual orientation of the border.
state PaletteState State associated with rendering.
return void

DrawCheckBox() public method

Perform drawing of a check box.
public DrawCheckBox ( RenderContext context, Rectangle displayRect, IPalette palette, bool enabled, CheckState checkState, bool tracking, bool pressed ) : void
context RenderContext Render context.
displayRect System.Drawing.Rectangle Display area available for drawing.
palette IPalette Palette for sourcing display values.
enabled bool Should check box be displayed as enabled.
checkState CheckState The checked state of the check box.
tracking bool Should check box be displayed as hot tracking.
pressed bool Should check box be displayed as pressed.
return void

DrawContent() public method

Perform draw of content using provided memento.
public DrawContent ( RenderContext context, Rectangle displayRect, IPaletteContent palette, IDisposable memento, VisualOrientation orientation, PaletteState state, bool composition, bool allowFocusRect ) : void
context RenderContext Render context.
displayRect System.Drawing.Rectangle Display area available for drawing.
palette IPaletteContent Content palette details.
memento IDisposable Cached values from layout call.
orientation VisualOrientation Visual orientation of the content.
state PaletteState State associated with rendering.
composition bool Drawing onto a composition element.
allowFocusRect bool Allow drawing of focus rectangle.
return void

DrawDragDropDockingGlyph() public method

Draw a solid area glyph suitable for a drag drop area.
public DrawDragDropDockingGlyph ( RenderContext context, RenderDragDockingData dragData, IPaletteDragDrop dragDropPalette, PaletteDragFeedback feedback ) : void
context RenderContext Render context.
dragData RenderDragDockingData Set of drag docking data.
dragDropPalette IPaletteDragDrop Palette source of drawing values.
feedback PaletteDragFeedback Feedback requested.
return void

DrawDragDropSolidGlyph() public method

Draw a solid area glyph suitable for a drag drop area.
public DrawDragDropSolidGlyph ( RenderContext context, Rectangle drawRect, IPaletteDragDrop dragDropPalette ) : void
context RenderContext Render context.
drawRect System.Drawing.Rectangle Drawing rectangle space.
dragDropPalette IPaletteDragDrop Palette source of drawing values.
return void

DrawDropDownButton() public method

Perform drawing of a drop down button.
public DrawDropDownButton ( RenderContext context, Rectangle displayRect, IPalette palette, PaletteState state, VisualOrientation orientation ) : void
context RenderContext Render context.
displayRect System.Drawing.Rectangle Display area available for drawing.
palette IPalette Palette for sourcing display values.
state PaletteState State for which image size is needed.
orientation VisualOrientation How to orientate the image.
return void

DrawGridErrorGlyph() public method

Draw a grid error glyph.
public DrawGridErrorGlyph ( RenderContext context, Rectangle cellRect, PaletteState state, bool rtl ) : Rectangle
context RenderContext Render context.
cellRect System.Drawing.Rectangle Available drawing rectangle space.
state PaletteState State associated with rendering.
rtl bool Should be drawn from right to left.
return System.Drawing.Rectangle

DrawGridRowGlyph() public method

Draw a grid row glyph.
public DrawGridRowGlyph ( RenderContext context, GridRowGlyph rowGlyph, Rectangle cellRect, IPaletteContent paletteContent, PaletteState state, bool rtl ) : Rectangle
context RenderContext Render context.
rowGlyph GridRowGlyph Row glyph.
cellRect System.Drawing.Rectangle Available drawing rectangle space.
paletteContent IPaletteContent Palette to use for sourcing values.
state PaletteState State associated with rendering.
rtl bool Should be drawn from right to left.
return System.Drawing.Rectangle

DrawGridSortGlyph() public method

Draw a grid sorting direction glyph.
public DrawGridSortGlyph ( RenderContext context, SortOrder sortOrder, Rectangle cellRect, IPaletteContent paletteContent, PaletteState state, bool rtl ) : Rectangle
context RenderContext Render context.
sortOrder SortOrder Sorting order of the glyph.
cellRect System.Drawing.Rectangle Available drawing rectangle space.
paletteContent IPaletteContent Palette to use for sourcing values.
state PaletteState State associated with rendering.
rtl bool Should be drawn from right to left.
return System.Drawing.Rectangle

DrawInputControlDropDownGlyph() public method

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

DrawInputControlNumericDownGlyph() public method

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

DrawInputControlNumericUpGlyph() public method

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

DrawRadioButton() public method

Perform drawing of a radio button.
public DrawRadioButton ( RenderContext context, Rectangle displayRect, IPalette palette, bool enabled, bool checkState, bool tracking, bool pressed ) : void
context RenderContext Render context.
displayRect System.Drawing.Rectangle Display area available for drawing.
palette IPalette Palette for sourcing display values.
enabled bool Should radio button be displayed as enabled.
checkState bool Checked state of the radio button.
tracking bool Should radio button be displayed as hot tracking.
pressed bool Should radio button be displayed as pressed.
return void

DrawRibbonAppButton() protected method

Internal rendering method.
protected DrawRibbonAppButton ( PaletteRibbonShape shape, RenderContext context, Rectangle rect, PaletteState state, IPaletteRibbonBack palette, bool trackBorderAsPressed, IDisposable memento ) : IDisposable
shape PaletteRibbonShape
context RenderContext
rect System.Drawing.Rectangle
state PaletteState
palette IPaletteRibbonBack
trackBorderAsPressed bool
memento IDisposable
return IDisposable

DrawRibbonAppButtonBorder1() protected method

Internal rendering method.
protected DrawRibbonAppButtonBorder1 ( Graphics g, MementoRibbonAppButton memento ) : void
g System.Drawing.Graphics
memento MementoRibbonAppButton
return void

DrawRibbonAppButtonBorder2() protected method

Internal rendering method.
protected DrawRibbonAppButtonBorder2 ( Graphics g, MementoRibbonAppButton memento, PaletteState state, Color bottomLight, bool trackBorderAsPressed ) : void
g System.Drawing.Graphics
memento MementoRibbonAppButton
state PaletteState
bottomLight Color
trackBorderAsPressed bool
return void

DrawRibbonAppButtonGlowCenter() protected method

Internal rendering method.
protected DrawRibbonAppButtonGlowCenter ( Graphics g, MementoRibbonAppButton memento, PaletteState state, Color topLight, Color bottomLight ) : void
g System.Drawing.Graphics
memento MementoRibbonAppButton
state PaletteState
topLight Color
bottomLight Color
return void

DrawRibbonAppButtonGlowUpperBottom() protected method

Internal rendering method.
protected DrawRibbonAppButtonGlowUpperBottom ( Graphics g, MementoRibbonAppButton memento, PaletteState state, Color bottomLight, Color bottomMedium, Color bottomDark ) : void
g System.Drawing.Graphics
memento MementoRibbonAppButton
state PaletteState
bottomLight Color
bottomMedium Color
bottomDark Color
return void

DrawRibbonAppButtonLowerHalf() protected method

Internal rendering method.
protected DrawRibbonAppButtonLowerHalf ( Graphics g, MementoRibbonAppButton memento, PaletteState state, Color bottomDark, Color bottomLight, Color bottomMedium ) : void
g System.Drawing.Graphics
memento MementoRibbonAppButton
state PaletteState
bottomDark Color
bottomLight Color
bottomMedium Color
return void

DrawRibbonAppButtonUpperHalf() protected method

Internal rendering method.
protected DrawRibbonAppButtonUpperHalf ( Graphics g, MementoRibbonAppButton memento, PaletteState state, Color topDark, Color bottomDark, Color topLight, Color topMedium, bool trackBorderAsPressed ) : void
g System.Drawing.Graphics
memento MementoRibbonAppButton
state PaletteState
topDark Color
bottomDark Color
topLight Color
topMedium Color
trackBorderAsPressed bool
return void

DrawRibbonAppMenuInner() protected method

Internal rendering method.
protected DrawRibbonAppMenuInner ( RenderContext context, Rectangle rect, PaletteState state, IPaletteRibbonBack palette, IDisposable memento ) : IDisposable
context RenderContext
rect System.Drawing.Rectangle
state PaletteState
palette IPaletteRibbonBack
memento IDisposable
return IDisposable

DrawRibbonAppMenuOuter() protected method

Internal rendering method.
protected DrawRibbonAppMenuOuter ( RenderContext context, Rectangle rect, PaletteState state, IPaletteRibbonBack palette, IDisposable memento ) : IDisposable
context RenderContext
rect System.Drawing.Rectangle
state PaletteState
palette IPaletteRibbonBack
memento IDisposable
return IDisposable

DrawRibbonAppTab() protected method

Internal rendering method.
protected DrawRibbonAppTab ( PaletteRibbonShape shape, RenderContext context, Rectangle rect, PaletteState state, Color baseColor1, Color baseColor2, IDisposable memento ) : IDisposable
shape PaletteRibbonShape
context RenderContext
rect System.Drawing.Rectangle
state PaletteState
baseColor1 Color
baseColor2 Color
memento IDisposable
return IDisposable

DrawRibbonApplicationButton() public method

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

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

DrawRibbonBack() public method

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

DrawRibbonContextArrow() public method

Perform drawing of a ribbon context arrow glyph.
public DrawRibbonContextArrow ( 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.
return void

DrawRibbonDialogBoxLauncher() public method

Perform drawing of a ribbon dialog box launcher glyph.
public DrawRibbonDialogBoxLauncher ( 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.
return void

DrawRibbonDropArrow() public method

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

DrawRibbonGroupAreaBorder1And2() protected method

Internal rendering method.
protected DrawRibbonGroupAreaBorder1And2 ( RenderContext context, Rectangle rect, PaletteState state, IPaletteRibbonBack palette, bool limited, bool fading, IDisposable memento ) : IDisposable
context RenderContext
rect System.Drawing.Rectangle
state PaletteState
palette IPaletteRibbonBack
limited bool
fading bool
memento IDisposable
return IDisposable

DrawRibbonGroupAreaBorder3And4() protected method

Internal rendering method.
protected DrawRibbonGroupAreaBorder3And4 ( RenderContext context, Rectangle rect, PaletteState state, IPaletteRibbonBack palette, IDisposable memento, bool gradientTop ) : IDisposable
context RenderContext
rect System.Drawing.Rectangle
state PaletteState
palette IPaletteRibbonBack
memento IDisposable
gradientTop bool
return IDisposable

DrawRibbonGroupAreaBorderContext() protected method

Internal rendering method.
protected DrawRibbonGroupAreaBorderContext ( RenderContext context, Rectangle rect, PaletteState state, IPaletteRibbonBack palette, IDisposable memento ) : IDisposable
context RenderContext
rect System.Drawing.Rectangle
state PaletteState
palette IPaletteRibbonBack
memento IDisposable
return IDisposable

DrawRibbonGroupCollapsedBorder() protected method

Internal rendering method.
protected DrawRibbonGroupCollapsedBorder ( RenderContext context, Rectangle rect, PaletteState state, IPaletteRibbonBack palette, IDisposable memento ) : IDisposable
context RenderContext
rect System.Drawing.Rectangle
state PaletteState
palette IPaletteRibbonBack
memento IDisposable
return IDisposable

DrawRibbonGroupCollapsedFrameBorder() protected method

Internal rendering method.
protected DrawRibbonGroupCollapsedFrameBorder ( RenderContext context, Rectangle rect, PaletteState state, IPaletteRibbonBack palette, IDisposable memento ) : IDisposable
context RenderContext
rect System.Drawing.Rectangle
state PaletteState
palette IPaletteRibbonBack
memento IDisposable
return IDisposable

DrawRibbonGroupGradientOne() protected method

Internal rendering method.
protected DrawRibbonGroupGradientOne ( RenderContext context, Rectangle rect, PaletteState state, IPaletteRibbonBack palette, IDisposable memento ) : IDisposable
context RenderContext
rect System.Drawing.Rectangle
state PaletteState
palette IPaletteRibbonBack
memento IDisposable
return IDisposable

DrawRibbonGroupGradientTwo() protected method

Internal rendering method.
protected DrawRibbonGroupGradientTwo ( RenderContext context, Rectangle rect, PaletteState state, IPaletteRibbonBack palette, float percent, IDisposable memento ) : IDisposable
context RenderContext
rect System.Drawing.Rectangle
state PaletteState
palette IPaletteRibbonBack
percent float
memento IDisposable
return IDisposable

DrawRibbonGroupNormalBorder() protected method

Internal rendering method.
protected DrawRibbonGroupNormalBorder ( RenderContext context, Rectangle rect, PaletteState state, IPaletteRibbonBack palette, bool tracking, bool lightInside, IDisposable memento ) : IDisposable
context RenderContext
rect System.Drawing.Rectangle
state PaletteState
palette IPaletteRibbonBack
tracking bool
lightInside bool
memento IDisposable
return IDisposable

DrawRibbonGroupNormalBorderSep() protected method

Internal rendering method.
protected DrawRibbonGroupNormalBorderSep ( bool showingInPopup, RenderContext context, Rectangle rect, PaletteState state, IPaletteRibbonBack palette, IDisposable memento, bool pressed, bool tracking, bool dark ) : IDisposable
showingInPopup bool
context RenderContext
rect System.Drawing.Rectangle
state PaletteState
palette IPaletteRibbonBack
memento IDisposable
pressed bool
tracking bool
dark bool
return IDisposable

DrawRibbonGroupNormalTitle() protected method

Internal rendering method.
protected DrawRibbonGroupNormalTitle ( RenderContext context, Rectangle rect, PaletteState state, IPaletteRibbonBack palette, IDisposable memento ) : IDisposable
context RenderContext
rect System.Drawing.Rectangle
state PaletteState
palette IPaletteRibbonBack
memento IDisposable
return IDisposable

DrawRibbonGroupSeparator() public method

Perform drawing of a ribbon group separator.
public DrawRibbonGroupSeparator ( 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.
return void

DrawRibbonLinear() protected method

Internal rendering method.
protected DrawRibbonLinear ( RenderContext context, Rectangle rect, PaletteState state, IPaletteRibbonBack palette, IDisposable memento ) : IDisposable
context RenderContext
rect System.Drawing.Rectangle
state PaletteState
palette IPaletteRibbonBack
memento IDisposable
return IDisposable

DrawRibbonLinearBorder() protected method

Internal rendering method.
protected DrawRibbonLinearBorder ( RenderContext context, Rectangle rect, PaletteState state, IPaletteRibbonBack palette, IDisposable memento ) : IDisposable
context RenderContext
rect System.Drawing.Rectangle
state PaletteState
palette IPaletteRibbonBack
memento IDisposable
return IDisposable

DrawRibbonOverflow() public method

Perform drawing of a ribbon overflow image.
public DrawRibbonOverflow ( 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.
return void

DrawRibbonQATFullbarRound() protected method

Internal rendering method.
protected DrawRibbonQATFullbarRound ( RenderContext context, Rectangle rect, PaletteState state, IPaletteRibbonBack palette, IDisposable memento ) : IDisposable
context RenderContext
rect System.Drawing.Rectangle
state PaletteState
palette IPaletteRibbonBack
memento IDisposable
return IDisposable

DrawRibbonQATFullbarSquare() protected method

Internal rendering method.
protected DrawRibbonQATFullbarSquare ( RenderContext context, Rectangle rect, PaletteState state, IPaletteRibbonBack palette, IDisposable memento ) : IDisposable
context RenderContext
rect System.Drawing.Rectangle
state PaletteState
palette IPaletteRibbonBack
memento IDisposable
return IDisposable

DrawRibbonQATMinibarDouble() protected method

Internal rendering method.
protected DrawRibbonQATMinibarDouble ( RenderContext context, Rectangle rect, PaletteState state, IPaletteRibbonBack palette, bool composition, IDisposable memento ) : IDisposable
context RenderContext
rect System.Drawing.Rectangle
state PaletteState
palette IPaletteRibbonBack
composition bool
memento IDisposable
return IDisposable

DrawRibbonQATMinibarSingle() protected method

Internal rendering method.
protected DrawRibbonQATMinibarSingle ( RenderContext context, Rectangle rect, PaletteState state, IPaletteRibbonBack palette, bool composition, IDisposable memento ) : IDisposable
context RenderContext
rect System.Drawing.Rectangle
state PaletteState
palette IPaletteRibbonBack
composition bool
memento IDisposable
return IDisposable

DrawRibbonQATOverflow() protected method

Internal rendering method.
protected DrawRibbonQATOverflow ( PaletteRibbonShape shape, RenderContext context, Rectangle rect, PaletteState state, IPaletteRibbonBack palette, IDisposable memento ) : IDisposable
shape PaletteRibbonShape
context RenderContext
rect System.Drawing.Rectangle
state PaletteState
palette IPaletteRibbonBack
memento IDisposable
return IDisposable

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

DrawRibbonTabContextSelected() protected method

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

DrawRibbonTabContextSelectedBottom() protected method

Internal rendering method.
protected DrawRibbonTabContextSelectedBottom ( Rectangle rect, Color c2, MementoRibbonTabContextSelected cache ) : void
rect System.Drawing.Rectangle
c2 Color
cache MementoRibbonTabContextSelected
return void

DrawRibbonTabContextSelectedBottomDraw() protected method

Internal rendering method.
protected DrawRibbonTabContextSelectedBottomDraw ( Rectangle rect, MementoRibbonTabContextSelected cache, Graphics g ) : void
rect System.Drawing.Rectangle
cache MementoRibbonTabContextSelected
g System.Drawing.Graphics
return void

DrawRibbonTabContextSelectedLeft() protected method

Internal rendering method.
protected DrawRibbonTabContextSelectedLeft ( Rectangle rect, Color c2, MementoRibbonTabContextSelected cache ) : void
rect System.Drawing.Rectangle
c2 Color
cache MementoRibbonTabContextSelected
return void

DrawRibbonTabContextSelectedLeftDraw() protected method

Internal rendering method.
protected DrawRibbonTabContextSelectedLeftDraw ( Rectangle rect, MementoRibbonTabContextSelected cache, Graphics g ) : void
rect System.Drawing.Rectangle
cache MementoRibbonTabContextSelected
g System.Drawing.Graphics
return void

DrawRibbonTabContextSelectedRight() protected method

Internal rendering method.
protected DrawRibbonTabContextSelectedRight ( Rectangle rect, Color c2, MementoRibbonTabContextSelected cache ) : void
rect System.Drawing.Rectangle
c2 Color
cache MementoRibbonTabContextSelected
return void

DrawRibbonTabContextSelectedRightDraw() protected method

Internal rendering method.
protected DrawRibbonTabContextSelectedRightDraw ( Rectangle rect, MementoRibbonTabContextSelected cache, Graphics g ) : void
rect System.Drawing.Rectangle
cache MementoRibbonTabContextSelected
g System.Drawing.Graphics
return void

DrawRibbonTabContextSelectedTop() protected method

Internal rendering method.
protected DrawRibbonTabContextSelectedTop ( Rectangle rect, Color c2, MementoRibbonTabContextSelected cache ) : void
rect System.Drawing.Rectangle
c2 Color
cache MementoRibbonTabContextSelected
return void

DrawRibbonTabContextSelectedTopDraw() protected method

Internal rendering method.
protected DrawRibbonTabContextSelectedTopDraw ( Rectangle rect, MementoRibbonTabContextSelected cache, Graphics g ) : void
rect System.Drawing.Rectangle
cache MementoRibbonTabContextSelected
g System.Drawing.Graphics
return void

DrawRibbonTabContextTitle() public method

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

DrawRibbonTabFocus2010() protected method

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

DrawRibbonTabFocusBottom2010() protected method

Internal rendering method.
protected DrawRibbonTabFocusBottom2010 ( Rectangle rect, Color c3, Color c4, MementoRibbonTabTracking2010 cache ) : void
rect System.Drawing.Rectangle
c3 Color
c4 Color
cache MementoRibbonTabTracking2010
return void

DrawRibbonTabFocusLeft2010() protected method

Internal rendering method.
protected DrawRibbonTabFocusLeft2010 ( Rectangle rect, Color c3, Color c4, MementoRibbonTabTracking2010 cache ) : void
rect System.Drawing.Rectangle
c3 Color
c4 Color
cache MementoRibbonTabTracking2010
return void

DrawRibbonTabFocusRight2010() protected method

Internal rendering method.
protected DrawRibbonTabFocusRight2010 ( Rectangle rect, Color c3, Color c4, MementoRibbonTabTracking2010 cache ) : void
rect System.Drawing.Rectangle
c3 Color
c4 Color
cache MementoRibbonTabTracking2010
return void

DrawRibbonTabFocusTop2010() protected method

Internal rendering method.
protected DrawRibbonTabFocusTop2010 ( Rectangle rect, Color c3, Color c4, MementoRibbonTabTracking2010 cache ) : void
rect System.Drawing.Rectangle
c3 Color
c4 Color
cache MementoRibbonTabTracking2010
return void

DrawRibbonTabGlowing() protected method

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

DrawRibbonTabGlowingBottom() protected method

Internal rendering method.
protected DrawRibbonTabGlowingBottom ( Rectangle rect, Color c1, Color c2, Color insideColor, MementoRibbonTabGlowing cache ) : void
rect System.Drawing.Rectangle
c1 Color
c2 Color
insideColor Color
cache MementoRibbonTabGlowing
return void

DrawRibbonTabGlowingLeft() protected method

Internal rendering method.
protected DrawRibbonTabGlowingLeft ( Rectangle rect, Color c1, Color c2, Color insideColor, MementoRibbonTabGlowing cache ) : void
rect System.Drawing.Rectangle
c1 Color
c2 Color
insideColor Color
cache MementoRibbonTabGlowing
return void

DrawRibbonTabGlowingRight() protected method

Internal rendering method.
protected DrawRibbonTabGlowingRight ( Rectangle rect, Color c1, Color c2, Color insideColor, MementoRibbonTabGlowing cache ) : void
rect System.Drawing.Rectangle
c1 Color
c2 Color
insideColor Color
cache MementoRibbonTabGlowing
return void

DrawRibbonTabGlowingTop() protected method

Internal rendering method.
protected DrawRibbonTabGlowingTop ( Rectangle rect, Color c1, Color c2, Color insideColor, MementoRibbonTabGlowing cache ) : void
rect System.Drawing.Rectangle
c1 Color
c2 Color
insideColor Color
cache MementoRibbonTabGlowing
return void

DrawRibbonTabHighlight() protected method

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

DrawRibbonTabHighlightBottom() protected method

Internal rendering method.
protected DrawRibbonTabHighlightBottom ( Rectangle rect, Color c4, Color c5, MementoRibbonTabHighlight cache ) : void
rect System.Drawing.Rectangle
c4 Color
c5 Color
cache MementoRibbonTabHighlight
return void

DrawRibbonTabHighlightBottomDraw() protected method

Internal rendering method.
protected DrawRibbonTabHighlightBottomDraw ( Rectangle rect, Color c1, Color c2, Color c3, Color c4, Color c5, MementoRibbonTabHighlight cache, Graphics g, bool alternate ) : void
rect System.Drawing.Rectangle
c1 Color
c2 Color
c3 Color
c4 Color
c5 Color
cache MementoRibbonTabHighlight
g System.Drawing.Graphics
alternate bool
return void

DrawRibbonTabHighlightLeft() protected method

Internal rendering method.
protected DrawRibbonTabHighlightLeft ( Rectangle rect, Color c4, Color c5, MementoRibbonTabHighlight cache ) : void
rect System.Drawing.Rectangle
c4 Color
c5 Color
cache MementoRibbonTabHighlight
return void

DrawRibbonTabHighlightLeftDraw() protected method

Internal rendering method.
protected DrawRibbonTabHighlightLeftDraw ( Rectangle rect, Color c1, Color c2, Color c3, Color c4, Color c5, MementoRibbonTabHighlight cache, Graphics g, bool alternate ) : void
rect System.Drawing.Rectangle
c1 Color
c2 Color
c3 Color
c4 Color
c5 Color
cache MementoRibbonTabHighlight
g System.Drawing.Graphics
alternate bool
return void

DrawRibbonTabHighlightRight() protected method

Internal rendering method.
protected DrawRibbonTabHighlightRight ( Rectangle rect, Color c4, Color c5, MementoRibbonTabHighlight cache ) : void
rect System.Drawing.Rectangle
c4 Color
c5 Color
cache MementoRibbonTabHighlight
return void

DrawRibbonTabHighlightRightDraw() protected method

Internal rendering method.
protected DrawRibbonTabHighlightRightDraw ( Rectangle rect, Color c1, Color c2, Color c3, Color c4, Color c5, MementoRibbonTabHighlight cache, Graphics g, bool alternate ) : void
rect System.Drawing.Rectangle
c1 Color
c2 Color
c3 Color
c4 Color
c5 Color
cache MementoRibbonTabHighlight
g System.Drawing.Graphics
alternate bool
return void

DrawRibbonTabHighlightTop() protected method

Internal rendering method.
protected DrawRibbonTabHighlightTop ( Rectangle rect, Color c4, Color c5, MementoRibbonTabHighlight cache ) : void
rect System.Drawing.Rectangle
c4 Color
c5 Color
cache MementoRibbonTabHighlight
return void

DrawRibbonTabHighlightTopDraw() protected method

Internal rendering method.
protected DrawRibbonTabHighlightTopDraw ( Rectangle rect, Color c1, Color c2, Color c3, Color c4, Color c5, MementoRibbonTabHighlight cache, Graphics g, bool alternate ) : void
rect System.Drawing.Rectangle
c1 Color
c2 Color
c3 Color
c4 Color
c5 Color
cache MementoRibbonTabHighlight
g System.Drawing.Graphics
alternate bool
return void

DrawRibbonTabSelected2007() protected method

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

DrawRibbonTabSelectedBottom2007() protected method

Internal rendering method.
protected DrawRibbonTabSelectedBottom2007 ( Rectangle rect, Color c4, Color c5, MementoRibbonTabSelected2007 cache ) : void
rect System.Drawing.Rectangle
c4 Color
c5 Color
cache MementoRibbonTabSelected2007
return void

DrawRibbonTabSelectedBottom2010() protected method

Internal rendering method.
protected DrawRibbonTabSelectedBottom2010 ( Rectangle rect, Color c2, Color c3, Color c5, MementoRibbonTabSelected2010 cache ) : void
rect System.Drawing.Rectangle
c2 Color
c3 Color
c5 Color
cache MementoRibbonTabSelected2010
return void

DrawRibbonTabSelectedBottomDraw2007() protected method

Internal rendering method.
protected DrawRibbonTabSelectedBottomDraw2007 ( Rectangle rect, MementoRibbonTabSelected2007 cache, Graphics g ) : void
rect System.Drawing.Rectangle
cache MementoRibbonTabSelected2007
g System.Drawing.Graphics
return void

DrawRibbonTabSelectedBottomDraw2010() protected method

Internal rendering method.
protected DrawRibbonTabSelectedBottomDraw2010 ( Rectangle rect, MementoRibbonTabSelected2010 cache, Graphics g ) : void
rect System.Drawing.Rectangle
cache MementoRibbonTabSelected2010
g System.Drawing.Graphics
return void

DrawRibbonTabSelectedLeft2007() protected method

Internal rendering method.
protected DrawRibbonTabSelectedLeft2007 ( Rectangle rect, Color c4, Color c5, MementoRibbonTabSelected2007 cache ) : void
rect System.Drawing.Rectangle
c4 Color
c5 Color
cache MementoRibbonTabSelected2007
return void

DrawRibbonTabSelectedLeft2010() protected method

Internal rendering method.
protected DrawRibbonTabSelectedLeft2010 ( Rectangle rect, Color c2, Color c3, Color c5, MementoRibbonTabSelected2010 cache ) : void
rect System.Drawing.Rectangle
c2 Color
c3 Color
c5 Color
cache MementoRibbonTabSelected2010
return void

DrawRibbonTabSelectedLeftDraw2007() protected method

Internal rendering method.
protected DrawRibbonTabSelectedLeftDraw2007 ( Rectangle rect, MementoRibbonTabSelected2007 cache, Graphics g ) : void
rect System.Drawing.Rectangle
cache MementoRibbonTabSelected2007
g System.Drawing.Graphics
return void

DrawRibbonTabSelectedLeftDraw2010() protected method

Internal rendering method.
protected DrawRibbonTabSelectedLeftDraw2010 ( Rectangle rect, MementoRibbonTabSelected2010 cache, Graphics g ) : void
rect System.Drawing.Rectangle
cache MementoRibbonTabSelected2010
g System.Drawing.Graphics
return void

DrawRibbonTabSelectedRight2007() protected method

Internal rendering method.
protected DrawRibbonTabSelectedRight2007 ( Rectangle rect, Color c4, Color c5, MementoRibbonTabSelected2007 cache ) : void
rect System.Drawing.Rectangle
c4 Color
c5 Color
cache MementoRibbonTabSelected2007
return void

DrawRibbonTabSelectedRight2010() protected method

Internal rendering method.
protected DrawRibbonTabSelectedRight2010 ( Rectangle rect, Color c2, Color c3, Color c5, MementoRibbonTabSelected2010 cache ) : void
rect System.Drawing.Rectangle
c2 Color
c3 Color
c5 Color
cache MementoRibbonTabSelected2010
return void

DrawRibbonTabSelectedRightDraw2007() protected method

Internal rendering method.
protected DrawRibbonTabSelectedRightDraw2007 ( Rectangle rect, MementoRibbonTabSelected2007 cache, Graphics g ) : void
rect System.Drawing.Rectangle
cache MementoRibbonTabSelected2007
g System.Drawing.Graphics
return void

DrawRibbonTabSelectedRightDraw2010() protected method

Internal rendering method.
protected DrawRibbonTabSelectedRightDraw2010 ( Rectangle rect, MementoRibbonTabSelected2010 cache, Graphics g ) : void
rect System.Drawing.Rectangle
cache MementoRibbonTabSelected2010
g System.Drawing.Graphics
return void

DrawRibbonTabSelectedTop2007() protected method

Internal rendering method.
protected DrawRibbonTabSelectedTop2007 ( Rectangle rect, Color c4, Color c5, MementoRibbonTabSelected2007 cache ) : void
rect System.Drawing.Rectangle
c4 Color
c5 Color
cache MementoRibbonTabSelected2007
return void

DrawRibbonTabSelectedTop2010() protected method

Internal rendering method.
protected DrawRibbonTabSelectedTop2010 ( Rectangle rect, Color c2, Color c3, Color c5, MementoRibbonTabSelected2010 cache ) : void
rect System.Drawing.Rectangle
c2 Color
c3 Color
c5 Color
cache MementoRibbonTabSelected2010
return void

DrawRibbonTabSelectedTopDraw2007() protected method

Internal rendering method.
protected DrawRibbonTabSelectedTopDraw2007 ( Rectangle rect, MementoRibbonTabSelected2007 cache, Graphics g ) : void
rect System.Drawing.Rectangle
cache MementoRibbonTabSelected2007
g System.Drawing.Graphics
return void

DrawRibbonTabSelectedTopDraw2010() protected method

Internal rendering method.
protected DrawRibbonTabSelectedTopDraw2010 ( Rectangle rect, MementoRibbonTabSelected2010 cache, Graphics g ) : void
rect System.Drawing.Rectangle
cache MementoRibbonTabSelected2010
g System.Drawing.Graphics
return void

DrawRibbonTabTracking2007() protected method

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

DrawRibbonTabTrackingBottom2007() protected method

Internal rendering method.
protected DrawRibbonTabTrackingBottom2007 ( Rectangle rect, Color c1, Color c2, MementoRibbonTabTracking2007 cache ) : void
rect System.Drawing.Rectangle
c1 Color
c2 Color
cache MementoRibbonTabTracking2007
return void

DrawRibbonTabTrackingBottom2010() protected method

Internal rendering method.
protected DrawRibbonTabTrackingBottom2010 ( Rectangle rect, Color c3, Color c4, MementoRibbonTabTracking2010 cache ) : void
rect System.Drawing.Rectangle
c3 Color
c4 Color
cache MementoRibbonTabTracking2010
return void

DrawRibbonTabTrackingBottomDraw2007() protected method

Internal rendering method.
protected DrawRibbonTabTrackingBottomDraw2007 ( Rectangle rect, MementoRibbonTabTracking2007 cache, Graphics g ) : void
rect System.Drawing.Rectangle
cache MementoRibbonTabTracking2007
g System.Drawing.Graphics
return void

DrawRibbonTabTrackingLeft2007() protected method

Internal rendering method.
protected DrawRibbonTabTrackingLeft2007 ( Rectangle rect, Color c1, Color c2, MementoRibbonTabTracking2007 cache ) : void
rect System.Drawing.Rectangle
c1 Color
c2 Color
cache MementoRibbonTabTracking2007
return void

DrawRibbonTabTrackingLeft2010() protected method

Internal rendering method.
protected DrawRibbonTabTrackingLeft2010 ( Rectangle rect, Color c3, Color c4, MementoRibbonTabTracking2010 cache ) : void
rect System.Drawing.Rectangle
c3 Color
c4 Color
cache MementoRibbonTabTracking2010
return void

DrawRibbonTabTrackingLeftDraw2007() protected method

Internal rendering method.
protected DrawRibbonTabTrackingLeftDraw2007 ( Rectangle rect, MementoRibbonTabTracking2007 cache, Graphics g ) : void
rect System.Drawing.Rectangle
cache MementoRibbonTabTracking2007
g System.Drawing.Graphics
return void

DrawRibbonTabTrackingRight2007() protected method

Internal rendering method.
protected DrawRibbonTabTrackingRight2007 ( Rectangle rect, Color c1, Color c2, MementoRibbonTabTracking2007 cache ) : void
rect System.Drawing.Rectangle
c1 Color
c2 Color
cache MementoRibbonTabTracking2007
return void

DrawRibbonTabTrackingRight2010() protected method

Internal rendering method.
protected DrawRibbonTabTrackingRight2010 ( Rectangle rect, Color c3, Color c4, MementoRibbonTabTracking2010 cache ) : void
rect System.Drawing.Rectangle
c3 Color
c4 Color
cache MementoRibbonTabTracking2010
return void

DrawRibbonTabTrackingRightDraw2007() protected method

Internal rendering method.
protected DrawRibbonTabTrackingRightDraw2007 ( Rectangle rect, MementoRibbonTabTracking2007 cache, Graphics g ) : void
rect System.Drawing.Rectangle
cache MementoRibbonTabTracking2007
g System.Drawing.Graphics
return void

DrawRibbonTabTrackingTop2007() protected method

Internal rendering method.
protected DrawRibbonTabTrackingTop2007 ( Rectangle rect, Color c1, Color c2, MementoRibbonTabTracking2007 cache ) : void
rect System.Drawing.Rectangle
c1 Color
c2 Color
cache MementoRibbonTabTracking2007
return void

DrawRibbonTabTrackingTop2010() protected method

Internal rendering method.
protected DrawRibbonTabTrackingTop2010 ( Rectangle rect, Color c3, Color c4, MementoRibbonTabTracking2010 cache ) : void
rect System.Drawing.Rectangle
c3 Color
c4 Color
cache MementoRibbonTabTracking2010
return void

DrawRibbonTabTrackingTopDraw2007() protected method

Internal rendering method.
protected DrawRibbonTabTrackingTopDraw2007 ( Rectangle rect, MementoRibbonTabTracking2007 cache, Graphics g ) : void
rect System.Drawing.Rectangle
cache MementoRibbonTabTracking2007
g System.Drawing.Graphics
return void

DrawSeparator() public method

Perform drawing of a separator glyph.
public DrawSeparator ( RenderContext context, Rectangle displayRect, IPaletteBack paletteBack, IPaletteBorder paletteBorder, Orientation orientation, PaletteState state, bool canMove ) : void
context RenderContext Render context.
displayRect System.Drawing.Rectangle Display area available for drawing.
paletteBack IPaletteBack Background palette details.
paletteBorder IPaletteBorder Border palette details.
orientation Orientation Visual orientation of the content.
state PaletteState State associated with rendering.
canMove bool Can the separator be moved.
return void

DrawTabBorder() public method

Draw border on the inside edge of the specified rectangle.
public DrawTabBorder ( RenderContext context, Rectangle rect, IPaletteBorder palette, VisualOrientation orientation, PaletteState state, TabBorderStyle tabBorderStyle ) : void
context RenderContext Rendering context.
rect System.Drawing.Rectangle Target rectangle.
palette IPaletteBorder Palette used for drawing.
orientation VisualOrientation Visual orientation of the border.
state PaletteState State associated with rendering.
tabBorderStyle TabBorderStyle Style of tab border.
return void

DrawTrackGlyph() public method

Draw the track bar track glyph.
public DrawTrackGlyph ( RenderContext context, PaletteState state, IPaletteElementColor elementPalette, Rectangle drawRect, Orientation orientation, bool volumeControl ) : void
context RenderContext Render context.
state PaletteState Element state.
elementPalette IPaletteElementColor Source of palette colors.
drawRect System.Drawing.Rectangle Drawing rectangle that should contain the track.
orientation Orientation Drawing orientation.
volumeControl bool Drawing as a volume control or standard slider.
return void

DrawTrackPositionGlyph() public method

Draw the track bar position glyph.
public DrawTrackPositionGlyph ( RenderContext context, PaletteState state, IPaletteElementColor elementPalette, Rectangle drawRect, Orientation orientation, TickStyle tickStyle ) : void
context RenderContext Render context.
state PaletteState Element state.
elementPalette IPaletteElementColor Source of palette colors.
drawRect System.Drawing.Rectangle Drawing rectangle that should contain the track.
orientation Orientation Drawing orientation.
tickStyle TickStyle Tick marks that surround the position.
return void

DrawTrackTicksGlyph() public method

Draw the track bar ticks glyph.
public DrawTrackTicksGlyph ( RenderContext context, PaletteState state, IPaletteElementColor elementPalette, Rectangle drawRect, Orientation orientation, bool topRight, Size positionSize, int minimum, int maximum, int frequency ) : void
context RenderContext Render context.
state PaletteState Element state.
elementPalette IPaletteElementColor Source of palette colors.
drawRect System.Drawing.Rectangle Drawing rectangle that should contain ticks.
orientation Orientation Orientation of the drawing area.
topRight bool Drawing on the topRight or the bottomLeft.
positionSize System.Drawing.Size Size of the position indicator.
minimum int First value.
maximum int Last value.
frequency int How often ticks are drawn.
return void

EvalTransparentPaint() public method

Evaluate if transparent painting is needed for background or border palettes.
public EvalTransparentPaint ( IPaletteBack paletteBack, IPaletteBorder paletteBorder, PaletteState state ) : bool
paletteBack IPaletteBack Background palette to test.
paletteBorder IPaletteBorder Background palette to test.
state PaletteState Element state associated with palette.
return bool

EvalTransparentPaint() public method

Evaluate if transparent painting is needed for background palette.
public EvalTransparentPaint ( IPaletteBack paletteBack, PaletteState state ) : bool
paletteBack IPaletteBack Background palette to test.
state PaletteState Element state associated with palette.
return bool

GetBackPath() public method

Generate a graphics path that encloses the border and is used when rendering a background to ensure the background does not draw over the border area.
public GetBackPath ( RenderContext context, Rectangle rect, IPaletteBorder palette, VisualOrientation orientation, PaletteState state ) : GraphicsPath
context RenderContext Rendering context.
rect System.Drawing.Rectangle Target rectangle.
palette IPaletteBorder Palette used for drawing.
orientation VisualOrientation Visual orientation of the border.
state PaletteState State associated with rendering.
return System.Drawing.Drawing2D.GraphicsPath

GetBorderDisplayPadding() public method

Gets the padding used to position display elements completely inside border drawing.
public GetBorderDisplayPadding ( IPaletteBorder palette, PaletteState state, VisualOrientation orientation ) : Padding
palette IPaletteBorder Palette used for drawing.
state PaletteState State associated with rendering.
orientation VisualOrientation Visual orientation of the border.
return Padding

GetBorderPath() public method

Generate a graphics path that is in the middle of the border.
public GetBorderPath ( RenderContext context, Rectangle rect, IPaletteBorder palette, VisualOrientation orientation, PaletteState state ) : GraphicsPath
context RenderContext Rendering context.
rect System.Drawing.Rectangle Target rectangle.
palette IPaletteBorder Palette used for drawing.
orientation VisualOrientation Visual orientation of the border.
state PaletteState State associated with rendering.
return System.Drawing.Drawing2D.GraphicsPath

GetBorderRawPadding() public method

Gets the raw padding used per edge of the border.
public GetBorderRawPadding ( IPaletteBorder palette, PaletteState state, VisualOrientation orientation ) : Padding
palette IPaletteBorder Palette used for drawing.
state PaletteState State associated with rendering.
orientation VisualOrientation Visual orientation of the border.
return Padding

GetCheckBoxPreferredSize() public method

Calculate the requested display size for the check box.
public GetCheckBoxPreferredSize ( ViewLayoutContext context, IPalette palette, bool enabled, CheckState checkState, bool tracking, bool pressed ) : Size
context ViewLayoutContext Render context.
palette IPalette Palette for sourcing display values.
enabled bool Should check box be displayed as enabled.
checkState CheckState The checked state of the check box.
tracking bool Should check box be displayed as hot tracking.
pressed bool Should check box be displayed as pressed.
return System.Drawing.Size

GetContentImageDisplayed() public method

Request the calculated display of the image.
public GetContentImageDisplayed ( IDisposable memento ) : bool
memento IDisposable Cached values from layout call.
return bool

GetContentImageRectangle() public method

Request the calculated position of the content image.
public GetContentImageRectangle ( IDisposable memento ) : Rectangle
memento IDisposable Cached values from layout call.
return Rectangle

GetContentLongTextDisplayed() public method

Request the calculated display of the long text.
public GetContentLongTextDisplayed ( IDisposable memento ) : bool
memento IDisposable Cached values from layout call.
return bool

GetContentLongTextRectangle() public method

Request the calculated position of the content long text.
public GetContentLongTextRectangle ( IDisposable memento ) : Rectangle
memento IDisposable Cached values from layout call.
return Rectangle

GetContentPreferredSize() public method

Get the preferred size for drawing the content.
public GetContentPreferredSize ( ViewLayoutContext context, IPaletteContent palette, IContentValues values, VisualOrientation orientation, PaletteState state, bool composition ) : Size
context ViewLayoutContext Layout context.
palette IPaletteContent Content palette details.
values IContentValues Content values.
orientation VisualOrientation Visual orientation of the content.
state PaletteState State associated with rendering.
composition bool Should draw on a composition element.
return Size

GetContentShortTextDisplayed() public method

Request the calculated display of the short text.
public GetContentShortTextDisplayed ( IDisposable memento ) : bool
memento IDisposable Cached values from layout call.
return bool

GetContentShortTextRectangle() public method

Request the calculated position of the content short text.
public GetContentShortTextRectangle ( IDisposable memento ) : Rectangle
memento IDisposable Cached values from layout call.
return Rectangle

GetDropDownButtonPreferredSize() public method

Calculate the requested display size for the drop down button.
public GetDropDownButtonPreferredSize ( ViewLayoutContext context, IPalette palette, PaletteState state, VisualOrientation orientation ) : Size
context ViewLayoutContext Render context.
palette IPalette Palette for sourcing display values.
state PaletteState State for which image size is needed.
orientation VisualOrientation How to orientate the image.
return Size

GetOutsideBorderPath() public method

Generate a graphics path that is the outside edge of the border.
public GetOutsideBorderPath ( RenderContext context, Rectangle rect, IPaletteBorder palette, VisualOrientation orientation, PaletteState state ) : GraphicsPath
context RenderContext Rendering context.
rect Rectangle Target rectangle.
palette IPaletteBorder Palette used for drawing.
orientation VisualOrientation Visual orientation of the border.
state PaletteState State associated with rendering.
return GraphicsPath

GetRadioButtonPreferredSize() public method

Calculate the requested display size for the radio button.
public GetRadioButtonPreferredSize ( ViewLayoutContext context, IPalette palette, bool enabled, bool checkState, bool tracking, bool pressed ) : Size
context ViewLayoutContext Render context.
palette IPalette Palette for sourcing display values.
enabled bool Should check box be displayed as enabled.
checkState bool Checked state of the radio button.
tracking bool Should check box be displayed as hot tracking.
pressed bool Should check box be displayed as pressed.
return Size

GetTabBackPath() public method

Generate a graphics path that encloses the border and is used when rendering a background to ensure the background does not draw over the border area.
public GetTabBackPath ( RenderContext context, Rectangle rect, IPaletteBorder palette, VisualOrientation orientation, PaletteState state, TabBorderStyle tabBorderStyle ) : GraphicsPath
context RenderContext Rendering context.
rect Rectangle Target rectangle.
palette IPaletteBorder Palette used for drawing.
orientation VisualOrientation Visual orientation of the border.
state PaletteState State associated with rendering.
tabBorderStyle TabBorderStyle Style of tab border.
return GraphicsPath

GetTabBorderDisplayPadding() public method

Gets the padding used to position display elements completely inside border drawing.
public GetTabBorderDisplayPadding ( ViewLayoutContext context, IPaletteBorder palette, PaletteState state, VisualOrientation orientation, TabBorderStyle tabBorderStyle ) : Padding
context ViewLayoutContext View layout context.
palette IPaletteBorder Palette used for drawing.
state PaletteState State associated with rendering.
orientation VisualOrientation Visual orientation of the border.
tabBorderStyle TabBorderStyle Style of tab border.
return Padding

GetTabBorderLeftDrawing() public method

Gets if the tabs should be drawn from left to right for z-ordering.
public GetTabBorderLeftDrawing ( TabBorderStyle tabBorderStyle ) : bool
tabBorderStyle TabBorderStyle Style of tab border.
return bool

GetTabBorderPath() public method

Generate a graphics path that encloses the border itself.
public GetTabBorderPath ( RenderContext context, Rectangle rect, IPaletteBorder palette, VisualOrientation orientation, PaletteState state, TabBorderStyle tabBorderStyle ) : GraphicsPath
context RenderContext Rendering context.
rect Rectangle Target rectangle.
palette IPaletteBorder Palette used for drawing.
orientation VisualOrientation Visual orientation of the border.
state PaletteState State associated with rendering.
tabBorderStyle TabBorderStyle Style of tab border.
return GraphicsPath

GetTabBorderSpacingGap() public method

Gets the spacing used to separate each tab border instance.
public GetTabBorderSpacingGap ( TabBorderStyle tabBorderStyle ) : int
tabBorderStyle TabBorderStyle Style of tab border.
return int

LayoutContent() public method

Perform layout calculations on the provided content.
public LayoutContent ( ViewLayoutContext context, Rectangle availableRect, IPaletteContent palette, IContentValues values, VisualOrientation orientation, PaletteState state, bool composition ) : IDisposable
context ViewLayoutContext Layout context.
availableRect Rectangle Display area available for laying out.
palette IPaletteContent Content palette details.
values IContentValues Content values.
orientation VisualOrientation Visual orientation of the content.
state PaletteState State associated with rendering.
composition bool Should draw on a composition element.
return IDisposable

MeasureDragDropDockingGlyph() public method

Measure the drag and drop docking glyphs.
public MeasureDragDropDockingGlyph ( RenderDragDockingData dragData, IPaletteDragDrop dragDropPalette, PaletteDragFeedback feedback ) : void
dragData RenderDragDockingData Set of drag docking data.
dragDropPalette IPaletteDragDrop Palette source of drawing values.
feedback PaletteDragFeedback Feedback requested.
return void

RenderToolStrip() public method

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