ToolBar.Template_Buttons Property

Gets or sets an ITemplate object that defines the ASP.NET controls to render as the buttons on the Toolbar control.

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

Syntax

'Declaration
<TemplateInstanceAttribute(TemplateInstance.Single)> _
<TemplateContainerAttribute(GetType(UserControl))> _
<PersistenceModeAttribute(PersistenceMode.InnerProperty)> _
Public Property Template_Buttons As ITemplate
    Get
    Set
'Usage
Dim instance As ToolBar
Dim value As ITemplate

value = instance.Template_Buttons

instance.Template_Buttons = value
[TemplateInstanceAttribute(TemplateInstance.Single)]
[TemplateContainerAttribute(typeof(UserControl))]
[PersistenceModeAttribute(PersistenceMode.InnerProperty)]
public ITemplate Template_Buttons { get; set; }

Property Value

Type: System.Web.UI.ITemplate
A template for the controls.

See Also

Reference

ToolBar Class

ToolBar Members

Microsoft.SharePoint.WebControls Namespace