DataFormWebPart.ShowToolbarWithRibbon property

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

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

Syntax

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

value = instance.ShowToolbarWithRibbon

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

Property value

Type: System.Boolean
true if the toolbar needs to be shown in addition to the ribbon; otherwise, false. The default value is false.

Remarks

If the UIVersion() is less than or equal to 3, this property will always be false.

See also

Reference

DataFormWebPart class

DataFormWebPart members

Microsoft.SharePoint.WebPartPages namespace