Back to Devexpress

View.SelectionType Property

expressappframework-devexpress-dot-expressapp-dot-view-1684bcc9.md

latest2.4 KB
Original Source

View.SelectionType Property

Returns the selection type supported by a View.

Namespace : DevExpress.ExpressApp

Assembly : DevExpress.ExpressApp.v25.2.dll

NuGet Package : DevExpress.ExpressApp

Declaration

csharp
public virtual SelectionType SelectionType { get; }
vb
Public Overridable ReadOnly Property SelectionType As SelectionType

Property Value

TypeDescription
SelectionType

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

|

Available values:

NameDescription
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.

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

View Class

View Members

DevExpress.ExpressApp Namespace