Back to Devexpress

BaseLayoutItem.MouseDown Event

windowsforms-devexpress-dot-xtralayout-dot-baselayoutitem-a9d00196.md

latest2.5 KB
Original Source

BaseLayoutItem.MouseDown Event

Occurs when the mouse pointer is over a layout item and a mouse button is pressed.

Namespace : DevExpress.XtraLayout

Assembly : DevExpress.XtraLayout.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[DXCategory("Action")]
public event MouseEventHandler MouseDown
vb
<DXCategory("Action")>
Public Event MouseDown As MouseEventHandler

Event Data

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

PropertyDescription
ButtonGets which mouse button was pressed.
ClicksGets the number of times the mouse button was pressed and released.
DeltaGets a signed count of the number of detents the mouse wheel has rotated, multiplied by the WHEEL_DELTA constant. A detent is one notch of the mouse wheel.
LocationGets the location of the mouse during the generating mouse event.
XGets the x-coordinate of the mouse during the generating mouse event.
YGets the y-coordinate of the mouse during the generating mouse event.

See Also

MouseUp

BaseLayoutItem Class

BaseLayoutItem Members

DevExpress.XtraLayout Namespace