다음을 통해 공유


ParentControlDesigner.CanParent 메서드

정의

지정된 컨트롤이 디자이너에서 관리하는 컨트롤의 자식일 수 있는지 여부를 나타냅니다.

오버로드

Name Description
CanParent(Control)

지정된 컨트롤이 이 디자이너에서 관리하는 컨트롤의 자식일 수 있는지 여부를 나타냅니다.

CanParent(ControlDesigner)

지정된 디자이너에서 관리하는 컨트롤이 이 디자이너에서 관리하는 컨트롤의 자식일 수 있는지 여부를 나타냅니다.

CanParent(Control)

Source:
ParentControlDesigner.cs
Source:
ParentControlDesigner.cs
Source:
ParentControlDesigner.cs
Source:
ParentControlDesigner.cs
Source:
ParentControlDesigner.cs

지정된 컨트롤이 이 디자이너에서 관리하는 컨트롤의 자식일 수 있는지 여부를 나타냅니다.

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 테스트할 수 있습니다.

반품

true지정된 컨트롤이 이 디자이너에서 관리하는 컨트롤의 자식일 수 있으면 이고, 그렇지 않으면 . false

설명

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

추가 정보

적용 대상

CanParent(ControlDesigner)

Source:
ParentControlDesigner.cs
Source:
ParentControlDesigner.cs
Source:
ParentControlDesigner.cs
Source:
ParentControlDesigner.cs
Source:
ParentControlDesigner.cs

지정된 디자이너에서 관리하는 컨트롤이 이 디자이너에서 관리하는 컨트롤의 자식일 수 있는지 여부를 나타냅니다.

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

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

반품

true지정된 디자이너에서 관리하는 컨트롤이 이 디자이너에서 관리하는 컨트롤의 자식일 수 있으면 이고, 그렇지 않으면 . false

설명

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

추가 정보

적용 대상