Back to Devexpress

TooltipHintBehavior Class

maui-devexpress-dot-maui-dot-charts-3266b8ae.md

latest2.6 KB
Original Source

TooltipHintBehavior Class

Defines the tooltip behavior.

Namespace : DevExpress.Maui.Charts

Assembly : DevExpress.Maui.Charts.dll

NuGet Package : DevExpress.Maui.Charts

Declaration

csharp
public class TooltipHintBehavior :
    HintBehavior

Example

This example sets the ChartView hint behavior to tooltip, and how to specify the tooltip hint properties.

  1. Set the ChartView.Hint property to the Hint object, with the Enabled property set to True.
  2. Assign the TooltipHintBehavior object to the Hint.Behavior property. Specify whether you want point tooltips and series tooltips displayed on the chart. At one moment, only one tooltip can be displayed.
xml
<dxc:ChartView>
    <!--...-->
    <dxc:ChartView.Hint>
        <dxc:Hint Enabled="True">
            <dxc:Hint.Behavior>
                <dxc:TooltipHintBehavior ShowPointTooltip="True" ShowSeriesTooltip="True"/>
            </dxc:Hint.Behavior>
        </dxc:Hint>
    </dxc:ChartView.Hint>
</dxc:ChartView>

Implements

IElementController

INotifyPropertyChanged

Inheritance

System.Object BindableObject Element ChartElementBase ChartElement HintBehavior TooltipHintBehavior

Extension Methods

Yield<TooltipHintBehavior>()

YieldIfNotNull<TooltipHintBehavior>()

See Also

TooltipHintBehavior Members

DevExpress.Maui.Charts Namespace