Back to Devexpress

RepositoryItemDateEdit.MaxDate Property

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

latest1.9 KB
Original Source

RepositoryItemDateEdit.MaxDate Property

Gets or sets the editor’s maximum date.

Namespace : DevExpress.XtraEditors.Repository

Assembly : DevExpress.XtraEditors.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

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

Property Value

TypeDescription
Object

The maximum allowed date.

|

Remarks

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

To specify the minimum allowed date, use the RepositoryItemDateEdit.MinDate 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

MinDate

RepositoryItemDateEdit Class

RepositoryItemDateEdit Members

DevExpress.XtraEditors.Repository Namespace