public void ClearElementSelection()
Public Sub ClearElementSelection()
public void ClearElementSelection()
Public Sub ClearElementSelection()
Exception | Description |
---|---|
ArcGIS.Core.CalledOnWrongThreadException | This method or property must be called within the lambda passed to QueuedTask.Run. |
//Clear the layout's element selection. await QueuedTask.Run(() => layoutView.ClearElementSelection());
//If the a layout view is active, clear its selection LayoutView activeLayoutView = LayoutView.Active; if (activeLayoutView != null) { activeLayoutView.ClearElementSelection(); }
Target Platforms: Windows 11, Windows 10, Windows 8.1