Back to Devexpress

DocumentPreviewControl.DocumentPreviewMouseDoubleClick Event

wpf-devexpress-dot-xpf-dot-printing-dot-documentpreviewcontrol-368c84f8.md

latest4.9 KB
Original Source

DocumentPreviewControl.DocumentPreviewMouseDoubleClick Event

Occurs when the Document Preview is double clicked by the mouse.

Namespace : DevExpress.Xpf.Printing

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

NuGet Package : DevExpress.Wpf.Printing

Declaration

csharp
public event DocumentPreviewMouseEventHandler DocumentPreviewMouseDoubleClick
vb
Public Event DocumentPreviewMouseDoubleClick As DocumentPreviewMouseEventHandler

Event Data

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

PropertyDescription
BrickGets a brick for which the corresponding event has been raised.
ElementTagGets the Tag property value of the document element for which the corresponding event has been raised.
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.
OriginalSourceGets the original reporting source as determined by pure hit testing, before any possible Source adjustment by a parent class. Inherited from RoutedEventArgs.
PageIndexGets the index of the document page for which the corresponding event has been raised.
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.

The event data class exposes the following methods:

MethodDescription
InvokeEventHandler(Delegate, Object)When overridden in a derived class, provides a way to invoke event handlers in a type-specific way, which can increase efficiency over the base implementation. Inherited from RoutedEventArgs.
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.

Remarks

Handle this event to perform different actions when the document preview is double clicked by the mouse.

See Also

How to: Create Drill-Down Reports

DocumentPreviewControl Class

DocumentPreviewControl Members

DevExpress.Xpf.Printing Namespace