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

ListEditItem.Selected Property

Gets or sets whether a list box item is selected.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v20.2.dll

NuGet Package: DevExpress.Web

Declaration

[DefaultValue(false)]
public bool Selected { get; set; }

Property Value

Type Default Description
Boolean **false**

true if an item is selected; otherwise, false.

Remarks

By default, only one list box item can be selected at once. To select more than one item, set the ASPxListBox.SelectionMode property to ListEditSelectionMode.Multiple or ListEditSelectionMode.CheckColumn.

For more information about multiple selection, read the Multi-Selection Mode topic.

The following code snippets (auto-collected from DevExpress Examples) contain references to the Selected 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