Click or drag to resize

RenderBaseDrawContent Method

Perform draw of content using provided memento.

Namespace:  Internal.ComponentFactory.Krypton.Toolkit
Assembly:  NeoAxis.Core (in NeoAxis.Core.dll) Version: 2023.1.2.0 (2023.1.2.0)
Syntax
C#
public abstract void DrawContent(
	RenderContext context,
	Rectangle displayRect,
	IPaletteContent palette,
	IDisposable memento,
	VisualOrientation orientation,
	PaletteState state,
	bool composition,
	bool glowing,
	bool allowFocusRect
)

Parameters

context
Type: Internal.ComponentFactory.Krypton.ToolkitRenderContext
Render context.
displayRect
Type: System.DrawingRectangle
Display area available for drawing.
palette
Type: Internal.ComponentFactory.Krypton.ToolkitIPaletteContent
Content palette details.
memento
Type: SystemIDisposable
Cached values from layout call.
orientation
Type: Internal.ComponentFactory.Krypton.ToolkitVisualOrientation
Visual orientation of the content.
state
Type: Internal.ComponentFactory.Krypton.ToolkitPaletteState
State associated with rendering.
composition
Type: SystemBoolean
Drawing onto a composition element.
glowing
Type: SystemBoolean
If compisition, should glowing be drawn.
allowFocusRect
Type: SystemBoolean
Allow drawing of focus rectangle.

Implements

IRenderContentDrawContent(RenderContext, Rectangle, IPaletteContent, IDisposable, VisualOrientation, PaletteState, Boolean, Boolean, Boolean)
See Also