Back to Devexpress

IDocumentPreviewModel.PreviewClick Event

wpf-devexpress-dot-xpf-dot-printing-dot-idocumentpreviewmodel.md

latest2.6 KB
Original Source

IDocumentPreviewModel.PreviewClick Event

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

Namespace : DevExpress.Xpf.Printing

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

NuGet Package : DevExpress.Wpf.Printing

Declaration

csharp
event EventHandler<PreviewClickEventArgs> PreviewClick
vb
Event PreviewClick As EventHandler(Of PreviewClickEventArgs)

Event Data

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

PropertyDescription
ElementGets the element for which the corresponding event has been raised.
ElementTagGets the Tag property value of the element, for which the corresponding event has been raised.

Remarks

Handle the PreviewClick , IDocumentPreviewModel.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

PreviewDoubleClick

PreviewMouseMove

How to: Create Drill-Down Reports

IDocumentPreviewModel Interface

IDocumentPreviewModel Members

DevExpress.Xpf.Printing Namespace