[]
        
(Showing Draft Content)

C1.C1Preview.RenderObjectCollection.FindByAnchorName

FindByAnchorName Method

FindByAnchorName(string, out C1Anchor)

Searches the current collection for an object that contains an anchor with the specified name in its Anchors collection.

Declaration
public RenderObject FindByAnchorName(string anchorName, out C1Anchor anchor)
Parameters
Type Name Description
string anchorName

The name of the anchor to search for.

C1Anchor anchor

OUT: contains the C1Anchor object with the specified name.

Returns
Type Description
RenderObject

Returns the found render object or null if not found.