TemplatedControlDesigner.GetTemplateContainerDataItemProperty(String) Método
Definição
Cuidado
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 de item de dados do contêiner do modelo.Gets the data item property of the template's container.
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.The name of the template.
Retornos
Uma cadeia de caracteres que representa os dados.A string representing the data.
- Atributos
Comentários
Observação
O GetTemplateContainerDataItemProperty método está obsoleto.The GetTemplateContainerDataItemProperty method is obsolete. Use a Templates propriedade dos TemplateGroups elementos de coleção para examinar os metadados de modelo em um designer para controles baseados em modelo.Use the Templates property of the TemplateGroups collection elements to examine template metadata within a designer for template-based controls.