Click or drag to resize

RenderStandardGetCheckBoxPreferredSize Method

Calculate the requested display size for the check box.

Namespace: Internal.ComponentFactory.Krypton.Toolkit
Assembly: NeoAxis.Core.Editor (in NeoAxis.Core.Editor.dll) Version: 2026.1.1.0 (2026.1.1.0)
Syntax
C#
public override Size GetCheckBoxPreferredSize(
	ViewLayoutContext context,
	IPalette palette,
	bool enabled,
	CheckState checkState,
	bool tracking,
	bool pressed
)

Parameters

context  ViewLayoutContext
Render context.
palette  IPalette
Palette for sourcing display values.
enabled  Boolean
Should check box be displayed as enabled.
checkState  CheckState
The checked state of the check box.
tracking  Boolean
Should check box be displayed as hot tracking.
pressed  Boolean
Should check box be displayed as pressed.

Return Value

Size

Implements

IRenderGlyphGetCheckBoxPreferredSize(ViewLayoutContext, IPalette, Boolean, CheckState, Boolean, Boolean)
See Also