Click or drag to resize

RenderBaseLayoutContent Method

Perform layout calculations on the provided content.

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 IDisposable LayoutContent(
	ViewLayoutContext context,
	Rectangle availableRect,
	IPaletteContent palette,
	IContentValues values,
	VisualOrientation orientation,
	PaletteState state,
	bool composition,
	bool glowing
)

Parameters

context
Type: Internal.ComponentFactory.Krypton.ToolkitViewLayoutContext
Layout context.
availableRect
Type: System.DrawingRectangle
Space available for laying out.
palette
Type: Internal.ComponentFactory.Krypton.ToolkitIPaletteContent
Content palette details.
values
Type: Internal.ComponentFactory.Krypton.ToolkitIContentValues
Content values.
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.

Return Value

Type: IDisposable
Memento with cached information.

Implements

IRenderContentLayoutContent(ViewLayoutContext, Rectangle, IPaletteContent, IContentValues, VisualOrientation, PaletteState, Boolean, Boolean)
See Also