ChoiceActionBase.IsHierarchical() Method
Checks whether the Action’s ChoiceActionBase.Items collection has a tree-like structure.
Namespace: DevExpress.ExpressApp.Actions
Assembly: DevExpress.ExpressApp.v24.2.dll
NuGet Package: DevExpress.ExpressApp
#Declaration
#Remarks
The IsHierarchical method iterates through the Action’s ChoiceActionBase.Items collection (represented by the ChoiceActionItemCollection class) and detects if there are child Items.
This method returns true
The items are displayed via a menu editor (in the tree mode).
This method returns false
The items are displayed via a combo box editor (in the list mode).
Note
The control used to display a Single Choice Action in the list or tree mode depends on the Single