Back to Devexpress

FlyoutBase.Closing Event

wpf-devexpress-dot-xpf-dot-editors-dot-flyout-dot-native-dot-flyoutbase-3c4e75e9.md

latest1.9 KB
Original Source

FlyoutBase.Closing Event

Fires before a FlyoutControl is closed (hidden), and allows you to prevent this action.

Namespace : DevExpress.Xpf.Editors.Flyout.Native

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

NuGet Package : DevExpress.Wpf.Core

Declaration

csharp
public event CancelEventHandler Closing
vb
Public Event Closing As CancelEventHandler

Event Data

The Closing event's data class is CancelEventArgs. The following properties provide information specific to this event:

PropertyDescription
CancelGets or sets a value indicating whether the event should be canceled.

Remarks

To prevent a FlyoutControl from being closed (hidden), set the event’s Cancel parameter to true , or set the FlyoutBase.StaysOpen property to true. After a flyout control is closed, the FlyoutBase.Closed event fires.

See Also

FlyoutBase Class

FlyoutBase Members

DevExpress.Xpf.Editors.Flyout.Native Namespace