Skip to main content
A newer version of this page is available.
All docs
V20.2

DxSpinEdit<T>.ReadOnly Property

Specifies whether read-only mode is active.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v20.2.dll

NuGet Package: DevExpress.Blazor

Declaration

[DefaultValue(false)]
[Parameter]
public override bool ReadOnly { get; set; }

Property Value

Type Default Description
Boolean **false**

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

Remarks

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

<DxSpinEdit ReadOnly="true"> </DxSpinEdit>

Run Demo: Spin Edit - Read-Only and Disabled Modes

See Also