ContentControl.LockContents 属性

定义

返回或设置一个 boolean 类型的值 ,该值表示用户能否编辑内容控件的内容。 读/写。

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

属性值

Boolean

注解

此属性的默认值为 False 。 此属性对应于 内容控件属性对话框中的 无法编辑内容复选框。

适用于