Back to Devexpress

ChartBaseView.SelectedItem Property

maui-devexpress-dot-maui-dot-charts-dot-chartbaseview-831fe0dd.md

latest1.5 KB
Original Source

ChartBaseView.SelectedItem Property

Gets the data object that is selected on the chart. This is a bindable property.

Namespace : DevExpress.Maui.Charts

Assembly : DevExpress.Maui.Charts.dll

NuGet Package : DevExpress.Maui.Charts

Declaration

csharp
public object SelectedItem { get; }

Property Value

TypeDescription
System.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

ChartBaseView Class

ChartBaseView Members

DevExpress.Maui.Charts Namespace