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

RepositoryItemDateEdit.MaxDate Property

Gets or sets the editor’s maximum date.

Namespace: DevExpress.XtraEditors.Repository

Assembly: DevExpress.XtraEditors.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

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

#Property Value

Type Description
Object

The maximum allowed date.

#Remarks

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

To specify the minimum allowed date, use the RepositoryItemDateEdit.MinDate 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