SelectionOptions.ExtendedModeMouseAction Property
In This Article
Specifies keys that should be held down and mouse buttons that a user should click to select multiple chart elements in the Extended selection mode.
Namespace: DevExpress.XtraCharts
Assembly: DevExpress.XtraCharts.v24.2.dll
NuGet Package: DevExpress.Charts
#Declaration
public ChartMouseAction ExtendedModeMouseAction { get; }
#Property Value
Type | Description |
---|---|
Chart |
An object that stores keys that should be held down and mouse buttons that a user should click to select multiple chart elements in the Extended selection mode. |
#Property Paths
You can access this nested property as listed below:
Object Type | Path to Extended |
---|---|
Radar |
|
Simple |
|
#Remarks
The following example shows how to specify a mouse action used to select series points in the Extended selection mode:
XYDiagram xyDiagram = chartControl1.Diagram as XYDiagram;
chartControl1.SelectionMode = ElementSelectionMode.Extended;
chartControl1.SeriesSelectionMode = SeriesSelectionMode.Point;
xyDiagram.SelectionOptions.ExtendedModeMouseAction.ModifierKeys = ChartModifierKeys.Shift;
xyDiagram.SelectionOptions.ExtendedModeMouseAction.MouseButton = MouseButtons.Right;
See Also