Edit

Share via


ContentControl.LockContents Property

Definition

Returns or sets a Boolean that represents whether the user can edit the contents of a content control. Read/write.

public:
 property bool LockContents { bool get(); void set(bool value); };
public bool LockContents { get; set; }
member this.LockContents : bool with get, set
Public Property LockContents As Boolean

Property Value

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.

Applies to