DesignSurface 생성자

정의

DesignSurface 클래스의 새 인스턴스를 초기화합니다.

오버로드

DesignSurface()

DesignSurface 클래스의 새 인스턴스를 초기화합니다.

DesignSurface(IServiceProvider)

DesignSurface 클래스의 새 인스턴스를 초기화합니다.

DesignSurface(Type)

DesignSurface 클래스의 새 인스턴스를 초기화합니다.

DesignSurface(IServiceProvider, Type)

DesignSurface 클래스의 새 인스턴스를 초기화합니다.

DesignSurface()

DesignSurface 클래스의 새 인스턴스를 초기화합니다.

public:
 DesignSurface();
public DesignSurface ();
Public Sub New ()

예외

IDesignerHost에 연결된 DesignSurface가 삭제된 경우

적용 대상

DesignSurface(IServiceProvider)

DesignSurface 클래스의 새 인스턴스를 초기화합니다.

public:
 DesignSurface(IServiceProvider ^ parentProvider);
public DesignSurface (IServiceProvider parentProvider);
public DesignSurface (IServiceProvider? parentProvider);
new System.ComponentModel.Design.DesignSurface : IServiceProvider -> System.ComponentModel.Design.DesignSurface
Public Sub New (parentProvider As IServiceProvider)

매개 변수

parentProvider
IServiceProvider

부모 서비스 공급자이거나, 서비스 확인에 사용되는 부모가 없으면 null입니다.

예외

IDesignerHost에 연결된 DesignSurface가 삭제된 경우

설명

parentProvide 가 디자이너 화면에 포함 된 애플리케이션에서 서비스를 검색할 수 있습니다.

추가 정보

적용 대상

DesignSurface(Type)

DesignSurface 클래스의 새 인스턴스를 초기화합니다.

public:
 DesignSurface(Type ^ rootComponentType);
public DesignSurface (Type rootComponentType);
new System.ComponentModel.Design.DesignSurface : Type -> System.ComponentModel.Design.DesignSurface
Public Sub New (rootComponentType As Type)

매개 변수

rootComponentType
Type

만들 루트 구성 요소의 형식입니다.

예외

rootComponent이(가) null인 경우

IDesignerHost에 연결된 DesignSurface가 삭제된 경우

설명

사용 하는 경우는 DesignSurface 생성자를 지정 된 형식의 구성 요소를 만들고 로드 프로세스를 종료 한 다음는 간단한 디자이너 로더를 만듭니다. 이 확실 한 방법은 가정에서 디자이너를 만드는 모든 상태를 저장할 때 외부에서 수행 됩니다. 이 호출 하는 내부적으로 BeginLoad 루트 구성 요소 형식을 전달 합니다.

참고

합니다 DesignSurface 오버 로드는 영향을 받지 않습니다 DesignerOptions합니다. DesignerOptions 디자인 화면을 로드 하기 전에 서비스 컨테이너에 있어야 합니다. 에 액세스 해야 하는 경우 DesignerOptions빈 생성자를 호출, 추가 합니다 DesignerOptionsServiceContainer 호출 BeginLoad 사용 하 여 rootComponentType입니다.

적용 대상

DesignSurface(IServiceProvider, Type)

DesignSurface 클래스의 새 인스턴스를 초기화합니다.

public:
 DesignSurface(IServiceProvider ^ parentProvider, Type ^ rootComponentType);
public DesignSurface (IServiceProvider parentProvider, Type rootComponentType);
public DesignSurface (IServiceProvider? parentProvider, Type rootComponentType);
new System.ComponentModel.Design.DesignSurface : IServiceProvider * Type -> System.ComponentModel.Design.DesignSurface
Public Sub New (parentProvider As IServiceProvider, rootComponentType As Type)

매개 변수

parentProvider
IServiceProvider

부모 서비스 공급자이거나, 서비스 확인에 사용되는 부모가 없으면 null입니다.

rootComponentType
Type

만들 루트 구성 요소의 형식입니다.

예외

rootComponent이(가) null인 경우

IDesignerHost에 연결된 DesignSurface가 삭제된 경우

설명

사용 하 여 DesignSurface 생성자에 지정 된 형식의 구성 요소를 만들고 다음 로드 프로세스를 종료 하는 간단한 디자이너 로더를 만듭니다. 이 확실 한 방법은 가정에서 디자이너를 만드는 모든 상태를 저장할 때 외부에서 수행 됩니다. 이 호출 하는 내부적으로 BeginLoad 루트 구성 요소 형식을 전달 합니다.

추가 정보

적용 대상