Skip to main content

HintBase Class

The base class for ChartView and PieChartView hints.

Namespace: DevExpress.Maui.Charts

Assembly: DevExpress.Maui.Charts.dll

NuGet Package: DevExpress.Maui.Charts

Declaration

public abstract class HintBase :
    StyledElement

Remarks

The HintBase class provides properties that enable hints in a chart (Enabled) and specify a gesture on which the chart shows the hint (ShowMode).

You can also manage hint behavior via code. Use the ShowHint and HideHint methods to display or hide hints in the chart.

Any time a hint is shown or hidden, the HintShown or HintHidden event occurs.

Example

This example shows how to enable hints for a pie chart.

  1. Create a new PieHint object and assign it to the PieChartView.Hint property.
  2. Set the Enabled property to True.
  3. Use the ShowMode property to specify a gesture on which the pie chart shows the hint.
<dxc:PieChartView>
  <!--...-->
  <dxc:PieChartView.Hint>
    <dxc:PieHint Enabled="True" ShowMode="OnTap" />
  </dxc:PieChartView.Hint>
</dxc:PieChartView>

Pie Chart Tooltips

Inheritance

System.Object
BindableObject
Element
DevExpress.Maui.Core.Internal.DXElementBaseCore
See Also