Back to Devexpress

DocumentPreviewControl.DocumentPreviewMouseMove Event

wpf-devexpress-dot-xpf-dot-printing-dot-documentpreviewcontrol-4d008787.md

latest4.8 KB
Original Source

DocumentPreviewControl.DocumentPreviewMouseMove Event

Occurs when the mouse pointer is moved over the Document Preview.

Namespace : DevExpress.Xpf.Printing

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

NuGet Package : DevExpress.Wpf.Printing

Declaration

csharp
public event DocumentPreviewMouseEventHandler DocumentPreviewMouseMove
vb
Public Event DocumentPreviewMouseMove As DocumentPreviewMouseEventHandler

Event Data

The DocumentPreviewMouseMove 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 mouse pointer is moved over the document preview.

See Also

How to: Create Drill-Down Reports

DocumentPreviewControl Class

DocumentPreviewControl Members

DevExpress.Xpf.Printing Namespace