Skip to main content

RepositoryItemDateEdit.MinValue Property

Gets or sets the editor’s minimum value.

Namespace: DevExpress.XtraEditors.Repository

Assembly: DevExpress.XtraEditors.v23.2.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

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

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