Back to Devexpress

Axis2D.CrosshairAxisLabelOptions Property

wpf-devexpress-dot-xpf-dot-charts-dot-axis2d-d7b6d991.md

latest2.3 KB
Original Source

Axis2D.CrosshairAxisLabelOptions Property

Gets or sets the crosshair axis label settings allowing you to specify its appearance on a diagram.

Namespace : DevExpress.Xpf.Charts

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

NuGet Package : DevExpress.Wpf.Charts

Declaration

csharp
public CrosshairAxisLabelOptions CrosshairAxisLabelOptions { get; set; }
vb
Public Property CrosshairAxisLabelOptions As CrosshairAxisLabelOptions

Property Value

TypeDescription
CrosshairAxisLabelOptions

A CrosshairAxisLabelOptions object which represents settings for a crosshair axis label.

|

Remarks

For more information on how to use a crosshair cursor, refer to the Tooltip and Crosshair Cursor topic.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the CrosshairAxisLabelOptions 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.

wpf-charts-custom-draw-crosshair-cursor/CS/CrosshairCustomDraw/MainWindow.xaml#L19

xml
<dxc:AxisX2D>
    <dxc:AxisX2D.CrosshairAxisLabelOptions>
        <dxc:CrosshairAxisLabelOptions Pattern="{}{V:f1}"/>

See Also

Axis2D Class

Axis2D Members

DevExpress.Xpf.Charts Namespace