Back to Devexpress

XRCrossTab.PreviewClick Event

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

latest2.4 KB
Original Source

XRCrossTab.PreviewClick Event

Overrides the XRControl.PreviewClick 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 PreviewClick
vb
<Browsable(False)>
Public Overrides Event PreviewClick As PreviewMouseEventHandler

Event Data

The PreviewClick 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 PreviewClick event is not appropriate for the XRCrossTab class.

See Also

XRCrossTab Class

XRCrossTab Members

DevExpress.XtraReports.UI Namespace