maui-devexpress-dot-maui-dot-charts-2cdcebc4.md
Provides data for the ChartBaseView.SelectionChanged event.
Namespace : DevExpress.Maui.Charts
Assembly : DevExpress.Maui.Charts.dll
NuGet Package : DevExpress.Maui.Charts
public class SelectionChangedEventArgs :
EventArgs
SelectionChangedEventArgs is the data class for the following events:
In this example, a hint with preset options appears when a user taps a bubble.
Use the FilmData object collection as the data source for the chart to show the highest grossing films as bubbles.
Subscribe to the SelectionChanged event and enable hints for the chart.
In the event handler, use the DataSourceKey.DataObject property to access an object that corresponds with the selected bubble and cast it to the type of the data source object ( FilmData ). Call the ShowHint method to show a hint for the selected bubble and specify the tooltip text pattern.
System.Object EventArgs SelectionChangedEventArgs
Yield<SelectionChangedEventArgs>()
YieldIfNotNull<SelectionChangedEventArgs>()
See Also