SvgImageItem.FindAncestor(Predicate<SvgImageItem>) Method
Returns the item’s ancestor that matches the specified condition.
Namespace: DevExpress.XtraEditors
Assembly: DevExpress.Utils.v24.2.dll
NuGet Packages: DevExpress.Utils, DevExpress.Wpf.Core
#Declaration
public SvgImageItem FindAncestor(
Predicate<SvgImageItem> predicate
)
#Parameters
Name | Type | Description |
---|---|---|
predicate | Predicate<Svg |
The search condition. |
#Returns
Type | Description |
---|---|
Svg |
The found item. Null, if no ancestor matches the specified condition. |