Back to Devexpress

RepositoryItemTextEdit.UseReadOnlyAppearance Property

windowsforms-devexpress-dot-xtraeditors-dot-repository-dot-repositoryitemtextedit-6e76e9e1.md

latest2.1 KB
Original Source

RepositoryItemTextEdit.UseReadOnlyAppearance Property

Gets or sets whether the TextEdit is grayed out in the read only mode.

Namespace : DevExpress.XtraEditors.Repository

Assembly : DevExpress.XtraEditors.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

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

Property Value

TypeDefaultDescription
Booleantrue

true if the TextEdit is grayed out in read only mode; otherwise, false.

|

Remarks

The RepositoryItem.ReadOnly property allows you to specify whether the editor’s value can be changed by an end-user. By default, if the TextEdit is read-only, it is rendered grayed out. Set the UseReadOnlyAppearance property to false to prevent the TextEdit from being rendered grayed out in the read only mode.

See Also

ReadOnly

RepositoryItemTextEdit Class

RepositoryItemTextEdit Members

DevExpress.XtraEditors.Repository Namespace