Skip to main content
A newer version of this page is available. .

CrosshairOptions.ShowOnlyInFocusedPane Property

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

Namespace: DevExpress.Xpf.Charts

Assembly: DevExpress.Xpf.Charts.v19.1.dll

Declaration

public bool ShowOnlyInFocusedPane { get; set; }

Property Value

Type Description
Boolean

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

Property Paths

You can access this nested property as listed below:

Object Type Path to ShowOnlyInFocusedPane
ChartControl
.CrosshairOptions.ShowOnlyInFocusedPane

Remarks

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

Note

To bind a pane to a particular XY-series in the chart control, use the XYDiagram2D.SeriesPane attached property.

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.

The following code snippets (auto-collected from DevExpress Examples) contain references to the ShowOnlyInFocusedPane property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also