ListFormWebPart.ShowToolbarWithRibbon property

Gets or sets a value that indicates whether the toolbar is shown in addition to the Server ribbon.

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

Syntax

'Declaration
<WebPartStorageAttribute(Storage.Shared)> _
<BrowsableAttribute(True)> _
<ResourcesAttribute("ShowToolbarWithRibbon", "", "ShowToolbarWithRibbon")> _
Public Property ShowToolbarWithRibbon As Boolean
    Get
    Set
'Usage
Dim instance As ListFormWebPart
Dim value As Boolean

value = instance.ShowToolbarWithRibbon

instance.ShowToolbarWithRibbon = value
[WebPartStorageAttribute(Storage.Shared)]
[BrowsableAttribute(true)]
[ResourcesAttribute("ShowToolbarWithRibbon", "", "ShowToolbarWithRibbon")]
public bool ShowToolbarWithRibbon { get; set; }

Property value

Type: System.Boolean
true if the toolbar is shown in addition to the Server ribbon; otherwise, false.

Remarks

The default value is false.

This property returns false for SharePoint websites with an UIVersion less than or equal to 3.

See also

Reference

ListFormWebPart class

ListFormWebPart members

Microsoft.SharePoint.WebPartPages namespace