RepositoryItemDateEdit.MaxValue Property

Gets or sets the editor's maximum value.

Namespace: DevExpress.XtraEditors.Repository

Assembly: DevExpress.XtraEditors.v20.1.dll


public DateTime MaxValue { get; set; }
Public Property MaxValue As Date

Property Value

Type Description

A DateTime structure which represents the maximum allowed date.


To specify the minimum value use the RepositoryItemDateEdit.MinValue property.

While editing via the keyboard, it's possible to enter a date-time value that violates the limits imposed by the MinValue and MaxValue properties. The value entered is only validated when the editor loses focus, or when the BaseEdit.DoValidate method is called directly.

See Also