System.Windows.Forms.CheckBox Members

The members of System.Windows.Forms.CheckBox are listed below.

See Also: Inherited members from System.Windows.Forms.ButtonBase

Public Constructors

Initializes a new instance of the System.Windows.Forms.CheckBox class.

Public Properties

AppearanceAppearance.

Gets or sets the value that determines the appearance of a System.Windows.Forms.CheckBox control.

AutoCheckbool.

Gets or set a value indicating whether the CheckBox.Checked or CheckBox.CheckState values and the System.Windows.Forms.CheckBox's appearance are automatically changed when the System.Windows.Forms.CheckBox is clicked.

CheckAlignSystem.Drawing.ContentAlignment.

Gets or sets the horizontal and vertical alignment of the check mark on a System.Windows.Forms.CheckBox control.

Checkedbool.

Gets or set a value indicating whether the System.Windows.Forms.CheckBox is in the checked state.

CheckStateCheckState.

Gets or sets the state of the System.Windows.Forms.CheckBox.

override
TextAlignSystem.Drawing.ContentAlignment.

Gets or sets the alignment of the text on the System.Windows.Forms.CheckBox control.

ThreeStatebool.

Gets or sets a value indicating whether the System.Windows.Forms.CheckBox will allow three check states rather than two.

Protected Properties

[read-only]
override
CreateParamsCreateParams.

Gets the required creation parameters when the control handle is created.

[read-only]
override
DefaultSizeSystem.Drawing.Size.

Gets the default size of the control.

Public Methods

override
ToString() : string

Returns a string that represents the current System.Windows.Forms.CheckBox control.

Protected Methods

override
CreateAccessibilityInstance() : AccessibleObject

Creates a new accessibility object for the System.Windows.Forms.CheckBox control.

OnAppearanceChanged(EventArgs)

Raises the CheckBox.AppearanceChanged event.

OnCheckedChanged(EventArgs)

Raises the CheckBox.CheckedChanged event.

OnCheckStateChanged(EventArgs)

Raises the CheckBox.CheckStateChanged event.

override
OnClick(EventArgs)

Raises the Control.Click event.

override
OnHandleCreated(EventArgs)
Documentation for this section has not yet been entered.
override
OnKeyDown(KeyEventArgs)
Documentation for this section has not yet been entered.
override
OnMouseUp(MouseEventArgs)
Documentation for this section has not yet been entered.
override
ProcessMnemonic(char) : bool

Processes a mnemonic character.

Public Events

AppearanceChanged

Occurs when the value of the CheckBox.Appearance property changes.

CheckedChanged

Occurs when the value of the CheckBox.Checked property changes.

CheckStateChanged

Occurs when the value of the CheckBox.CheckState property changes.

DoubleClick

Occurs when the user double-clicks the System.Windows.Forms.CheckBox control.

MouseDoubleClick

Occurs when the user double-clicks the System.Windows.Forms.CheckBox control.