Is called when ever the size of the control needs to be calculated.

Namespace: Skewworks.NETMF.Controls
Assembly: Skewworks.NETMF.Controls (in Skewworks.NETMF.Controls.dll) Version: 2.5.0.0 (2.5.0.0)

Syntax

C#
protected override size OnMeasureControl(
	AutoSizeModes autoSizeMode
)

Parameters

autoSizeMode
Type: Skewworks.NETMF..::..AutoSizeModes
Current AutoSizeMode

Return Value

Type: size
Returns the needed size for the control

See Also