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)
Available in Sandboxed Solutions: No

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