Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

IDocumentPreviewModel.PreviewDoubleClick Event

Occurs when the left mouse button is double-clicked in the document area in a Document Preview.

Namespace: DevExpress.Xpf.Printing

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

NuGet Package: DevExpress.Wpf.Printing

#Declaration

event EventHandler<PreviewClickEventArgs> PreviewDoubleClick

#Event Data

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

Property Description
Element Gets the element for which the corresponding event has been raised.
ElementTag Gets the Tag property value of the element, for which the corresponding event has been raised.

#Remarks

Handle the IDocumentPreviewModel.PreviewClick, PreviewDoubleClick and IDocumentPreviewModel.PreviewMouseMove events, to provide interactive capabilities to reports shown in Document Preview (e.g. to create drill-down and drill-through reports, or enable report sorting in the Document Preview).

For a code example, see How to: Create Drill-Down Reports.

See Also