Skip to main content

SvgImageItem.FindAncestor(Predicate<SvgImageItem>) Method

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

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.Utils.v24.1.dll

NuGet Packages: DevExpress.Utils, DevExpress.Wpf.Core

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