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

ChartBaseView.SelectedItems Property

Gets a collection of chart items that are selected. This is a bindable property.

Namespace: DevExpress.Maui.Charts

Assembly: DevExpress.Maui.Charts.dll

NuGet Package: DevExpress.Maui.Charts

#Declaration

C#
public ReadOnlyObservableCollection<object> SelectedItems { get; }

#Property Value

Type Description
ReadOnlyObservableCollection<System.Object>

The collection of chart items that are selected.

#Remarks

Use the SelectedItem property to access the selected chart items when SelectionMode is set to Multiple or Extended.

Note that the collection stores different objects for various SelectionKind values:

Kind Value Type

Return Value

Point

An object the IXYSeriesData.GetKey(Int32) or IPieSeriesData.GetKey(Int32) method returns.

Series

A descendant of SeriesBase.

This property stores a data item that a series’ data source returns via the method.

See Also