Partilhar via


TemplateOverride Enumeration

Specifies whether a TemplateBasedControl object should render its Template or AlternateTemplate or whether it should let the logic of its own ControlTemplate determine whether its Template or AlternateTemplate is rendered.

Namespace:  Microsoft.SharePoint.WebControls
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
Public Enumeration TemplateOverride
'Usage
Dim instance As TemplateOverride
public enum TemplateOverride

Members

Member name Description
None Let the control template decide.
Template Render the Template.
AlternateTemplate Render the AlternateTemplate.
Both Render Template unless it is null; else render AlternateTemplate.

See Also

Reference

Microsoft.SharePoint.WebControls Namespace