C# Класс ComponentFactory.Krypton.Toolkit.RenderBase

Наследование: System.ComponentModel.Component, IRenderer, IRenderBorder, IRenderBack, IRenderContent, IRenderTabBorder, IRenderRibbon, IRenderGlyph
Показать файл Открыть проект

Открытые методы

Метод Описание
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 ) : System.Windows.Forms.ToolStripRenderer

Gets a renderer for drawing the toolstrips.

Защищенные методы

Метод Описание
DrawIconHelper ( ViewContext context, Icon icon, Rectangle iconRect, VisualOrientation orientation ) : void

Helper routine to draw an image taking into account various properties.

DrawImageHelper ( ViewContext context, Image image, Color remapTransparent, Rectangle imageRect, VisualOrientation orientation, PaletteImageEffect effect, Color remapColor, Color remapNew ) : void

Helper routine to draw an image taking into account various properties.

Описание методов

DrawBack() публичный абстрактный Метод

Draw background to fill the specified path.
public abstract 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 background.
state PaletteState State associated with rendering.
memento IDisposable Cache used for drawing.
Результат IDisposable

DrawBorder() публичный абстрактный Метод

Draw border on the inside edge of the specified rectangle.
public abstract 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.
Результат void

DrawCheckBox() публичный абстрактный Метод

Perform drawing of a check box.
public abstract 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.
Результат void

DrawContent() публичный абстрактный Метод

Perform draw of content using provided memento.
public abstract 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.
Результат void

DrawDragDropDockingGlyph() публичный абстрактный Метод

Draw a solid area glyph suitable for a drag drop area.
public abstract 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.
Результат void

DrawDragDropSolidGlyph() публичный абстрактный Метод

Draw a solid area glyph suitable for a drag drop area.
public abstract 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.
Результат void

DrawDropDownButton() публичный абстрактный Метод

Perform drawing of a drop down button.
public abstract 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.
Результат void

DrawGridErrorGlyph() публичный абстрактный Метод

Draw a grid error glyph.
public abstract 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.
Результат System.Drawing.Rectangle

DrawGridRowGlyph() публичный абстрактный Метод

Draw a grid row glyph.
public abstract 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.
Результат System.Drawing.Rectangle

DrawGridSortGlyph() публичный абстрактный Метод

Draw a grid sorting direction glyph.
public abstract 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.
Результат System.Drawing.Rectangle

DrawIconHelper() защищенный статический Метод

Helper routine to draw an image taking into account various properties.
protected static DrawIconHelper ( ViewContext context, Icon icon, Rectangle iconRect, VisualOrientation orientation ) : void
context ViewContext Rendering context.
icon System.Drawing.Icon Icon to be drawn.
iconRect System.Drawing.Rectangle Destination rectangle.
orientation VisualOrientation Visual orientation.
Результат void

DrawImageHelper() защищенный статический Метод

Helper routine to draw an image taking into account various properties.
protected static DrawImageHelper ( ViewContext context, Image image, Color remapTransparent, Rectangle imageRect, VisualOrientation orientation, PaletteImageEffect effect, Color remapColor, Color remapNew ) : void
context ViewContext Rendering context.
image Image Image to be drawn.
remapTransparent Color Color that should become transparent.
imageRect System.Drawing.Rectangle Destination rectangle.
orientation VisualOrientation Visual orientation.
effect PaletteImageEffect Drawing effect.
remapColor Color Image color to remap.
remapNew Color New color for remap.
Результат void

DrawInputControlDropDownGlyph() публичный абстрактный Метод

Draw a drop down grid appropriate for a input control.
public abstract 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.
Результат void

DrawInputControlNumericDownGlyph() публичный абстрактный Метод

Draw a numeric down button image appropriate for a input control.
public abstract 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.
Результат void

DrawInputControlNumericUpGlyph() публичный абстрактный Метод

Draw a numeric up button image appropriate for a input control.
public abstract 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.
Результат void

DrawRadioButton() публичный абстрактный Метод

Perform drawing of a radio button.
public abstract 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.
Результат void

DrawRibbonApplicationButton() публичный абстрактный Метод

