ParentControlDesigner.CreateToolCore 메서드

정의

Important

이 API는 CLS 규격이 아닙니다.

모든 CreateTool(ToolboxItem) 메서드에 대한 핵심 기능을 제공합니다.

protected:
 virtual cli::array <System::ComponentModel::IComponent ^> ^ CreateToolCore(System::Drawing::Design::ToolboxItem ^ tool, int x, int y, int width, int height, bool hasLocation, bool hasSize);
protected virtual System.ComponentModel.IComponent[] CreateToolCore(System.Drawing.Design.ToolboxItem tool, int x, int y, int width, int height, bool hasLocation, bool hasSize);
[System.CLSCompliant(false)]
protected virtual System.ComponentModel.IComponent[] CreateToolCore(System.Drawing.Design.ToolboxItem tool, int x, int y, int width, int height, bool hasLocation, bool hasSize);
abstract member CreateToolCore : System.Drawing.Design.ToolboxItem * int * int * int * int * bool * bool -> System.ComponentModel.IComponent[]
override this.CreateToolCore : System.Drawing.Design.ToolboxItem * int * int * int * int * bool * bool -> System.ComponentModel.IComponent[]
[<System.CLSCompliant(false)>]
abstract member CreateToolCore : System.Drawing.Design.ToolboxItem * int * int * int * int * bool * bool -> System.ComponentModel.IComponent[]
override this.CreateToolCore : System.Drawing.Design.ToolboxItem * int * int * int * int * bool * bool -> System.ComponentModel.IComponent[]
Protected Overridable Function CreateToolCore (tool As ToolboxItem, x As Integer, y As Integer, width As Integer, height As Integer, hasLocation As Boolean, hasSize As Boolean) As IComponent()

매개 변수

tool
ToolboxItem

ToolboxItem 구성 요소를 만들려는 요소입니다.

x
Int32

크기가 지정된 경우 디자인 타임 보기 좌표에서 도구의 왼쪽 가장자리 위치의 가로 위치입니다. 크기가 지정되지 않은 경우 도구 가운데의 가로 위치입니다.

y
Int32

크기가 지정된 경우 도구의 위쪽 가장자리 위치의 세로 위치(디자인 타임 보기 좌표)입니다. 크기가 지정되지 않은 경우 도구 가운데의 세로 위치입니다.

width
Int32

도구의 너비입니다. 매개 변수가 .로 설정된 hasSize경우 false 이 매개 변수는 무시됩니다.

height
Int32

도구의 높이입니다. 매개 변수가 .로 설정된 hasSize경우 false 이 매개 변수는 무시됩니다.

hasLocation
Boolean

true 구성 요소의 위치를 지정하면 이고, false 구성 요소가 현재 선택된 컨트롤의 가운데에 배치될 경우

hasSize
Boolean

구성 요소의 크기를 지정하면 구성 요소의 기본 높이 및 너비 값을 사용하려면 입니다.

반품

도구에서 만든 구성 요소의 배열입니다.

특성

설명

재정의할 수 있는 유일한 CreateTool 메서드입니다.

적용 대상

추가 정보