Back to Devexpress

BaseCheckedListBoxControl.PictureGrayed Property

windowsforms-devexpress-dot-xtraeditors-dot-basecheckedlistboxcontrol-5d43d0ca.md

latest2.6 KB
Original Source

BaseCheckedListBoxControl.PictureGrayed Property

Gets or sets a custom image representing check boxes in the intermediate state. This property is in effect if the BaseCheckedListBoxControl.CheckStyle property is set to CheckStyles.UserDefined. This property is obsolete. Use the BaseCheckedListBoxControl.ImageOptions.ImageGrayed property instead.

Namespace : DevExpress.XtraEditors

Assembly : DevExpress.XtraEditors.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[Browsable(false)]
[DefaultValue(null)]
[DXCategory("Appearance")]
[EditorBrowsable(EditorBrowsableState.Never)]
public Image PictureGrayed { get; set; }
vb
<Browsable(False)>
<EditorBrowsable(EditorBrowsableState.Never)>
<DXCategory("Appearance")>
<DefaultValue(Nothing)>
Public Property PictureGrayed As Image

Property Value

TypeDefaultDescription
Imagenull

An Image representing check boxes in the intermediate 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 ImageChecked, ImageUnchecked, and ImageGrayed properties accessible in BaseCheckedListBoxControl.ImageOptions. Typically, the images must be the same size, otherwise the smaller images will be stretched.

See Also

ImageOptions

CheckStyle

BaseCheckedListBoxControl Class

BaseCheckedListBoxControl Members

DevExpress.XtraEditors Namespace