ArcGIS Pro 2.6 API Reference Guide
FindElement(String) Method
Example 

ArcGIS.Desktop.Layouts Namespace > Layout Class : FindElement(String) Method
String
Finds and element on a page layout by element name.
Syntax
public Element FindElement( 
   string name
)
Public Function FindElement( _
   ByVal name As String _
) As Element

Parameters

name
String

Return Value

Example
//Find a layout element.  The example below is referencing an existing text element.

TextElement txtElm = layout.FindElement("Text") as TextElement;
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 7

See Also

Reference

Layout Class
Layout Members