Export (0) Print
Expand All

SPView.ToolbarType Property

Windows SharePoint Services 3

Gets the type of toolbar that is used in the view.

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

public string ToolbarType { get; }

Property Value

Type: System.String
A string that indicates the toolbar type.

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

Possible values for the type of toolbar include the following, which correspond to values of the Toolbar Type setting in the tool pane for modifying a list view Web Part:

  • Standard —The most common type of toolbar, which is used, for example, in the All Items views for most lists, and which corresponds to Full Toolbar in the Web Part tool pane.

  • FreeForm —Used in Default.aspx and Web Part Pages and corresponds to Summary Toolbar in the Web Part tool pane.

  • None —No toolbar is used in the view, corresponding to No Toolbar in the Web Part tool pane.

Community Additions

ADD
Show:
© 2014 Microsoft