TemplatedControlDesigner.GetTemplatePropertyParentType(String) 메서드

정의

주의

Use of this method is not recommended because template editing is handled in ControlDesigner. To support template editing expose template data in the TemplateGroups property and call SetViewFlags(ViewFlags.TemplateEditing, true). http://go.microsoft.com/fwlink/?linkid=14202

템플릿 속성의 부모 형식을 가져옵니다.

public:
 virtual Type ^ GetTemplatePropertyParentType(System::String ^ templateName);
public virtual Type GetTemplatePropertyParentType (string templateName);
[System.Obsolete("Use of this method is not recommended because template editing is handled in ControlDesigner. To support template editing expose template data in the TemplateGroups property and call SetViewFlags(ViewFlags.TemplateEditing, true). http://go.microsoft.com/fwlink/?linkid=14202")]
public virtual Type GetTemplatePropertyParentType (string templateName);
abstract member GetTemplatePropertyParentType : string -> Type
override this.GetTemplatePropertyParentType : string -> Type
[<System.Obsolete("Use of this method is not recommended because template editing is handled in ControlDesigner. To support template editing expose template data in the TemplateGroups property and call SetViewFlags(ViewFlags.TemplateEditing, true). http://go.microsoft.com/fwlink/?linkid=14202")>]
abstract member GetTemplatePropertyParentType : string -> Type
override this.GetTemplatePropertyParentType : string -> Type
Public Overridable Function GetTemplatePropertyParentType (templateName As String) As Type

매개 변수

templateName
String

부모의 형식을 반환할 템플릿의 이름입니다.

반환

Type

템플릿 속성이 있는 개체의 형식을 반환합니다.

특성

설명

참고

GetTemplatePropertyParentType 메서드는 사용 되지 않습니다. Templates 컬렉션 요소의 TemplateGroups 속성을 사용하여 디자이너 내에서 템플릿 기반 컨트롤에 대한 템플릿 메타데이터를 검사합니다.

적용 대상

추가 정보