LockContents
property of the content control to true to prevent users from editing the control, and set the LockContentControl
property to true to prevent users from deleting the control.ThisDocument
class in your project, and call the AddProtectedContentControls
method from the ThisDocument_Startup
event handler.ThisAddIn
class in your project, and call the AddProtectedContentControls
method from the ThisAddIn_Startup
event handler.ThisDocument
class in your project. A border that represents the group control is visible at design time, but there is no visible border at runtime.ThisDocument
class in your project, and call the ProtectFirstParagraph
method from the ThisDocument_Startup
event handler.ThisAddIn
class in your project, and call the ProtectFirstParagraph
method from the ThisAddIn_Startup
event handler.