Skip to main content
All docs
V25.2
  • ShapeCollection.Find<TResult>(Func<TResult, Boolean>) Method

    Finds the first occurrence of a shape that matches the specified condition.

    Namespace: DevExpress.Docs.Presentation

    Assembly: DevExpress.Docs.Presentation.v25.2.dll

    NuGet Package: DevExpress.Docs.Presentation

    Declaration

    public TResult Find<TResult>(
        Func<TResult, bool> predicate
    )

    Parameters

    Name Type Description
    predicate Func<TResult, Boolean>

    A function that defines the condition of the shape to find.

    Type Parameters

    Name Description
    TResult

    The type of the shape to find.

    Returns

    Type Description
    TResult

    The first shape that matches the specified condition.

    See Also