[]
Iterates over content items that belong to this Element or its children, and returns a ContentItem that matches a criteria specified via a callback.
public ContentItemBase FindContentItem(Func<ContentItemBase, bool> callback, bool recursive = true)
Public Function FindContentItem(callback As Func(Of ContentItemBase, Boolean), Optional recursive As Boolean = True) As ContentItemBase
Type | Name | Description |
---|---|---|
Func<ContentItemBase, bool> | callback | The callback method used to test the content items. |
bool | recursive | Indicates whether to iterate over content items of child elements. |
Type | Description |
---|---|
ContentItemBase | The first content item for which the |