CheckBox

Wisej.Web.CheckBox

Namespace: Wisej.Web

Assembly: Wisej.Framework (3.2.0.0)

Represents a check box control.

public class CheckBox : ButtonBase, IReadOnly, IValidation

Constructors

CheckBox()

Initializes a new instance of the CheckBox class.

Properties

Appearance

Appearance: Returns or sets the value that determines the appearance of a CheckBox control. (Default: Normal)

AutoCheck

Boolean: Returns or set a value indicating whether the Checked or CheckState values and the CheckBox's appearance are automatically changed when the CheckBox is clicked. (Default: True)

AutoSize

Boolean: Returns or sets a value that indicates whether the control resizes based on its contents. (Default: True)

CheckAlign

ContentAlignment: Returns or sets the horizontal and vertical alignment of the check mark on a CheckBox control. (Default: MiddleLeft)

Checked

Boolean: Returns or set a value indicating whether the CheckBox is in the checked state. (Default: False)

CheckedForeColor

Color: Returns or sets the text color used when the CheckBox is checked. (Default: Color [Empty])

CheckState

CheckState: Returns or sets the state of the CheckBox. (Default: Unchecked)

Invalid

Boolean: Returns or sets a value that indicates that the control is invalid.

InvalidMessage

String: Returns or sets the invalid message that is shown in the invalid tooltip. (Default: "")

ReadOnly

Boolean: Returns or sets whether the control is read-only. (Default: False)

TextAlign

ContentAlignment: Returns or sets the alignment of the text on the CheckBox control. (Default: MiddleLeft)

ThreeState

Boolean: Returns or sets whether the CheckBox will allow three check states rather than two. (Default: False)

Methods

PerformClick()

Generates a Click event for a CheckBox.

Events

AppearanceChanged

EventHandler Fired when the value of the Appearance property changes.

CheckedChanged

EventHandler Fired when the value of the Checked property changes.

CheckStateChanged

EventHandler Fired when the value of the CheckState property changes.

ReadOnlyChanged

EventHandler Fired when the value of the ReadOnly property has changed.

Implements

NameDescription

Bindable components implement this interface.

Defines an object that can invoke a Command.

Controls that support drag & drop operations implement this interface.

Provides access to common image properties across the controls that implement this interface.

Provides access to the ReadOnly property for coontrols that support the read-only mode.

Provides access to the validation events and properties property for controls that support validation.

All wisej components implement this interface.

All wisej controls derived from the Control class must implement this interface.

Allows an object to serialize itself.

Last updated