Share via


ParentControlDesigner.CanParent 메서드

정의

지정한 컨트롤이 디자이너가 관리하는 컨트롤의 자식이 될 수 있는지 여부를 나타냅니다.

오버로드

CanParent(Control)

지정한 컨트롤이 이 디자이너가 관리하는 컨트롤의 자식이 될 수 있는지 여부를 나타냅니다.

CanParent(ControlDesigner)

지정한 디자이너가 관리하는 컨트롤이 이 디자이너가 관리하는 컨트롤의 자식이 될 수 있는지 여부를 나타냅니다.

CanParent(Control)

지정한 컨트롤이 이 디자이너가 관리하는 컨트롤의 자식이 될 수 있는지 여부를 나타냅니다.

public:
 virtual bool CanParent(System::Windows::Forms::Control ^ control);
public virtual bool CanParent (System.Windows.Forms.Control control);
abstract member CanParent : System.Windows.Forms.Control -> bool
override this.CanParent : System.Windows.Forms.Control -> bool
Public Overridable Function CanParent (control As Control) As Boolean

매개 변수

control
Control

테스트할 Control입니다.

반환

Boolean

지정한 컨트롤이 이 디자이너가 관리하는 컨트롤의 자식이 될 수 있으면 true이고, 그렇지 않으면 false입니다.

설명

이 메서드는 디자이너에서 관리되는 컨트롤이 지정된 ControlDesigner컨트롤을 부모로 지정할 수 있는지 여부를 나타냅니다.

추가 정보

적용 대상

CanParent(ControlDesigner)

지정한 디자이너가 관리하는 컨트롤이 이 디자이너가 관리하는 컨트롤의 자식이 될 수 있는지 여부를 나타냅니다.

public:
 virtual bool CanParent(System::Windows::Forms::Design::ControlDesigner ^ controlDesigner);
public virtual bool CanParent (System.Windows.Forms.Design.ControlDesigner controlDesigner);
abstract member CanParent : System.Windows.Forms.Design.ControlDesigner -> bool
override this.CanParent : System.Windows.Forms.Design.ControlDesigner -> bool
Public Overridable Function CanParent (controlDesigner As ControlDesigner) As Boolean

매개 변수

controlDesigner
ControlDesigner

테스트할 컨트롤의 디자이너입니다.

반환

Boolean

지정한 디자이너가 관리하는 컨트롤이 이 디자이너가 관리하는 컨트롤의 자식일 수 있으면 true이고, 그렇지 않으면 false입니다.

설명

이 메서드는 이 디자이너에서 관리되는 컨트롤이 지정된 ControlDesigner컨트롤을 부모로 지정할 수 있는지 여부를 나타냅니다.

추가 정보

적용 대상