Back to Devexpress

RepositoryItem.Enabled Property

windowsforms-devexpress-dot-xtraeditors-dot-repository-dot-repositoryitem-21af7eab.md

latest1.7 KB
Original Source

RepositoryItem.Enabled Property

Gets or sets a value indicating whether the edit control can respond to user actions. This property is supported for standalone editors.

Namespace : DevExpress.XtraEditors.Repository

Assembly : DevExpress.XtraEditors.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[Browsable(false)]
[EditorBrowsable(EditorBrowsableState.Never)]
public virtual bool Enabled { get; set; }
vb
<EditorBrowsable(EditorBrowsableState.Never)>
<Browsable(False)>
Public Overridable Property Enabled As Boolean

Property Value

TypeDescription
Boolean

true if the editor can respond to user actions; otherwise, false.

|

Remarks

For standalone editors, the RepositoryItem.Enabled property is in effect and is in sync with the editor’s Control.Enabled inherited property.

For in-place editors within the GridControl, TreeList, BarManager, etc., the RepositoryItem.Enabled property is ignored.

See Also

ReadOnly

RepositoryItem Class

RepositoryItem Members

DevExpress.XtraEditors.Repository Namespace