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

ArcGIS.Desktop.Layouts Namespace > Layout Class : FindElement(String) Method
String
Finds an element with the given name on the page layout.
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

See Also

Reference

Layout Class
Layout Members