Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TdxChartMouseAction.MouseButton Property

Specifies the mouse button required to execute the mouse action.

#Declaration

Delphi
property MouseButton: TMouseButton read; write;

#Property Value

Type Description
TMouseButton

The mouse button required to execute the mouse action.

#Remarks

Use MouseButton and ModifierKeys properties to define how users can execute the mouse action.

#Property Values

Value Description
mbLeft Users need to click the left mouse button to execute the mouse action.
mbRight Users need to click the right mouse button to execute the mouse action.
mbMiddle Users need to click the middle mouse button to execute the mouse action.

#Default Value

The MouseButton property’s default value depends on the mouse action type:

Pan | Zoom In | ZoomOut
The default value is mbLeft.
Marquee Zoom
The default value is mbRight.
See Also