TemplatedControlDesigner::GetTemplatePropertyParentType Method (String^)
.NET Framework (current version)
Note: This API is now obsolete.
Namespace:
System.Web.UI.Design
Assembly: System.Design (in System.Design.dll)
Return to top
Gets the type of the parent of the template property.
Assembly: System.Design (in System.Design.dll)
public: [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")] virtual Type^ GetTemplatePropertyParentType( String^ templateName )
Parameters
- templateName
-
Type:
System::String^
The name of the template to return the type of the parent for.
Note |
|---|
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
Available since 1.1
Show:
