ArcGIS Pro 2.6 API Reference Guide
GetSelectedElements Method (LayoutView)
Example 

ArcGIS.Desktop.Layouts Namespace > LayoutView Class : GetSelectedElements Method
Returns a collection of selected layout elements.
Syntax
public IReadOnlyList<Element> GetSelectedElements()
Public Function GetSelectedElements() As IReadOnlyList(Of Element)

Return Value

A collection of page layout elements.
Example
//Get the selected layout elements.

var selectedElements = layoutView.GetSelectedElements();
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 7

See Also

Reference

LayoutView Class
LayoutView Members