Skip to main content
A newer version of this page is available. .

RepositoryItemDateEdit.MaxValue Property

Gets or sets the editor’s maximum value.

Namespace: DevExpress.XtraEditors.Repository

Assembly: DevExpress.XtraEditors.v19.1.dll

Declaration

[DXCategory("Behavior")]
public DateTime MaxValue { get; set; }

Property Value

Type Description
DateTime

A DateTime structure which represents the maximum allowed date.

Remarks

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