Skip to main content
A newer version of this page is available. .
Tab

ASPxListEdit.SelectedItem Property

Gets or sets the editor’s selected list item.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v19.2.dll

Declaration

public ListEditItem SelectedItem { get; set; }

Property Value

Type Description
ListEditItem

A ListEditItem object representing the currently selected list item.

Remarks

Use the SelectedItem property to access the currently selected item within the list editor. If you want to obtain the index of the selected item, use the ASPxListEdit.SelectedIndex property.

Handle the ASPxListEdit.SelectedIndexChanged event to respond to the selection being changed within the list editor.

The following code snippet (auto-collected from DevExpress Examples) contains a reference 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.

See Also