Udostępnij za pośrednictwem


DataGridDesigner.GetTemplatePropertyParentType(String) Metoda

Definicja

Przestroga

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

Type Pobiera obiekt odpowiadający elementowi nadrzędnego określonego szablonu.

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

Parametry

templateName
String

Nazwa szablonu.

Zwraca

Odpowiadający Type elementowi nadrzędne określonego szablonu.

Atrybuty

Uwagi

Metoda GetTemplatePropertyParentType jest przestarzała. Aby uzyskać dostęp do metadanych szablonu, zobacz TemplateDefinition.

Dotyczy

Zobacz też