Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

CrosshairLabelElement Members

In This Article
Defines the appearance of a crosshair label element when custom drawing a crosshair cursor using the ChartControl.CustomDrawCrosshair event.

#Properties
Show Inherited Hide Inherited

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.

#Methods
Show Inherited Hide Inherited

Name Description
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetType() Gets the Type of the current instance. Inherited from Object.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
ToString() Returns a string that represents the current object. Inherited from Object.
See Also