[]
Represents a Windows checkbox control supporting data binding to data source fields of Boolean, String, or Integer types.
[ToolboxBitmap(typeof(C1CheckBox), "C1CheckBox.png")]
[DefaultBindingProperty("Value")]
public class C1CheckBox : CheckBox, IDropTarget, ISynchronizeInvoke, IWin32Window, IBindableComponent, IComponent, IDisposable, ISupportInitialize
| Name | Description |
|---|---|
| C1CheckBox() | Initializes a new instance of the C1CheckBox class. |
| Name | Description |
|---|---|
| BorderColor | Gets or sets the border color of the control. |
| BorderStyle | Gets or sets the border style of the C1CheckBox control. |
| DataField | The field of the data source object to which the control is bound. |
| DataSource | The data source object to which the control is bound. |
| DataType | Type of the Value property. |
| DefaultButtonThemeRootPath | Default C1Button path in Theme xml file. |
| DefaultCheckboxRootPath | Default C1CheckBox path in Theme xml file. |
| DisableOnNoData | Gets or sets whether the checkbox should be disabled when it is bound to an empty data source, i.e. CurrencyManager.Count = 0. |
| TranslateValues | Translates between string values and check box states. |
| Value | Gets or sets the current DataType representation of the visual information contained in the control. |
| VisualStyle | Gets or sets the visual style of the control. |
| Name | Description |
|---|---|
| BeginInit() | |
| Dispose(bool) | Releases the resources used by the C1CheckBox. |
| EndInit() | |
| GetPreferredSize(Size) | Retrieves the size of a rectangular area into which a control can be fitted. |
| OnBackColorChanged(EventArgs) | |
| OnCheckStateChanged(EventArgs) | Invokes the CheckStateChanged event. |
| OnCheckedChanged(EventArgs) | |
| OnForeColorChanged(EventArgs) | |
| OnLayout(LayoutEventArgs) | |
| OnMouseDown(MouseEventArgs) | |
| OnMouseEnter(EventArgs) | |
| OnMouseLeave(EventArgs) | |
| OnMouseMove(MouseEventArgs) | |
| OnMouseUp(MouseEventArgs) | |
| OnPaint(PaintEventArgs) | |
| OnValueChanged(EventArgs) | Invokes the ValueChanged event. |
| OnVisualStyleChanged(EventArgs) | Invokes the VisualStyleChanged event. |
| WndProc(ref Message) |
| Name | Description |
|---|---|
| ValueChanged | Occurs when the Value property has changed. |
| VisualStyleChanged | Occurs when the VisualStyle property has changed. |