RepositoryItemDateEdit.MaxValue Property

Gets or sets the editor's maximum value.

Namespace: DevExpress.XtraEditors.Repository

Assembly: DevExpress.XtraEditors.v20.1.dll

Declaration

[DXCategory("Behavior")]
public DateTime MaxValue { get; set; }
<DXCategory("Behavior")>
Public Property MaxValue As Date

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