Compartilhar 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)

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