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.v20.1.dll

Declaration

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

Property Value

Type Default Description
Boolean

true

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