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)
'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; }
Type: System.Boolean
true if the toolbar needs to be shown in addition to the ribbon; otherwise, false. The default value is false.
If the UIVersion() is less than or equal to 3, this property will always be false.