DataGridDesigner.GetTemplatePropertyParentType(String) Methode

Definition

Achtung

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

Ruft das Type-Objekt ab, das dem übergeordneten Element der angegebenen Vorlage entspricht.

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

Parameter

templateName
String

Der Name der Vorlage.

Gibt zurück

Der Type, der dem übergeordneten Element der angegebenen Vorlage entspricht.

Attribute

Hinweise

Die GetTemplatePropertyParentType Methode ist veraltet. Informationen zum Zugreifen auf die Vorlagenmetadaten finden Sie unter TemplateDefinition.

Gilt für:

Weitere Informationen