Condividi tramite


DataGridDesigner.GetTemplateContainerDataItemProperty(String) Metodo

Definizione

Attenzione

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

Ottiene la proprietà dell'elemento di dati del contenitore del modello.

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

Parametri

templateName
String

Nome del modello.

Restituisce

Proprietà dell'elemento dati del contenitore del modello.

Attributi

Commenti

Il GetTemplateContainerDataItemProperty metodo è obsoleto. Per accedere ai metadati del modello, vedere TemplateDefinition.

Si applica a

Vedi anche