Back to Devexpress

DateRangeControl.ShowPredefinedRanges Property

wpf-devexpress-dot-xpf-dot-editors-dot-daterangecontrol-eb2d2b8d.md

latest2.0 KB
Original Source

DateRangeControl.ShowPredefinedRanges Property

Gets or sets whether predefined ranges are displayed in the pop-up calendar. This is a dependency property.

Namespace : DevExpress.Xpf.Editors

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

NuGet Package : DevExpress.Wpf.Core

Declaration

csharp
public bool ShowPredefinedRanges { get; set; }
vb
Public Property ShowPredefinedRanges As Boolean

Property Value

TypeDescription
Boolean

Specifies whether predefined ranges are displayed in the pop-up calendar.

|

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the ShowPredefinedRanges property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

wpf-create-a-daterangecontrol/CS/FlightTickets/MainWindow.xaml#L42

xml
<dxe:DateRangeControl Margin="5 10"
                      ShowPredefinedRanges="False"
                      PopupFooterButtons="OkCancel"

See Also

DateRangeControl Class

DateRangeControl Members

DevExpress.Xpf.Editors Namespace