aspnet-devexpress-dot-web-dot-aspxlistedit-55a4cb60.md
Gets the collection of items in the list editor.
Namespace : DevExpress.Web
Assembly : DevExpress.Web.v25.2.dll
NuGet Package : DevExpress.Web
public ListEditItemCollection Items { get; }
Public ReadOnly Property Items As ListEditItemCollection
| Type | Description |
|---|---|
| ListEditItemCollection |
A ListEditItemCollection instance representing the collection of the editor’s items.
|
This property is a wrapper of the ListEditProperties.Items property.
The following code snippets (auto-collected from DevExpress Examples) contain references to the Items 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.
List<String> result = new List<string>();
foreach(ListEditItem editItem in listBox.Items) {
if(editItem.Selected)
ASPxCheckBoxList control = (ASPxCheckBoxList)sender;
foreach (ListEditItem item in control.Items) {
object obj = objectSpace.GetObjectByKey(MemberInfo.ListElementTypeInfo.Type, item.Value);
Dim result As New List(Of String)()
For Each editItem As ListEditItem In listBox.Items
If editItem.Selected Then
Dim control As ASPxCheckBoxList = CType(sender, ASPxCheckBoxList)
For Each item As ListEditItem In control.Items
Dim obj As Object = objectSpace.GetObjectByKey(MemberInfo.ListElementTypeInfo.Type, item.Value)
See Also