ListFormWebPart.TemplateName Property
Gets or sets the name of the template.
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
[BrowsableAttribute(false)] [WebPartStorageAttribute(Storage.Shared)] public string TemplateName { get; set; }
Property Value
Type: System.StringThe name of the template, which depends on the current PageType. If not set, the default value is based on the current value of the PageType property.