Skip to main content
All docs
V24.2

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

DateEdit.MinDate Property

Gets or sets the editor’s minimum date. This property is in effect only if the editor operates DateOnly data. This is a dependency property.

Namespace: DevExpress.Xpf.Editors

Assembly: DevExpress.Xpf.Core.v24.2.dll

NuGet Package: DevExpress.Wpf.Core

#Declaration

public DateOnly? MinDate { get; set; }

#Property Value

Type Description
Nullable<DateOnly>

Specifies the minimum allowed date. If null, the DateOnly.MinValue is used.

#Remarks

A user can change the date by typing it in the text box. In this instance, if a new value exceeds the minimum allowed date, an error icon is displayed, indicating that the specified value is not valid.

A user cannot select a date from the drop-down calendar if it is earlier than the minimum allowed date.

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

For more information about DateOnly and TimeOnly support in the DateEdit control, refer to the following section: Interact with DateOnly and TimeOnly Data.

See Also