Initializes a new instance of the Checkbox class

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

Syntax

C#
public Checkbox(
	string name,
	string text,
	Font font,
	int x,
	int y,
	int height,
	bool checkValue = false
)

Parameters

name
Type: System..::..String
Name of the check box
text
Type: System..::..String
Content text of the button
font
Type: Font
Font to render the content text
x
Type: System..::..Int32
X position relative to it's parent
y
Type: System..::..Int32
Y position relative to it's parent
height
Type: System..::..Int32
Height in pixel
checkValue (Optional)
Type: System..::..Boolean
Initial value of the check box

Remarks

The Width is calculated automatically to fit the content text.

See Also