Skip to main content
A newer version of this page is available. .

CrosshairLabelElementBase.FontFamily Property

Gets or sets the font family name of the crosshair label element.

Namespace: DevExpress.Xpf.Charts

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

NuGet Packages: DevExpress.WindowsDesktop.Wpf.Charts, DevExpress.Wpf.Charts

Declaration

public FontFamily FontFamily { get; set; }

Property Value

Type Description
FontFamily

A FontFamily object representing the font family.

Remarks

Use the FontFamily 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.

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

For more information, refer to Tooltip and Crosshair Cursor.

See Also