Skip to main content

DateEdit.MaxValue Property

Gets or sets the editor’s maximum value. This is a dependency property.

Namespace: DevExpress.WinUI.Editors

Assembly: DevExpress.WinUI.Editors.v23.2.dll

NuGet Package: DevExpress.WinUI

Declaration

[DP("$DateTime.MaxValue", Handler = "OnMaxValueChanged")]
public DateTime MaxValue { get; set; }

Property Value

Type Description
DateTime

A DateTime value that specifies the maximum allowed date.

Remarks

An end-user cannot select a value from the dropdown calendar if it is greater than the maximum value.

The minimum allowed date is specified using the DateEdit.MinValue property. To specify the editor’s current value, use the DateEdit.DateTime property.

See Also