RepositoryItemCheckEdit.CheckStyle Property
Gets or sets what the check box looks like.
Namespace: DevExpress.XtraEditors.Repository
Assembly: DevExpress.XtraEditors.v19.2.dll
Declaration
[Browsable(false)]
[DXCategory("Appearance")]
[DefaultValue(CheckStyles.Standard)]
public CheckStyles CheckStyle { get; set; }
Property Value
Type | Default | Description |
---|---|---|
CheckStyles | **Standard** | A CheckStyles enumeration value specifying what the check box looks like. |
Available values:
Name | Description |
---|---|
Standard | The default mode (the appearance depends on the control’s look-and-feel) : |
Radio | A radio button (the appearance depends on the control’s look-and-feel): In the Skin, Office 2003 and WindowsXP paint schemes, the Indeterminate and Unchecked check styles look the same. |
Style1 | Predefined custom style. |
Style2 | Predefined custom style. |
Style3 | Predefined custom style. |
Style4 | Predefined custom style. |
Style5 | Predefined custom style. |
Style6 | Predefined custom style. |
Style7 | Predefined custom style. |
Style8 | Predefined custom style. |
Style9 | Predefined custom style. |
Style10 | Predefined custom style. |
Style11 | Predefined custom style. |
Style12 | Predefined custom style. |
Style13 | Predefined custom style. |
Style14 | Predefined custom style. |
Style15 | Predefined custom style. |
Style16 | Predefined custom style. |
UserDefined | Allows you to customize the check box glyph using the RepositoryItemCheckEdit.ImageOptions property. |
Remarks
The CheckStyle property supports backward compatibility. Use the CheckBoxOptions.Style property (see RepositoryItemCheckEdit.CheckBoxOptions) to specify what the check box looks like. The CheckStyle property is only in effect if the CheckBoxOptions.Style property is set to Default. The table below enumerates equivalent styles.
CheckStyle | CheckBoxOptions.Style |
---|---|
Standard | Checkbox or Default |
Radio | Radio |
UserDefined | Custom |
Related GitHub Examples
The following code snippets (auto-collected from DevExpress Examples) contain references to the CheckStyle property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.