DataGridDesigner.GetTemplatePropertyParentType Method (String)


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Note: This API is now obsolete.

Gets the Type object corresponding to the parent of the specified template.

Namespace:   System.Web.UI.Design.WebControls
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).")]
public override Type GetTemplatePropertyParentType(
	string templateName


Type: System.String

The name of the template.

Return Value

Type: System.Type

The Type corresponding to the parent of the specified template.

The GetTemplatePropertyParentType method is obsolete. To access the template metadata, see TemplateDefinition.

.NET Framework
Available since 1.1
Return to top