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

View.SelectionType Property

Returns the selection type supported by a View.

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v18.2.dll

Declaration

public virtual SelectionType SelectionType { get; }

Property Value

Type Description
SelectionType

A SelectionType enumeration value representing the selection type supported by the current View.

Available values:

Name Description
None

A List Editor or a View does not support focusing an object nor selection of objects.

FocusedObject

A List Editor or a View supports focusing an object, but does not support selection of objects.

MultipleSelection

A List Editor or a View supports selection of single and multiple objects.

TemporarySelection

A List Editor or a View supports selection type, which is active only while a postback is processed. For instance, it can be active when a record displayed by an ASP.NET Web List editor is clicked.

Full

A List Editor or a View supports selection of single and multiple objects, as well as focusing an object.

Remarks

The SelectionType property returns the SelectionType.None value, indicating that the selection is not supported. This property should be overridden in View class descendants. The ListView and DetailView classes specify this property in different ways (see ListView.SelectionType and DetailView.SelectionType).

See Also