Skip to main content

CrosshairLabelElementBase.FontWeight Property

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

Namespace: DevExpress.Xpf.Charts

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

NuGet Package: DevExpress.Wpf.Charts

Declaration

public FontWeight FontWeight { get; set; }

Property Value

Type Description
FontWeight

A FontWeight value, representing the font weight.

Remarks

Use the FontWeight 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 FontWeight property, make sure the ChartControlBase.CrosshairEnabled property is set to true.

For more information, refer to Tooltip and Crosshair Cursor.

See Also