Exception | Description |
---|---|
ArcGIS.Core.CalledOnWrongThreadException | This method must be called on the GUI thread. |
//Open the layout properties dialog. //Get the layout associated with a layout project item LayoutProjectItem lytItem = Project.Current.GetItems<LayoutProjectItem>().FirstOrDefault(item => item.Name.Equals("Layout Name")); Layout lyt = await QueuedTask.Run(() => lytItem.GetLayout()); //Worker thread //Open the properties dialog lyt.ShowProperties(); //GUI thread
Target Platforms: Windows 11, Windows 10, Windows 8.1