TemplatedControlDesigner.GetTemplatePropertyParentType Method (String)

 
Note: This API is now obsolete.

Gets the type of the parent of the template property.

Namespace:   System.Web.UI.Design
Assembly:  System.Design (in System.Design.dll)

[<ObsoleteAttribute("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 GetTemplatePropertyParentType : 
        templateName:string -> Type
[<ObsoleteAttribute("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")>]
override GetTemplatePropertyParentType : 
        templateName:string -> Type

Parameters

templateName
Type: System.String

The name of the template to return the type of the parent for.

Return Value

Type: System.Type

The type of the object that has the template property.

System_CAPS_noteNote

The GetTemplatePropertyParentType method is obsolete. Use the Templates property of the TemplateGroups collection elements to examine template metadata within a designer for template-based controls.

.NET Framework
Available since 1.1
Return to top
Show: