ArcGIS Pro 3.4 API Reference Guide
ArcGIS.Desktop.Mapping Namespace / BasicFeatureLayer Class / IsEditable Property
Example Version

IsEditable Property (BasicFeatureLayer)
Gets whether a layer is editable.
Syntax
public bool IsEditable {get;}
Remarks
Returns true only when (a) you have data source level permission to edit and (b) it is made editable on the map.
Example
Change layer visibility, editability, snappability
if (!layer.IsVisible)
  layer.SetVisibility(true);

if (layer is FeatureLayer featureLayer)
{
  if (!featureLayer.IsEditable)
    featureLayer.SetEditable(true);

  if (!featureLayer.IsSnappable)
    featureLayer.SetSnappable(true);
}
Requirements

Target Platforms: Windows 11, Windows 10

ArcGIS Pro version: 3 or higher.
See Also