DataGridDesigner.GetTemplateContainerDataItemProperty(String) Metod

Definition

Varning

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

Hämtar dataobjektegenskapen för mallcontainern.

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

Parametrar

templateName
String

Namnet på mallen.

Returer

Dataobjektegenskapen för mallcontainern.

Attribut

Kommentarer

Metoden GetTemplateContainerDataItemProperty är föråldrad. Information om hur du kommer åt mallmetadata finns i TemplateDefinition.

Gäller för

Se även