Skip to main content

HintBase.Enabled Property

Gets or sets whether the chart displays hints when a user taps chart, and when a hint is requested in code. This is a bindable property.

Namespace: DevExpress.Maui.Charts

Assembly: DevExpress.Maui.Charts.dll

NuGet Package: DevExpress.Maui.Charts

Declaration

public bool Enabled { get; set; }

Property Value

Type Default Description
Boolean true

true if the chart displays a hint; otherwise, false.

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

See Also