Grieck

Change the layer properties through code?

Discussion created by Grieck on Mar 10, 2010
Latest reply on Mar 11, 2010 by Grieck
Hello,

Is it possible to change the layer properties through code? I would like to be able to change the visibility and read only states of a few fields in several of my feature classes. These fields are used to support IRelationshipClass assignments and should not be changed by the user during an edit session. Currently these fields are exposed to the end user and can potentially be altered creating issues for the relationships. The user can manually alter these fields on their own but I have not found any ArcObjects that expose a method for altering the values through code. I have attached a screen shot of the fields I'm specifically talking about. Please be clear I am not looking for a way to make the entire layer read only or not visible, just specific fields in the layer itself.

G

Attachments

Outcomes