I was wondering if anyone would know how to toggle whether a layer is editable or not.
I am building a custom Add-in and would like a way to make a layer editable or uneditable based on layer name.
It is simple. Use SetEditable method from layer.
fl.SetEditable(fl.Name == "Blabla");