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

CrosshairLabelElementBase.Visible Property

Specifies whether the crosshair label element is visible when custom drawing a crosshair cursor.

Namespace: DevExpress.Xpf.Charts

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

NuGet Package: DevExpress.Wpf.Charts

#Declaration

public bool Visible { get; set; }

#Property Value

Type Description
Boolean

true, if the crosshair label element is visible; otherwise, false.

#Remarks

Use the Visible property when custom drawing a crosshair specific label element (a crosshair axis label, crosshair group header element or crosshair common label) from the ChartControl.CustomDrawCrosshair event.

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

For more information, refer to Tooltip and Crosshair Cursor.

See Also