Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

RepositoryItemTextEdit.UseReadOnlyAppearance Property

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

Namespace: DevExpress.XtraEditors.Repository

Assembly: DevExpress.XtraEditors.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

[DefaultValue(true)]
[DXCategory("Appearance")]
public virtual bool UseReadOnlyAppearance { get; set; }

#Property Value

Type Default Description
Boolean true

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