語言

DataGridDesigner.GetTemplateContainerDataItemProperty(String) 方法

定義

警告

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 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

參數

templateName
String

範本的名稱。

傳回

範本容器的資料項目屬性。

屬性

備註

這種 GetTemplateContainerDataItemProperty 方法已經過時了。 欲存取範本元資料,請參見 TemplateDefinition。

適用於

另請參閱