Parameters
- isLocked
- Boolean
Exception | Description |
---|---|
ArcGIS.Core.CalledOnWrongThreadException | This method must be called within the lambda passed to QueuedTask.Run. |
true
displays the element on the page layout.//Modify an element's locked state if it isn't already //Perform on the worker thread await QueuedTask.Run(() => { if (!element.IsLocked) { element.SetLocked(true); } });
Target Platforms: Windows 10, Windows 8.1