Skip to main content
A newer version of this page is available. .

SvgImageItem.FindAncestor(Predicate<SvgImageItem>) Method

Returns the item’s ancestor that matches the specified condition.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.Utils.v19.2.dll

Declaration

public SvgImageItem FindAncestor(
    Predicate<SvgImageItem> predicate
)

Parameters

Name Type Description
predicate Predicate<SvgImageItem>

The search condition.

Returns

Type Description
SvgImageItem

The found item. Null, if no ancestor matches the specified condition.

See Also