Searches for a RenderFragment in the current collection that was produced by a specific RenderObject.

Namespace:  C1.C1Preview
Assembly:  C1.C1Report.2 (in C1.C1Report.2.dll)

Syntax

C#
public RenderFragment FindByObject(
	RenderObject ro,
	bool findInChildren
)
Visual Basic
Public Function FindByObject ( _
	ro As RenderObject, _
	findInChildren As Boolean _
) As RenderFragment

Parameters

ro
Type: C1.C1Preview..::..RenderObject
The render object to search for.
findInChildren
Type: System..::..Boolean
If true then fragment also will be searched in the Children collections of the objects contained in this collection.

Return Value

The fragment that was produced by ro, or null if it was not found.

See Also