Compartir a través de


TemplatedControlDesigner.GetTemplateContainerDataItemProperty(String) Método

Definición

Precaución

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

Obtiene la propiedad del elemento de datos del contenedor de la plantilla.

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

Nombre de la plantilla.

Devoluciones

Cadena que representa los datos.

Atributos

Comentarios

Nota

El GetTemplateContainerDataItemProperty método está obsoleto. Utilice la Templates propiedad de los elementos de la TemplateGroups colección para examinar los metadatos de plantilla dentro de un diseñador para los controles basados en plantillas.

Se aplica a

Consulte también