SvgImageItem.FindAncestorById(String) Method
Returns the item’s ancestor with the specified Id.
Namespace: DevExpress.XtraEditors
Assembly: DevExpress.Utils.v24.2.dll
NuGet Packages: DevExpress.Utils, DevExpress.Wpf.Core
#Declaration
public SvgImageItem FindAncestorById(
string id
)
#Parameters
Name | Type | Description |
---|---|---|
id | String | The Id property value of the target ancestor. |
#Returns
Type | Description |
---|---|
Svg |
The found item. Null, if no item with the specified ID is found. |
FindAncestorById(String)