Back to Devexpress

RepositoryItemDateEdit.MinDate Property

windowsforms-devexpress-dot-xtraeditors-dot-repository-dot-repositoryitemdateedit-da156f1a.md

latest1.9 KB
Original Source

RepositoryItemDateEdit.MinDate Property

Gets or sets the editor’s minimum date.

Namespace : DevExpress.XtraEditors.Repository

Assembly : DevExpress.XtraEditors.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[DXCategory("Behavior")]
public object MinDate { get; set; }
vb
<DXCategory("Behavior")>
Public Property MinDate As Object

Property Value

TypeDescription
Object

The minimum allowed date.

|

Remarks

The MinDate property accepts values of the DateTime and DateOnly types.

To specify the maximum allowed date, use the RepositoryItemDateEdit.MaxDate property.

Users can enter values that violate the limits defined by the MinDate and MaxDate properties through the keyboard. The entered value is validated when the editor loses focus or when you call the BaseEdit.DoValidate method.

See Also

MaxDate

RepositoryItemDateEdit Class

RepositoryItemDateEdit Members

DevExpress.XtraEditors.Repository Namespace