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.1.dll
NuGet Package: DevExpress.Win.Navigation
Declaration
[Browsable(false)]
[DefaultValue(null)]
[DXCategory("Appearance")]
[EditorBrowsable(EditorBrowsableState.Never)]
public Image PictureGrayed { get; set; }
Property Value
Type | Default | Description |
---|---|---|
Image | null | 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.