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)

public enum TemplateOverride

Member nameDescription
NoneLet the control template decide.
TemplateRender the Template.
AlternateTemplateRender the AlternateTemplate.
BothRender Template unless it is null; else render AlternateTemplate.