Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets or sets the template that defines how the child controls are populated on the Web Part.
Namespace: Microsoft.SharePoint.WebPartPages
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Syntax
'Declaration
<TemplateContainerAttribute(GetType(TemplateContainer))> _
<BrowsableAttribute(False)> _
<WebPartStorageAttribute(Storage.None)> _
Public Property Template As ITemplate
Get
Set
'Usage
Dim instance As ListFormWebPart
Dim value As ITemplate
value = instance.Template
instance.Template = value
[TemplateContainerAttribute(typeof(TemplateContainer))]
[BrowsableAttribute(false)]
[WebPartStorageAttribute(Storage.None)]
public ITemplate Template { get; set; }
Property Value
Type: System.Web.UI.ITemplate
The template that defines how the child controls are populated. If not set, the template for the current TemplateName is returned.