Skip to main content
.NET Framework 4.6.2+

ChoiceActionItemCollection.Find(String, ChoiceActionItemFindType, ChoiceActionItemFindTarget) Method

Returns the item that corresponds to the specified parameters.

Namespace: DevExpress.ExpressApp.Actions

Assembly: DevExpress.ExpressApp.v24.2.dll

NuGet Package: DevExpress.ExpressApp

Declaration

public ChoiceActionItem Find(
    string itemId,
    ChoiceActionItemFindType recursive,
    ChoiceActionItemFindTarget target
)

Parameters

Name Type Description
itemId String

A string value that specifies the identifier of the Action Item to be found.

recursive ChoiceActionItemFindType

A ChoiceActionItemFindType enumeration value that specifies how the search must be performed.

target ChoiceActionItemFindTarget

A ChoiceActionItemFindTarget enumeration value that specifies whether the found items must contain child items.

Returns

Type Description
ChoiceActionItem

A ChoiceActionItem object that matches the specified parameters.

Remarks

Use this method to get the required item from a ChoiceActionBase.Items collection. If an item is not found, this method returns null (Nothing in VB).

See Also