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

CrosshairHintBehavior.GroupHeaderVisible Property

Gets or sets whether the group header is visible inside the crosshair label. This is a bindable property.

Namespace: DevExpress.Maui.Charts

Assembly: DevExpress.Maui.Charts.dll

NuGet Package: DevExpress.Maui.Charts

#Declaration

C#
public bool GroupHeaderVisible { get; set; }

#Property Value

Type Default Description
Boolean true

true if the header is visible inside the label; otherwise, false.

#Example

This example configures the crosshair cursor behavior and appearance.

<dxc:ChartView.Hint>
    <dxc:Hint Enabled="True" ShowMode="OnTap">
        <!--...-->
        <dxc:Hint.Behavior>
            <dxc:CrosshairHintBehavior GroupHeaderVisible="True"
                                       GroupHeaderTextPattern="{} Year: {A$YYYY}"
                                       ArgumentLabelVisible="True" ArgumentLineVisible="True"
                                       ValueLabelVisible="True" ValueLineVisible="True"
                                       HighlightPoint="True"
                                       MaxSeriesCount="3">
                <dxc:CrosshairHintBehavior.LabelPosition>
                    <dxc:StaticCrosshairLabelPosition />
                </dxc:CrosshairHintBehavior.LabelPosition>
            </dxc:CrosshairHintBehavior>
        </dxc:Hint.Behavior>
    </dxc:Hint>
<dxc:ChartView.Hint>

The CrosshairHintBehavior class provides the following properties to configure the crosshair cursor elements:

Property

Description

ArgumentLabelVisible

Gets or sets whether the argument label is visible on the chart. This is a bindable property.

ArgumentLineVisible

Gets or sets whether the argument line is visible on the chart. This is a bindable property.

GroupHeaderTextPattern

Gets or sets the text pattern for the group header of the crosshair label. This is a bindable property.

GroupHeaderVisible

Gets or sets whether the group header is visible inside the crosshair label. This is a bindable property.

HighlightPoint

Gets or sets whether the chart highlights the series point when the crosshair cursor hovers over it. This is a bindable property.

LabelPosition

Gets or sets the position of the crosshair label on the chart. This is a bindable property.

MaxSeriesCount

Gets or sets the highest number of series listed in the crosshair label. This is a bindable property.

ValueLabelVisible

Gets or sets whether the value label is visible on the chart. This is a bindable property.

ValueLineVisible

Gets or sets whether the value line is visible on the chart. This is a bindable property.

CrosshairHintBehavior Properties

See Also