Back to Devexpress

DateRangeControl.PopupFooterButtons Property

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

latest2.5 KB
Original Source

DateRangeControl.PopupFooterButtons Property

Gets or sets the buttons that are displayed in the pop-up footer. This is a dependency property.

Namespace : DevExpress.Xpf.Editors

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

NuGet Package : DevExpress.Wpf.Core

Declaration

csharp
public PopupFooterButtons PopupFooterButtons { get; set; }
vb
Public Property PopupFooterButtons As PopupFooterButtons

Property Value

TypeDescription
PopupFooterButtons

Specifies the buttons that are displayed in the pop-up footer.

|

Available values:

NameDescription
None

There are no buttons in a pop-up’s footer.

| | OkCancel |

A pop-up’s footer displayes two buttons:

The OK button that closes the editor and applies changes to the editor’s value;

The Cancel button that also closes the editor and discards all changes.

| | Close |

There is only the Close button in a pop-up’s footer. This button acts in the same way as the Cancel button (closes the editor and discards changes).

|

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the PopupFooterButtons 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#L43

xml
ShowPredefinedRanges="False"
PopupFooterButtons="OkCancel"
MinValue="{Binding Min}"

See Also

DateRangeControl Class

DateRangeControl Members

DevExpress.Xpf.Editors Namespace