Clive
Clive

Reputation: 11

ArcGIS Pro SDK: Programmatically toggle whether a layer is editable or not

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.

Upvotes: -2

Views: 403

Answers (1)

Clive
Clive

Reputation: 11

Found out it was quite simple in the end had to use 'SetEditable' method from layer.

fl.SetEditable(true);

Upvotes: 1

Related Questions