ListEditor.GetSelectedObjects() Method

Provides access to the collection of objects that are currently selected in the List Editor's control.

Namespace: DevExpress.ExpressApp.Editors

Assembly: DevExpress.ExpressApp.v18.2.dll

Declaration

public abstract IList GetSelectedObjects()
Public MustOverride Function GetSelectedObjects As IList

Returns

Type Description
IList

A list of the selected objects.

Use this method to access selected objects. To perform the required actions when the selection is changed, handle the ListEditor.SelectionChanged event.

When deriving from the ListEditor class, override this method to return a collection of the selected objects. If the List Editor's control does not support selection, return an empty collection. In this instance, set the ListEditor.SelectionType property to SelectionType.None.

See Also