System.Web.UI.Design.ControlDesigner.ReadOnly Property

Gets or sets a value indicating whether the properties of the control are read-only at design time.

Syntax

[System.Obsolete("Use ContainerControlDesigner and EditableDesignerRegion")]
public bool ReadOnly { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

The System.Web.UI.Design.ControlDesigner class is read-only, by nature. Read/write features are provided by adding a System.Web.UI.Design.DesignerRegion object or using base classes, such as the System.Web.UI.Design.ContainerControlDesigner class.

Note:

The ControlDesigner.ReadOnly property is obsolete. Derive from the System.Web.UI.Design.ContainerControlDesigner class to which you can add editable designer regions or from the System.Web.UI.Design.TemplatedControlDesigner object to which you can create editable designer regions in templates.

Requirements

Namespace: System.Web.UI.Design
Assembly: System.Design (in System.Design.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0