Back to Devexpress

CrosshairOptions.ShowOnlyInFocusedPane Property

wpf-devexpress-dot-xpf-dot-charts-dot-crosshairoptions-9266d3b9.md

latest2.3 KB
Original Source

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

NuGet Package : DevExpress.Wpf.Charts

Declaration

csharp
public bool ShowOnlyInFocusedPane { get; set; }
vb
Public Property ShowOnlyInFocusedPane As Boolean

Property Value

TypeDescription
Boolean

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

|

Property Paths

You can access this nested property as listed below:

Object TypePath 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=TrueShowOnlyInFocusedPane=False

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

See Also

CrosshairOptions Class

CrosshairOptions Members

DevExpress.Xpf.Charts Namespace