Draw the application button.
public abstract 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.
Результат IDisposable

DrawRibbonApplicationTab() публичный абстрактный Метод

Draw the application tab.
public abstract 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.
Результат IDisposable

DrawRibbonBack() публичный абстрактный Метод

Draw the background of a ribbon element.
public abstract 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.
Результат IDisposable

DrawRibbonClusterEdge() публичный абстрактный Метод

Perform drawing of a ribbon cluster edge.
public abstract 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.
Результат void

DrawRibbonContextArrow() публичный абстрактный Метод

Perform drawing of a ribbon context arrow glyph.
public abstract 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.
Результат void

DrawRibbonDialogBoxLauncher() публичный абстрактный Метод

Perform drawing of a ribbon dialog box launcher glyph.
public abstract 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.
Результат void

DrawRibbonDropArrow() публичный абстрактный Метод

Perform drawing of a ribbon drop arrow glyph.
public abstract 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.
Результат void

DrawRibbonGroupSeparator() публичный абстрактный Метод

Perform drawing of a ribbon group separator.
public abstract 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.
Результат void

DrawRibbonOverflow() публичный абстрактный Метод

Perform drawing of a ribbon overflow image.
public abstract 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.
Результат void

DrawRibbonTabContextTitle() публичный абстрактный Метод

Draw a context ribbon tab title.
public abstract 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 values to use when drawing.
Результат IDisposable

DrawSeparator() публичный абстрактный Метод

Perform drawing of a separator glyph.
public abstract 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.
Результат void

DrawTabBorder() публичный абстрактный Метод

Draw border on the inside edge of the specified rectangle.
public abstract 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.
Результат void

DrawTrackGlyph() публичный абстрактный Метод

Draw the track bar track glyph.
public abstract 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.
Результат void

DrawTrackPositionGlyph() публичный абстрактный Метод

Draw the track bar position glyph.
public abstract 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.
Результат void

DrawTrackTicksGlyph() публичный абстрактный Метод

Draw the track bar ticks glyph.
public abstract 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.
Результат void

EvalTransparentPaint() публичный абстрактный Метод

Evaluate if transparent painting is needed for background or border palettes.
public abstract 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.
Результат bool

EvalTransparentPaint() публичный абстрактный Метод

Evaluate if transparent painting is needed for background palette.
public abstract EvalTransparentPaint ( IPaletteBack paletteBack, PaletteState state ) : bool
paletteBack IPaletteBack Background palette to test.
state PaletteState Element state associated with palette.
Результат bool

GetBackPath() публичный абстрактный Метод

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 abstract 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.
Результат System.Drawing.Drawing2D.GraphicsPath

GetBorderDisplayPadding() публичный абстрактный Метод

Gets the padding used to position display elements completely inside border drawing.
public abstract 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.
Результат Padding

GetBorderPath() публичный абстрактный Метод

Generate a graphics path that is in the middle of the border.
public abstract 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.
Результат System.Drawing.Drawing2D.GraphicsPath

GetBorderRawPadding() публичный абстрактный Метод

Gets the raw padding used per edge of the border.
public abstract 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.
Результат Padding

GetCheckBoxPreferredSize() публичный абстрактный Метод

Calculate the requested display size for the check box.
public abstract 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.
Результат System.Drawing.Size

GetContentImageDisplayed() публичный абстрактный Метод

Request the calculated display of the image.
public abstract GetContentImageDisplayed ( IDisposable memento ) : bool
memento IDisposable Cached values from layout call.
Результат bool

GetContentImageRectangle() публичный абстрактный Метод

Request the calculated position of the content image.
public abstract GetContentImageRectangle ( IDisposable memento ) : Rectangle
memento IDisposable Cached values from layout call.
Результат System.Drawing.Rectangle

GetContentLongTextDisplayed() публичный абстрактный Метод

Request the calculated display of the long text.
public abstract GetContentLongTextDisplayed ( IDisposable memento ) : bool
memento IDisposable Cached values from layout call.
Результат bool

GetContentLongTextRectangle() публичный абстрактный Метод

