Skip to main content

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.v24.2.dll

Declaration

[DefaultValue(CheckStyles.Standard)]
[DXCategory("Appearance")]
public CheckStyles CheckStyle { get; set; }

Property Value

Type Default Description
CheckStyles Standard

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

Available values:

Show 19 items
Name Description
Standard

The default mode (the appearance depends on the control’s look-and-feel) : CheckStyles_Standard

Radio

A radio button (the appearance depends on the control’s look-and-feel): CheckStyles_Radio_XP.gif

In the Skin, Office 2003 and WindowsXP paint schemes, the Indeterminate and Unchecked check styles look the same.

Style1

Predefined custom style. CheckStyles_Style1.gif

Style2

Predefined custom style. CheckStyles_Style2.gif

Style3

Predefined custom style. CheckStyles_Style3.gif

Style4

Predefined custom style. CheckStyles_Style4.gif

Style5

Predefined custom style. CheckStyles_Style5.gif

Style6

Predefined custom style. CheckStyles_Style6.gif

Style7

Predefined custom style. CheckStyles_Style7.gif

Style8

Predefined custom style. CheckStyles_Style8.gif

Style9

Predefined custom style. CheckStyles_Style9.gif

Style10

Predefined custom style. CheckStyles_Style10.gif

Style11

Predefined custom style. CheckStyles_Style11.gif

Style12

Predefined custom style. CheckStyles_Style12.gif

Style13

Predefined custom style. CheckStyles_Style13.gif

Style14

Predefined custom style. CheckStyles_Style14.gif

Style15

Predefined custom style. CheckStyles_Style15.gif

Style16

Predefined custom style. CheckStyles_Style16.gif

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 provided by the BaseCheckedListBoxControl.PictureChecked, BaseCheckedListBoxControl.PictureUnchecked and BaseCheckedListBoxControl.PictureGrayed properties are used.

Note

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

See Also