Share via


MembersWebPart.Toolbar property

Gets or sets a flag that indicates whether to display a toolbar for this Web Part.

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

Syntax

'Declaration
<ResourcesAttribute("ToolbarSelectorLabel", "Layout", "ToolbarSelectorLabel")> _
<WebPartStorageAttribute(Storage.Personal)> _
Public Property Toolbar As Boolean
    Get
    Set
'Usage
Dim instance As MembersWebPart
Dim value As Boolean

value = instance.Toolbar

instance.Toolbar = value
[ResourcesAttribute("ToolbarSelectorLabel", "Layout", "ToolbarSelectorLabel")]
[WebPartStorageAttribute(Storage.Personal)]
public bool Toolbar { get; set; }

Property value

Type: System.Boolean
true displays the toolbar; otherwise, false.

Remarks

The Toolbar property is read/write. The default value for this property is true.

See also

Reference

MembersWebPart class

MembersWebPart members

Microsoft.SharePoint.WebPartPages namespace