corelibraries-devexpress-dot-xtracharts-dot-crosshairoptions-c741092e.md
Gets or sets a value that specifies whether to show a crosshair cursor in a focused pane only.
Namespace : DevExpress.XtraCharts
Assembly : DevExpress.XtraCharts.v25.2.dll
NuGet Package : DevExpress.Charts
public bool ShowOnlyInFocusedPane { get; set; }
Public Property ShowOnlyInFocusedPane As Boolean
| Type | Description |
|---|---|
| Boolean |
true to display a crosshair cursor in a focused pane; otherwise, false.
|
You can access this nested property as listed below:
| Library | Object Type | Path to ShowOnlyInFocusedPane |
|---|---|---|
| WinForms Controls | ChartControl |
.CrosshairOptions .ShowOnlyInFocusedPane
| | ASP.NET MVC Extensions | ChartControlSettings |
.CrosshairOptions .ShowOnlyInFocusedPane
| | ASP.NET Web Forms Controls | WebChartControl |
.CrosshairOptions .ShowOnlyInFocusedPane
|
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 |
|---|---|
For more information on a crosshair cursor, see Tooltip and Crosshair Cursor.
See Also