Request the calculated position of the content long text.
public abstract GetContentLongTextRectangle ( IDisposable memento ) : Rectangle
memento IDisposable Cached values from layout call.
Результат System.Drawing.Rectangle

GetContentPreferredSize() публичный абстрактный Метод

Get the preferred size for drawing the content.
public abstract 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 Drawing onto a composition element.
Результат System.Drawing.Size

GetContentShortTextDisplayed() публичный абстрактный Метод

Request the calculated display of the short text.
public abstract GetContentShortTextDisplayed ( IDisposable memento ) : bool
memento IDisposable Cached values from layout call.
Результат bool

GetContentShortTextRectangle() публичный абстрактный Метод

Request the calculated position of the content short text.
public abstract GetContentShortTextRectangle ( IDisposable memento ) : Rectangle
memento IDisposable Cached values from layout call.
Результат System.Drawing.Rectangle

GetDropDownButtonPreferredSize() публичный абстрактный Метод

Calculate the requested display size for the drop down button.
public abstract 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.
Результат System.Drawing.Size

GetOutsideBorderPath() публичный абстрактный Метод

Generate a graphics path that is the outside edge of the border.
public abstract GetOutsideBorderPath ( 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.
Результат System.Drawing.Drawing2D.GraphicsPath

GetRadioButtonPreferredSize() публичный абстрактный Метод

Calculate the requested display size for the radio button.
public abstract 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.
Результат System.Drawing.Size

GetTabBackPath() публичный абстрактный Метод

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 abstract GetTabBackPath ( RenderContext context, Rectangle rect, IPaletteBorder palette, VisualOrientation orientation, PaletteState state, TabBorderStyle tabBorderStyle ) : 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.
tabBorderStyle TabBorderStyle Style of tab border.
Результат System.Drawing.Drawing2D.GraphicsPath

GetTabBorderDisplayPadding() публичный абстрактный Метод

Gets the padding used to position display elements completely inside border drawing.
public abstract GetTabBorderDisplayPadding ( ViewLayoutContext context, IPaletteBorder palette, PaletteState state, VisualOrientation orientation, TabBorderStyle tabBorderStyle ) : Padding
context ViewLayoutContext 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.
Результат Padding

GetTabBorderLeftDrawing() публичный абстрактный Метод

Gets if the tabs should be drawn from left to right for z-ordering.
public abstract GetTabBorderLeftDrawing ( TabBorderStyle tabBorderStyle ) : bool
tabBorderStyle TabBorderStyle Style of tab border.
Результат bool

GetTabBorderPath() публичный абстрактный Метод

Generate a graphics path that encloses the border itself.
public abstract GetTabBorderPath ( RenderContext context, Rectangle rect, IPaletteBorder palette, VisualOrientation orientation, PaletteState state, TabBorderStyle tabBorderStyle ) : 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.
tabBorderStyle TabBorderStyle Style of tab border.
Результат System.Drawing.Drawing2D.GraphicsPath

GetTabBorderSpacingGap() публичный абстрактный Метод

Gets the spacing used to separate each tab border instance.
public abstract GetTabBorderSpacingGap ( TabBorderStyle tabBorderStyle ) : int
tabBorderStyle TabBorderStyle Style of tab border.
Результат int

LayoutContent() публичный абстрактный Метод

Perform layout calculations on the provided content.
public abstract LayoutContent ( ViewLayoutContext context, Rectangle availableRect, IPaletteContent palette, IContentValues values, VisualOrientation orientation, PaletteState state, bool composition ) : IDisposable
context ViewLayoutContext Layout context.
availableRect System.Drawing.Rectangle Space 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 Drawing onto a composition element.
Результат IDisposable

MeasureDragDropDockingGlyph() публичный абстрактный Метод

Measure the drag and drop docking glyphs.
public abstract 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.
Результат void

RenderToolStrip() публичный абстрактный Метод

Gets a renderer for drawing the toolstrips.
public abstract RenderToolStrip ( IPalette colorPalette ) : System.Windows.Forms.ToolStripRenderer
colorPalette IPalette Color palette to use when rendering toolstrip.
Результат System.Windows.Forms.ToolStripRenderer