Compartilhar via


ToolbarType Property

The ToolbarType property of the SPView class gets the type of toolbar used in the view.

Property Value

A string that indicates the toolbar type.

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.

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.

Requirements

Platforms: Microsoft Windows Server 2003

Security: Code Access Security