Udostępnij przez


TemplatedControlDesigner.GetTemplateContainerDataItemProperty(String) Metoda

Definicja

Przestroga

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

Pobiera właściwość elementu danych kontenera szablonu.

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

Parametry

templateName
String

Nazwa szablonu.

Zwraca

Ciąg reprezentujący dane.

Atrybuty

Uwagi

Uwaga

Metoda GetTemplateContainerDataItemProperty jest przestarzała. Templates Użyj właściwości TemplateGroups elementów kolekcji, aby zbadać metadane szablonu w projektancie dla kontrolek opartych na szablonach.

Dotyczy

Zobacz też