ChartBaseView.SelectedItem Property
In This Article
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
C#
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 |
---|---|
| An object the IXYSeries |
| A descendant of Series |
This property stores a data item that a series’ data source returns via the method.
See Also