.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET Core 3.0+

ChoiceActionItem.ParentItem Property

Returns the current ChoiceActionItem's parent item.

Namespace: DevExpress.ExpressApp.Actions

Assembly: DevExpress.ExpressApp.v20.2.dll


public ChoiceActionItem ParentItem { get; }
Public ReadOnly Property ParentItem As ChoiceActionItem

Property Value

Type Description

A ChoiceActionItem object representing the current Item's parent item.


Each ChoiceActionItem can have a collection of ChoiceActionItems, each of which can also have a collection of ChoiceActionItems, and so on. The entire Items collection of a ChoiceAction can contain two or more ChoiceActionItems with the same captions. You can determine an Item by its parent Item. For this purpose, use the ParentItem property. Alternatively, use the ChoiceActionItem.GetItemPath method.

See Also