ArcGIS Pro 2.8 API Reference Guide
UnSelectElement Method (LayoutView)

ArcGIS.Desktop.Layouts Namespace > LayoutView Class : UnSelectElement Method
The selected element to unselect. Cannot be null
Unselect the element within the layout view. This method must be called on the MCT. Use QueuedTask.Run.
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
This method or property must be called within the lambda passed to QueuedTask.Run.
Remarks
The layout view displaying the elements should be initialized.
Requirements

Target Platforms: Windows 10, Windows 8.1

See Also

Reference

LayoutView Class
LayoutView Members