Back to Devexpress

SubreportBase.PreviewClick Event

xtrareports-devexpress-dot-xtrareports-dot-ui-dot-subreportbase-7175380a.md

latest2.3 KB
Original Source

SubreportBase.PreviewClick Event

Hides the inappropriate XRControl.PreviewClick event of the parent XRControl class.

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 hidden, because it is not appropriate for SubreportBase.

See Also

SubreportBase Class

SubreportBase Members

DevExpress.XtraReports.UI Namespace