TreeListEditor.SelectionType Property

Returns the selection type supported by the TreeListEditor.

Namespace: DevExpress.ExpressApp.TreeListEditors.Win

Assembly: DevExpress.ExpressApp.TreeListEditors.Win.v18.1.dll

Declaration

public override SelectionType SelectionType { get; }
Public Overrides ReadOnly Property SelectionType As SelectionType

Property Value

Type Description
SelectionType

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

The TreeListEditor supports selection of a single object as well as selection of multiple objects. So, the SelectionType property always returns SelectionType.Full.

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