windowsforms-devexpress-dot-xtraprinting-dot-control-dot-printcontrol-33a906ce.md
The BrickDown event is obsolete now. Use the BrickMouseDown event instead.
Occurs when the mouse pointer is over the region specified by a brick within the PrintControl and the mouse button is pressed.
Namespace : DevExpress.XtraPrinting.Control
Assembly : DevExpress.XtraPrinting.v25.2.dll
NuGet Package : DevExpress.Win.Printing
[Browsable(false)]
[EditorBrowsable(EditorBrowsableState.Never)]
[Obsolete("The BrickDown event is obsolete now. Use the BrickMouseDown event instead.")]
public event BrickEventHandler BrickDown
<Obsolete("The BrickDown event is obsolete now. Use the BrickMouseDown event instead.")>
<Browsable(False)>
<EditorBrowsable(EditorBrowsableState.Never)>
Public Event BrickDown As BrickEventHandler
The BrickDown event's data class is BrickEventArgs. The following properties provide information specific to this event:
| Property | Description |
|---|---|
| Args | Returns an object storing the event arguments. |
| Brick | Gets a brick for which an event has been raised. Inherited from BrickEventArgsBase. |
| BrickScreenBounds | Returns the rectangle displayed when clicking a brick. |
| Page | Returns the document page containing the brick for which the corresponding event was fired. |
| X | Returns the horizontal mouse position within a brick. |
| Y | Returns the vertical mouse position within a brick. |
The BrickEventArgs.Args property contains a MouseEventArgs class instance.
See Also