HierarchyItemSelectionMode

public enum HierarchyItemSelectionMode

Enum representing the selection modes for hierarchical items.

The HierarchyItemSelectionMode enum defines different modes for selecting items in a hierarchy. It can be used to control how users can interact with items in a hierarchical structure, such as in tree views or nested lists.

Note

The selection mode can be utilized to manage the user’s ability to select items depending on the specific requirements of your application.
  • Do not allow selection of hierarchical items.

    Declaration

    Swift

    case none
  • Allow selection of a single hierarchical item. Only one item can be selected at any given time.

    Declaration

    Swift

    case single
  • Allow selection of multiple hierarchical items. The user can select more than one item from the hierarchy.

    Declaration

    Swift

    case multiple