Compartilhar via


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

Syntax

'Declaration
<WebPartStorageAttribute(Storage.Shared)> _
<ResourcesAttribute("ShowToolbarWithRibbon", "", "ShowToolbarWithRibbon")> _
<BrowsableAttribute(True)> _
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)]
[ResourcesAttribute("ShowToolbarWithRibbon", "", "ShowToolbarWithRibbon")]
[BrowsableAttribute(true)]
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