[]
        
(Showing Draft Content)

C1.Win.Input.C1CheckBox

C1CheckBox Class

Represents a Windows checkbox control.

Namespace: C1.Win.Input
Assembly: C1.Win.Input.8.dll
Syntax
[DefaultBindingProperty("CheckState")]
[ToolboxBitmap(typeof(C1CheckBox), "C1CheckBox.png")]
public class C1CheckBox : C1ButtonBase, IDropTarget, ISynchronizeInvoke, IWin32Window, IBindableComponent, IComponent, IDisposable, IView, ISupportUia, ISupportInitialize, IUiaToggleProvider

Constructors

Name Description
C1CheckBox()

Initializes a new instance of the C1CheckBox class.

Properties

Name Description
Appearance

Gets or sets the value that determines the appearance of a C1CheckBox control.

AutoCheck

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

CheckAlign

Gets or sets the horizontal and vertical alignment of the check mark on a C1CheckBox control.

CheckState

Gets or sets the state of the C1CheckBox.

Checked

Gets or set a value indicating whether the C1CheckBox is in the checked state.

CheckedIcon

Gets or sets a custom C1Icon for the Checked checkbox state.

DataMember

Gets or sets the member of the data source object to which the control is bound.

DataSource

Gets or sets the data source object to which the control is bound.

DataType

Gets or sets the type of the Value property.

DefaultSize

Gets the default size of the control.

DisableOnNoData

Gets or sets whether the checkbox should be disabled when it is bound to an empty data source, i.e. CurrencyManager.Count = 0.

IndeterminateIcon

Gets or sets a custom C1Icon for the Indeterminate checkbox state.

Styles

Gets or sets the C1CheckBox styles.

TextAlign

Gets or sets the alignment of the text on the button control.

ThreeState

Gets or sets a value indicating whether the C1CheckBox will allow three check states rather than two.

TranslateValues

Gets or sets the options for translating between the value of the Value property and the checkbox states.

UncheckedIcon

Gets or sets a custom C1Icon for the Unchecked checkbox state.

Value

Gets or sets the current DataType representation of the visual information contained in the control.

Methods

Name Description
CreateUiaItem(UiaItem)

Creates UI Automation object of this control.

OnAppearanceChanged(EventArgs)

Raises the AppearanceChanged event.

OnCheckStateChanged(EventArgs)

Raises the CheckStateChanged event.

OnCheckedChanged(EventArgs)

Raises the CheckedChanged event.

OnClick(EventArgs)

Raises the Click event.

OnMouseUp(MouseEventArgs)

Raises the OnMouseUp(MouseEventArgs) event.

OnValueChanged(EventArgs)

Raises the ValueChanged event.

ProcessMnemonic(char)

Processes a mnemonic character.

ToString()

Provides information for the C1CheckBox control in String form.

Events

Name Description
AppearanceChanged

Occurs when the value of the Appearance property changes.

CheckStateChanged

Occurs when the value of the CheckState property changes.

CheckedChanged

Occurs when the value of the Checked property changes.

DoubleClick

Occurs when the user double-clicks the C1Button control.

MouseDoubleClick

Occurs when the user double-clicks the C1Button control with the mouse.

ValueChanged

Occurs when the Value property changes.