Back to Devexpress

RepositoryItemPictureEdit.UseDisabledStatePainter Property

windowsforms-devexpress-dot-xtraeditors-dot-repository-dot-repositoryitempictureedit-12f5bbbb.md

latest1.9 KB
Original Source

RepositoryItemPictureEdit.UseDisabledStatePainter Property

Gets or sets whether the PictureEdit is painted grayed out when it’s in the disabled state.

Namespace : DevExpress.XtraEditors.Repository

Assembly : DevExpress.XtraEditors.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[DefaultValue(true)]
[DXCategory("Appearance")]
public bool UseDisabledStatePainter { get; set; }
vb
<DXCategory("Appearance")>
<DefaultValue(True)>
Public Property UseDisabledStatePainter As Boolean

Property Value

TypeDefaultDescription
Booleantrue

true if the control is painted grayed out when it’s in the disabled state; otherwise, false

|

Remarks

When the PictureEdit control’s Enabled property is set to false and the UseDisabledStatePainter option is set to true , the control is painted grayed out. If the UseDisabledStatePainter property is set to false , the control is painted as if it’s not disabled. However, in either case, an end-user cannot manipulate the control.

See Also

RepositoryItemPictureEdit Class

RepositoryItemPictureEdit Members

DevExpress.XtraEditors.Repository Namespace