CrosshairOptions.ShowOnlyInFocusedPane Property

Gets or sets a value that specifies whether to show a crosshair cursor in a focused pane only.

Namespace: DevExpress.XtraCharts

Assembly: DevExpress.XtraCharts.v21.2.dll


public bool ShowOnlyInFocusedPane { get; set; }

Property Value

Type Description

true to display a crosshair cursor in a focused pane; otherwise, false.

Property Paths

You can access this nested property as listed below:

Library Object Type Path to ShowOnlyInFocusedPane
WinForms Controls ChartControl
ASP.NET MVC Extensions ChartControlSettings
ASP.NET Web Forms Controls WebChartControl


Before using the ShowOnlyInFocusedPane property, make sure the ChartControl.CrosshairEnabled property is set to true.

The following table shows this property in action.

ShowOnlyInFocusedPane=True ShowOnlyInFocusedPane=False
CrosshairOptions - ShowOnlyInFocusedPane (true) CrosshairOptions - ShowOnlyInFocusedPane (false)

For more information on a crosshair cursor, see Tooltip and Crosshair Cursor.

See Also