Click or drag to resize

RenderBaseDrawContent 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#
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