Skip to main content

ChartBaseView.SelectedItems Property

Returns a collection of chart items that are selected.

Namespace: DevExpress.XamarinForms.Charts

Assembly: DevExpress.XamarinForms.Charts.dll

NuGet Package: DevExpress.XamarinForms.Charts

#Declaration

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

#Property Value

Type Description
ReadOnlyObservableCollection<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