Click or drag to resize

RenderStandardGetRadioButtonPreferredSize Method

Calculate the requested display size for the radio button.

Namespace:  Internal.ComponentFactory.Krypton.Toolkit
Assembly:  NeoAxis.Core (in NeoAxis.Core.dll) Version: 2023.1.2.0 (2023.1.2.0)
Syntax
C#
public override Size GetRadioButtonPreferredSize(
	ViewLayoutContext context,
	IPalette palette,
	bool enabled,
	bool 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: SystemBoolean
Checked state of the radio button.
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

IRenderGlyphGetRadioButtonPreferredSize(ViewLayoutContext, IPalette, Boolean, Boolean, Boolean, Boolean)
See Also