Skip to main content
All docs
V24.1

RepositoryItemDateEdit.MaxDate Property

Gets or sets the editor’s maximum date.

Namespace: DevExpress.XtraEditors.Repository

Assembly: DevExpress.XtraEditors.v24.1.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