Click or drag to resize

RenderBaseGetCheckBoxPreferredSize 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: 2024.1.1.0 (2024.1.1.0)
Syntax
C#
public abstract Size GetCheckBoxPreferredSize(
	ViewLayoutContext context,
	IPalette palette,
	bool enabled,
	CheckState checkState,
	bool tracking,
	bool pressed
)

Parameters

context
Type: Internal.ComponentFactory.Krypton.ToolkitViewLayoutContext
Render context.
palette
Type: Internal.ComponentFactory.Krypton.ToolkitIPalette
Palette for sourcing display values.
enabled
Type: SystemBoolean
Should check box be displayed as enabled.
checkState
Type: System.Windows.FormsCheckState
The checked state of the check box.
tracking
Type: SystemBoolean
Should check box be displayed as hot tracking.
pressed
Type: SystemBoolean
Should check box be displayed as pressed.

Return Value

Type: Size

Implements

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