SelectionOptions.ExtendedModeMouseAction Property
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.1.dll
NuGet Package: DevExpress.Charts
Declaration
[XtraSerializableProperty(XtraSerializationVisibility.Content)]
public ChartMouseAction ExtendedModeMouseAction { get; }
Property Value
Type | Description |
---|---|
ChartMouseAction | 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 ExtendedModeMouseAction |
---|---|
RadarDiagram |
|
SimpleDiagram |
|
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