Back to Devexpress

XRCrossTab.PreviewMouseDown Event

xtrareports-devexpress-dot-xtrareports-dot-ui-dot-xrcrosstab-efc6b6ad.md

latest2.4 KB
Original Source

XRCrossTab.PreviewMouseDown Event

Overrides the XRControl.PreviewMouseDown event to hide it.

Namespace : DevExpress.XtraReports.UI

Assembly : DevExpress.XtraReports.v25.2.dll

NuGet Package : DevExpress.Reporting.Core

Declaration

csharp
[Browsable(false)]
public override event PreviewMouseEventHandler PreviewMouseDown
vb
<Browsable(False)>
Public Overrides Event PreviewMouseDown As PreviewMouseEventHandler

Event Data

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

PropertyDescription
BrickGets a visual brick that represents this control’s contents on a report page.
MouseButtonProvides access to the value that specifies which mouse button has been clicked.
PreviewControlGets the control which shows the print preview of the report for this event.

The event data class exposes the following methods:

MethodDescription
GetBrickScreenBounds()Obtains the location and size of the PreviewMouseEventArgs.Brick on the screen.

Remarks

This event is overridden to hide the corresponding event of the XRControl class, since the PreviewMouseDown event is not appropriate for the XRCrossTab class.

See Also

XRCrossTab Class

XRCrossTab Members

DevExpress.XtraReports.UI Namespace