Skip to main content

CrosshairLabelElementBase.FontStyle Property

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

Namespace: DevExpress.Xpf.Charts

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

#Declaration

public FontStyle FontStyle { get; set; }

#Property Value

Type Description
FontStyle

A FontStyle value, representing the font style.

#Remarks

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

For more information, refer to Crosshair Cursor.

See Also