Skip to main content
.NET 8.0+

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

View.SelectionType Property

Returns the selection type supported by a View.

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v24.2.dll

NuGet Package: DevExpress.ExpressApp

#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 Forms 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