Skip to main content

BaseCheckedListBoxControl.PictureChecked Property

Gets or sets a custom image representing check boxes in the checked state. This property is in effect if the BaseCheckedListBoxControl.CheckStyle property is set to CheckStyles.UserDefined.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v23.2.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

[DefaultValue(null)]
[DXCategory("Appearance")]
public Image PictureChecked { get; set; }

Property Value

Type Default Description
Image null

An Image representing check boxes in the checked state.

Remarks

To display custom images to represent check boxes in the checked, unchecked and grayed states, set the BaseCheckedListBoxControl.CheckStyle property to CheckStyles.UserDefined and assign custom images to the PictureChecked, BaseCheckedListBoxControl.PictureUnchecked and BaseCheckedListBoxControl.PictureGrayed properties. Typically, the images must be the same size, otherwise the smaller images will be stretched.

If no image is assigned to the PictureChecked or PictureUnchecked property, the editor will not display any image in the corresponding state. If no image is assigned to the PictureGrayed property, the grayed out version of the PictureUnchecked image is displayed in the grayed state (provided that an image is assigned to the PictureUnchecked property).

See Also