Back to Devexpress

BarManager.BeforeCheckCloseAllPopups Event

wpf-devexpress-dot-xpf-dot-bars-dot-barmanager-33b96505.md

latest6.0 KB
Original Source

BarManager.BeforeCheckCloseAllPopups Event

This member supports the internal infrastructure, and is not intended to be used directly from your code.

Namespace : DevExpress.Xpf.Bars

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

NuGet Package : DevExpress.Wpf.Core

Declaration

csharp
[Browsable(false)]
public event MouseEventHandler BeforeCheckCloseAllPopups
vb
<Browsable(False)>
Public Event BeforeCheckCloseAllPopups As MouseEventHandler

Event Data

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

PropertyDescription
DeviceGets the input device that initiated this event. Inherited from InputEventArgs.
HandledGets or sets a value that indicates the present state of the event handling for a routed event as it travels the route. Inherited from RoutedEventArgs.
LeftButtonGets the current state of the left mouse button.
MiddleButtonGets the current state of the middle mouse button.
MouseDeviceGets the mouse device associated with this event.
OriginalSourceGets the original reporting source as determined by pure hit testing, before any possible Source adjustment by a parent class. Inherited from RoutedEventArgs.
RightButtonGets the current state of the right mouse button.
RoutedEventGets or sets the RoutedEvent associated with this RoutedEventArgs instance. Inherited from RoutedEventArgs.
SourceGets or sets a reference to the object that raised the event. Inherited from RoutedEventArgs.
StylusDeviceGets the stylus device associated with this event.
TimestampGets the time when this event occurred. Inherited from InputEventArgs.
XButton1Gets the current state of the first extended mouse button.
XButton2Gets the state of the second extended mouse button.

The event data class exposes the following methods:

MethodDescription
GetPosition(IInputElement)Returns the position of the mouse pointer relative to the specified element.
InvokeEventHandler(Delegate, Object)Invokes event handlers in a type-specific way, which can increase event system efficiency.
OnSetSource(Object)When overridden in a derived class, provides a notification callback entry point whenever the value of the Source property of an instance changes. Inherited from RoutedEventArgs.

See Also

BarManager Class

BarManager Members

DevExpress.Xpf.Bars Namespace