Skip to main content
.NET 8.0+

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

ChoiceActionItem.ParentItem Property

Returns the current ChoiceActionItem’s parent item.

Namespace: DevExpress.ExpressApp.Actions

Assembly: DevExpress.ExpressApp.v24.2.dll

NuGet Package: DevExpress.ExpressApp

#Declaration

[Browsable(false)]
public ChoiceActionItem ParentItem { get; }

#Property Value

Type Description
ChoiceActionItem

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

#Remarks

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