Skip to main content

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.v14.2.dll

#Declaration

[XtraSerializableProperty]
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 the CrosshairOptions.ShowOnlyInFocusedPane property from the following objects:

Object Type Path to ShowOnlyInFocusedPane
ChartControl
.CrosshairOptions.ShowOnlyInFocusedPane

#Remarks

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

#Implements

DevExpress.Charts.Native.ICrosshairOptions.ShowOnlyInFocusedPane
See Also