I am working on an addin where all data editing in Pro is done through custom forms. We want to display attribute tables but they need to be read-only. The plan therefore is to hide the out-of-the-box Attribute Table functionality and build a custom panel which will display attribute tables using multiple TableControls. We have tested TableControlSample from community samples and it does what we want. The data, both from enterprise and file geodatabases, cannot be edited in the TableControl. That said, the control comes from the Editing namespace which makes us wonder if editing is possible under certain scenarios.
Does TableControl always present a read-only view of feature layer or table attributes? If it does allow editing what are the conditions, and is there a way to always prevent editing?