Skip to main content
All docs
V25.1
  • RepositoryItemDateEdit.MinDate Property

    Gets or sets the editor’s minimum date.

    Namespace: DevExpress.XtraEditors.Repository

    Assembly: DevExpress.XtraEditors.v25.1.dll

    NuGet Package: DevExpress.Win.Navigation

    Declaration

    [DXCategory("Behavior")]
    public object MinDate { get; set; }

    Property Value

    Type Description
    Object

    The minimum allowed date.

    Remarks

    The MinDate property accepts values of the DateTime and DateOnly types.

    To specify the maximum allowed date, use the RepositoryItemDateEdit.MaxDate property.

    Users can enter values that violate the limits defined by the MinDate and MaxDate properties through the keyboard. The entered value is validated when the editor loses focus or when you call the BaseEdit.DoValidate method.

    See Also