Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

TemplateBasedControl.TemplateOverride property

Gets or sets a value indicating whether the template referred to by the Template property or the one referred to by the AlternateTemplate property should be instantiated by the CreateChildControls method.

Namespace:  Microsoft.SharePoint.WebControls
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
protected TemplateOverride TemplateOverride { get; set; }

Property value

Type: Microsoft.SharePoint.WebControls.TemplateOverride
A TemplateOverride value that indicates whether a TemplateBasedControl object should render either its Template or AlternateTemplate or, whether it should let the logic of its own ControlTemplate property determine which template is rendered.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2014 Microsoft. All rights reserved.