Share via


SPView.Toolbar property

Gets or sets the toolbar for the view.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public Property Toolbar As String
    Get
    Set
'Usage
Dim instance As SPView
Dim value As String

value = instance.Toolbar

instance.Toolbar = value
public string Toolbar { get; set; }

Property value

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

Remarks

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

See also

Reference

SPView class

SPView members

Microsoft.SharePoint namespace