Skip to main content
All docs
V25.1
  • SvgImageItem.FindAncestorById(String) Method

    Returns the item’s ancestor with the specified Id.

    Namespace: DevExpress.XtraEditors

    Assembly: DevExpress.Utils.v25.1.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
    SvgImageItem

    The found item. Null, if no item with the specified ID is found.

    See Also