ContentControl.LockContents Property
Returns or sets a Boolean that represents whether the user can edit the contents of a content control. Read/write.
Namespace: Microsoft.Office.Interop.Word
Assembly: Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)
Syntax
'Declaration
Property LockContents As Boolean
Get
Set
'Usage
Dim instance As ContentControl
Dim value As Boolean
value = instance.LockContents
instance.LockContents = value
bool LockContents { get; set; }
Property Value
Type: System.Boolean
Boolean
Remarks
The default value of this property is False. This property corresponds to the Contents cannot be edited check box in the Content Control Properties dialog box.