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, Windows 8.1