DataGridDesigner.GetTemplatePropertyParentType(String) Method

Definition

Caution

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

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

public:
 override Type ^ GetTemplatePropertyParentType(System::String ^ templateName);
public override 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 override Type GetTemplatePropertyParentType (string templateName);
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")>]
override this.GetTemplatePropertyParentType : string -> Type
Public Overrides Function GetTemplatePropertyParentType (templateName As String) As Type

Parameters

templateName
String

The name of the template.

Returns

The Type corresponding to the parent of the specified template.

Attributes

Remarks

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

Applies to

See also