ASP.NET Pack Programmer's Guide
CheckBox Members
Constructors Properties Methods Events
 


Represents a customizable checkbox.

The following tables list the members exposed by the CheckBox type.

 Public Constructors

  Name Description

CheckBox

Initializes a new instance of the CheckBox class.

 Public Properties

  Name Description

AutoPostBack

Gets or sets a value indicating whether the control will post back to the server when the state has changed.

Checked

Gets or sets a value indicating whether the control is checked.

ClientScriptMode

Gets or sets a value indicating which library will be used in the control's client-side scripts.

ControlLoadedScript

Gets or sets the name of a JavaScript function that should be invoked when the control is loaded.

DataItem

Gets or sets the data item bound to the control.

DataValueField

Gets or sets the field from the data source to bind to the Checked property of the control.

DisplayType

Gets or sets a value indicating how the control will be rendered.

GroupName

Gets or sets a value indicating which CheckBox controls are mutually exclusive.

Height

Gets or sets the height of the control.

IsThemed

Gets a value indicating the control has its Theme property set to a specified value.

Label

Gets or sets the caption of the control.

LabelPosition

Gets or sets the caption alignment.

LicenseKey

Gets or sets the license key of the control.

State

Gets or sets the current state of the control.

StateChangedScript

Gets or sets the name of a JavaScript function that should be invoked when the value changes.

StateChangingScript

Gets or sets the name of a JavaScript function that should be invoked when the value is about to be changed.

SubmitOnEnter

Gets or sets a value indicating whether the control will submit the form on pressing the Enter key.

Theme

Gets or sets the theme applied to the control.

TriState

Gets or sets a value indicating whether the control supports indeterminate state.

Width

Gets or sets the width of the control.

 Protected Properties

  Name Description

TagKey

WebControl.TagKey override.

 Public Methods

  Name Description

LoadFromXml

Overloaded. Loads control data from an XML file or from a System.Xml.XmlDocument.

SaveToXml

Overloaded. Saves control data to an XML file or to a System.Xml.XmlDocument.

 Protected Methods

  Name Description

OnBeginLoad

Raises the BeginLoad event.

OnCheckedChanged

Raises the CheckedChanged event.

OnEndLoad

Raises the EndLoad event.

OnPreRender

Control.OnPreRender override.

PerformDataBinding

DataBoundControl.PerformDataBinding override.

PerformSelect

DataBoundControl.PerformSelect override.

Render

Control.Render override.

RenderContents

WebControl.RenderContents override.

 Public Events

  Name Description

BeginLoad

Raised when the component starts loading data from a file or memory stream.

CheckedChanged

Raised when the checked state of the control changes.

EndLoad

Raised when the component ends loading data from a file or memory stream.

 See Also

CheckBox Class
MindFusion.UI.WebForms Namespace