Back to Devexpress

BaseCheckedListBoxControl.CheckStyle Property

windowsforms-devexpress-dot-xtraeditors-dot-basecheckedlistboxcontrol-5065b695.md

latest5.2 KB
Original Source

BaseCheckedListBoxControl.CheckStyle Property

Gets or sets a value that determines the look and feel of the check boxes. This property is not supported when listbox items are rendered based on Item Templates.

Namespace : DevExpress.XtraEditors

Assembly : DevExpress.XtraEditors.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[DefaultValue(CheckStyles.Standard)]
[DXCategory("Appearance")]
public CheckStyles CheckStyle { get; set; }
vb
<DXCategory("Appearance")>
<DefaultValue(CheckStyles.Standard)>
Public Property CheckStyle As CheckStyles

Property Value

TypeDefaultDescription
CheckStylesStandard

A CheckStyles enumeration value specifying the look and feel of the check box.

|

Available values:

Show 19 items

NameDescription
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

Use the BaseCheckedListBoxControl property to specify the display style for the check boxes within the BaseCheckedListBoxControl control. See the CheckStyles topic for more information about available check box styles.

If the CheckStyle property is set to UserDefined, custom check box images are specified by ImageChecked, ImageUnchecked, and ImageGrayed properties accessible in BaseCheckedListBoxControl.ImageOptions.

Note

The CheckStyle property is not supported when listbox items are rendered based on item templates.

See Also

ImageOptions

BaseCheckedListBoxControl Class

BaseCheckedListBoxControl Members

DevExpress.XtraEditors Namespace