ArcGIS Pro 2.7 API Reference Guide
UnSelectElement Method (Layout)

ArcGIS.Desktop.Layouts Namespace > Layout Class : UnSelectElement Method
The selected element to unselect. Cannot be null
Unselect the element on the page layout.
Syntax
public void UnSelectElement( 
   Element element
)
Public Sub UnSelectElement( _
   ByVal element As Element _
) 

Parameters

element
The selected element to unselect. Cannot be null
Exceptions
ExceptionDescription
Value cannot be null: element
elements must belong to layout 'URI'
Requirements

Target Platforms: Windows 10, Windows 8.1

See Also

Reference

Layout Class
Layout Members