Skip to main content

CrosshairLabelElementBase.FontSize Property

Gets or sets the size of the crosshair label element font.

Namespace: DevExpress.Xpf.Charts

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

NuGet Package: DevExpress.Wpf.Charts

Declaration

public double FontSize { get; set; }

Property Value

Type Description
Double

A Double value representing the font size.

Remarks

Use the FontSize property when custom drawing a crosshair specific label element (a crosshair axis label, crosshair group header element or common crosshair label) using the ChartControl.CustomDrawCrosshair event.

CustomDrawingCrosshair

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

For more information, refer to Tooltip and Crosshair Cursor.

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