Skip to main content

ChartBaseView.SelectedItem Property

Returns data object that is currently selected on the chart.

Namespace: DevExpress.XamarinForms.Charts

Assembly: DevExpress.XamarinForms.Charts.dll

NuGet Package: DevExpress.XamarinForms.Charts

Declaration

public object SelectedItem { get; }

Property Value

Type Description
Object

The data object that is selected.

Remarks

Use the SelectedItem property to access the selected chart item when SelectionMode is set to Single.

Note that the property 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