Skip to main content

CrosshairLabelElement Properties

Defines the appearance of a crosshair label element when custom drawing a crosshair cursor using the ChartControl.CustomDrawCrosshair event.
Name Description
FontFamily Gets or sets the font family name of the crosshair label element. Inherited from CrosshairLabelElementBase.
FontSize Gets or sets the size of the crosshair label element font. Inherited from CrosshairLabelElementBase.
FontStretch Gets or sets the stretch of the crosshair label element font. Inherited from CrosshairLabelElementBase.
FontStyle Gets or sets the style of the crosshair label element font. Inherited from CrosshairLabelElementBase.
FontWeight Gets or sets the weight of the crosshair label element font. Inherited from CrosshairLabelElementBase.
FooterText Gets or sets a footer text that is displayed in the crosshair cursor label.
Foreground Gets or sets the brush used to paint the foreground of the crosshair label element when implementing crosshair cursor custom drawing. Inherited from CrosshairLabelElementBase.
HeaderText Gets or sets a header text that is displayed in the crosshair cursor label.
MarkerBrush Gets or sets the color of a crosshair label’s marker when implementing custom drawing of a crosshair cursor.
MarkerFill Gets or sets the brush that is used to draw the legend item’s marker.
MarkerStroke Gets or sets the brush that is used to draw the legend item’s marker outline.
MarkerVisible Gets or sets the marker visibility of the crosshair label element when implementing custom drawing in the crosshair cursor.
Text Gets or sets the crosshair label’s text. Inherited from CrosshairLabelElementBase.
TextVisible Specifies whether the crosshair label’s text is visible when implementing custom drawing in the crosshair cursor.
Visible Specifies whether the crosshair label element is visible when custom drawing a crosshair cursor. Inherited from CrosshairLabelElementBase.
See Also