Back to Devexpress

DateNavigator.MaxValue Property

wpf-devexpress-dot-xpf-dot-editors-dot-datenavigator-dot-datenavigator-5bfdee17.md

latest1.7 KB
Original Source

DateNavigator.MaxValue Property

Gets or sets a maximum date that end-users can select. This is a dependency property.

Namespace : DevExpress.Xpf.Editors.DateNavigator

Assembly : DevExpress.Xpf.Core.v25.2.dll

NuGet Package : DevExpress.Wpf.Core

Declaration

csharp
public DateTime? MaxValue { get; set; }
vb
Public Property MaxValue As Date?

Property Value

TypeDescription
Nullable<DateTime>

A maximum date end-users are allowed to select.

|

Remarks

Dates outside the MinValue and MaxValue span are disabled.

xaml
<Window ...
  xmlns:dxe="http://schemas.devexpress.com/winfx/2008/xaml/editors">
  <dxe:DateNavigator MaxValue="04/22/2020" MinValue="04/8/2020"/>
</Window>

See Also

MinValue

DateNavigator Class

DateNavigator Members

DevExpress.Xpf.Editors.DateNavigator Namespace