Occurs when an end-user releases the left mouse button while the mouse pointer is hovering over one of the bricks created for the control‘s representation in the report preview.
NuGet Package: DevExpress.Reporting.Core
public virtual event PreviewMouseEventHandler PreviewMouseUp
Public Overridable Event PreviewMouseUp As PreviewMouseEventHandler
The PreviewMouseUp event's data class is PreviewMouseEventArgs. The following properties provide information specific to this event:
|Brick||Gets a visual brick that represents this control’s contents on a report page.|
|MouseButton||Provides access to the value that specifies which mouse button has been clicked.|
|PreviewControl||Gets the control which shows the print preview of the report for this event.|
The event data class exposes the following methods:
|GetBrickScreenBounds()||Obtains the location and size of the PreviewMouseEventArgs.Brick on the screen.|
The PreviewMouseUp event fires only for Windows Forms applications.
Use this event to perform different actions when a control is clicked while the report it is located in is being previewed.
The PreviewMouseUp event is raised along with the other events listed below in the following order: