Skip to main content
All docs
V25.1
  • DateRangeControl.IsTextReadOnly Property

    Gets or sets whether the date text box is read-only. This is a dependency property.

    Namespace: DevExpress.Xpf.Editors

    Assembly: DevExpress.Xpf.Core.v25.1.dll

    NuGet Package: DevExpress.Wpf.Core

    Declaration

    public bool IsTextReadOnly { get; set; }

    Property Value

    Type Description
    Boolean

    Specifies whether the editors text box is read-only.

    Remarks

    Set the IsTextReadOnly property to true to make the date text box read-only. In this mode, users can select dates only in the pop-up calendar, and the calendar button is available for the start and end date text boxes.

    IsTextReadOnly True

    Set the IsTextReadOnly property to false to make the date text box editable. In this mode, users can select dates in the pop-up calendar or enter dates manually, and the calendar button is available for the end date text box only.

    IsTextReadOnly False

    See Also