ControlDesigner.ReadOnly 속성

정의

주의

The recommended alternative is to inherit from ContainerControlDesigner instead and to use an EditableDesignerRegion. Regions allow for better control of the content in the designer. http://go.microsoft.com/fwlink/?linkid=14202

컨트롤의 속성이 디자인 타임에 읽기 전용인지 여부를 나타내는 값을 가져오거나 설정합니다.

public:
 property bool ReadOnly { bool get(); void set(bool value); };
public bool ReadOnly { get; set; }
[System.Obsolete("The recommended alternative is to inherit from ContainerControlDesigner instead and to use an EditableDesignerRegion. Regions allow for better control of the content in the designer. http://go.microsoft.com/fwlink/?linkid=14202")]
public bool ReadOnly { get; set; }
member this.ReadOnly : bool with get, set
[<System.Obsolete("The recommended alternative is to inherit from ContainerControlDesigner instead and to use an EditableDesignerRegion. Regions allow for better control of the content in the designer. http://go.microsoft.com/fwlink/?linkid=14202")>]
member this.ReadOnly : bool with get, set
Public Property ReadOnly As Boolean

속성 값

Boolean

컨트롤의 속성이 디자인 타임에 읽기 전용이면 true이고, 그렇지 않으면 false입니다.

특성

설명

클래스는 ControlDesigner 기본적으로 읽기 전용입니다. 읽기/쓰기 기능은 개체를 DesignerRegion 추가하거나 클래스와 같은 ContainerControlDesigner 기본 클래스를 사용하여 제공됩니다.

참고

ReadOnly 속성은 사용되지 않습니다. ContainerControlDesigner 편집 가능한 디자이너 영역을 추가할 수 있는 클래스 또는 템플릿에서 편집 가능한 디자이너 영역을 만들 수 있는 개체에서 TemplatedControlDesigner 파생됩니다.

적용 대상

추가 정보