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

WebVectorMapsListEditor.SelectionType Property

Returns the selection type supported by the WebVectorMapsListEditor.

Namespace: DevExpress.ExpressApp.Maps.Web

Assembly: DevExpress.ExpressApp.Maps.Web.v18.2.dll

Declaration

public override SelectionType SelectionType { get; }

Property Value

Type Description
SelectionType

A SelectionType enumeration value specifies the selection type supported by the current List Editor.

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 WebVectorMapsListEditor selection is active only while a postback is processed (when an area or marker is clicked on the vector map). So, the SelectionType property always returns SelectionType.TemporarySelection.

This property is used by XAF to determine what Actions to enable for a List View. Each Action has the ActionBase.SelectionDependencyType property that specifies whether an Action’s availability depends on the current selection. XAF determines what actions to enable for a List View by comparing the value of the Action’s SelectionDependencyType property with the List Editor‘s SelectionType property value. For instance, if an Action requires a selected object and the current List Editor does not support selection, the Action will not be available.

See Also