DynamicField.ReadOnly 属性

定义

获取动态字段的只读状态。Gets the read-only state of the dynamic field.

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

属性值

Boolean

动态字段的只读状态。The read-only state of the dynamic field.

注解

如果 ReadOnly 属性为 true ,则 DynamicField 控件将加载只读模板。If the ReadOnly property is true, the DynamicField control loads a read-only template. 此属性要求启用视图状态。This property requires that view state be enabled.

适用于