Skip to main content
A newer version of this page is available.

DxTextEditorBase.ReadOnly Property

Specifies whether read-only mode is active.

Namespace: DevExpress.Blazor.Base

Assembly: DevExpress.Blazor.v20.2.dll

NuGet Package: DevExpress.Blazor

Declaration

[Parameter]
public override bool ReadOnly { get; set; }

Property Value

Type Description
Boolean

true to activate read-only mode; otherwise, false.

Remarks

Set the ReadOnly property to true to activate read-only mode. An editor allows you to display the value, but does not allow users to change it.

<DxTextBox ReadOnly="true"> </DxTextBox>

Run Demo: Text Box - Read-Only and Disabled Modes

See Also