[]
        
(Showing Draft Content)

C1.C1Preview.RenderObject.IndexOfFragment

IndexOfFragment Method

IndexOfFragment(RenderFragment)

Returns the index of the specified RenderFragment of the current object in the Fragments collection.

Declaration
public int IndexOfFragment(RenderFragment rf)
Parameters
Type Name Description
RenderFragment rf

The RenderFragment to return the index of.

Returns
Type Description
int

The 0-based index of the specified fragment in Fragments, or -1 if there are no fragments or the fragment was not found.