Back to Devexpress

TdxChartMouseAction.MouseButton Property

vcl-dxchartcore-dot-tdxchartmouseaction-4b939bc1.md

latest1.6 KB
Original Source

TdxChartMouseAction.MouseButton Property

Specifies the mouse button required to execute the mouse action.

Declaration

delphi
property MouseButton: TMouseButton read; write;

Property Value

TypeDescription
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

ValueDescription
mbLeftUsers need to click the left mouse button to execute the mouse action.
mbRightUsers need to click the right mouse button to execute the mouse action.
mbMiddleUsers 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 | ZoomOutThe default value is mbLeft.Marquee ZoomThe default value is mbRight. See Also

TdxChartMouseAction.Enabled Property

TdxChartMouseAction Class

TdxChartMouseAction Members

dxChartCore Unit