SPView.Toolbar Property

Gets or sets the toolbar for the view.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

[ClientCallableConstraintAttribute(FixedId = "SPViewToolbar", Type = ClientCallableConstraintType.Custom, 
	Value = "It MUST be null or be a CAMLViewRoot as specified in [MS-WSSCAML].")]
[ClientCallableAttribute]
public string Toolbar { get; set; }

Property Value

Type: System.String
A Collaborative Application Markup Language (CAML) string that contains the toolbar definition.

The toolbar section in a view contains the definitions for tools options that are displayed beneath the title area and directly above list items.

Show: