Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

CrosshairLabelPosition Class

The base class for all classes that define how a crosshair label should be positioned within a chart.

Namespace: DevExpress.Xpf.Charts

Assembly: DevExpress.Xpf.Charts.v24.2.dll

NuGet Package: DevExpress.Wpf.Charts

#Declaration

public abstract class CrosshairLabelPosition :
    ChartDependencyObject,
    ICrosshairFreePosition

The following members return CrosshairLabelPosition objects:

#Remarks

Use the CrosshairOptionsBase.CommonLabelPosition property to get access to the CrosshairLabelPosition object.

Then, you can change the current offset for both of the common crosshair label modes (CrosshairFreePosition and CrosshairMousePosition) via the CrosshairLabelPosition.Offset property.

To learn more on the crosshair cursor, see the Crosshair Cursor topic.

See Also