DxTimeEdit<T>.ReadOnly Property

Specifies whether read-only mode is active.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v21.2.dll


public override bool ReadOnly { get; set; }

Property Value

Type Description

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


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

<DxTimeEdit @bind-Time="@Time" ReadOnly="true"> </DxTimeEdit>

@code {
  TimeSpan Time = DateTime.Now.TimeOfDay;

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

See Also