TemplatedControlDesigner.GetTemplateContainerDataItemProperty(String) Método

Definição

Atenção

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

Obtém a propriedade do item de dados do contentor do template.

public:
 virtual System::String ^ GetTemplateContainerDataItemProperty(System::String ^ templateName);
public virtual string GetTemplateContainerDataItemProperty(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 virtual string GetTemplateContainerDataItemProperty(string templateName);
abstract member GetTemplateContainerDataItemProperty : string -> string
override this.GetTemplateContainerDataItemProperty : string -> string
[<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")>]
abstract member GetTemplateContainerDataItemProperty : string -> string
override this.GetTemplateContainerDataItemProperty : string -> string
Public Overridable Function GetTemplateContainerDataItemProperty (templateName As String) As String

Parâmetros

templateName
String

O nome do modelo.

Devoluções

Uma cadeia que representa os dados.

Atributos

Observações

Note

O GetTemplateContainerDataItemProperty método está obsoleto. Use a Templates propriedade dos TemplateGroups elementos da coleção para examinar metadados template dentro de um designer para controlos baseados em templates.

Aplica-se a

Ver também