Click or drag to resize

IRenderContentDrawContent Method

Perform draw of content using provided memento.

Namespace:  Internal.ComponentFactory.Krypton.Toolkit
Assembly:  NeoAxis.Core.Editor (in NeoAxis.Core.Editor.dll) Version: 2024.1.1.0 (2024.1.1.0)
Syntax
C#
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 composition, should glowing be drawn.
allowFocusRect
Type: SystemBoolean
Allow drawing of focus rectangle.
See Also