RepositoryItemDateEdit.MinValue Property

Gets or sets the editor's minimum value.

Namespace: DevExpress.XtraEditors.Repository

Assembly: DevExpress.XtraEditors.v20.1.dll

Declaration

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

Property Value

Type Description
DateTime

A DateTime structure which represents the minimum allowed date.

Remarks

To specify the maximum allowed value use the RepositoryItemDateEdit.MaxValue 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