ChartControl.SelectedItem Property
Gets or sets the currently selected item in the chart.
Namespace: DevExpress.Xpf.Charts
Assembly: DevExpress.Xpf.Charts.v19.1.dll
Declaration
Property Value
Type | Description |
---|---|
Object | An object that is the currently selected item. |
Remarks
Note that if the chart control is bound to a data source, this property returns the data object assigned to the selected chart element. In the other case, the selected chart element itself will be returned.
Related GitHub Examples
The following code snippets (auto-collected from DevExpress Examples) contain references to the SelectedItem property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.