public void SetEditable( bool isEditable )
Public Sub SetEditable( _ ByVal isEditable As Boolean _ )
Parameters
- isEditable
- A boolean to toggle editability.
public void SetEditable( bool isEditable )
Public Sub SetEditable( _ ByVal isEditable As Boolean _ )
Exception | Description |
---|---|
ArcGIS.Core.CalledOnWrongThreadException | This method or property must be called within the lambda passed to QueuedTask.Run. |
if (!layer.IsVisible) layer.SetVisibility(true); if (layer is FeatureLayer featureLayer) { if (!featureLayer.IsEditable) featureLayer.SetEditable(true); if (!featureLayer.IsSnappable) featureLayer.SetSnappable(true); }
Target Platforms: Windows 11, Windows 10