CheckButton(Boolean) Constructor
Initializes a new instance of the CheckButton class with the specified check state.
Namespace: DevExpress.XtraEditors
Assembly: DevExpress.XtraEditors.v25.2.dll
NuGet Package: DevExpress.Win.Navigation
Declaration
Parameters
| Name | Type | Description |
|---|---|---|
| check | Boolean |
|
Remarks
The following code snippet creates a CheckButton in the checked state:
using DevExpress.XtraEditors;
CheckButton checkButton = new CheckButton(true);
checkButton.Text = "Enable Feature";
this.Controls.Add(checkButton);
See Also