Share via


WebPartGalleryItem.RibbonCommand Property

A string that contains the Server ribbon command ID for the control.

Namespace:  Microsoft.SharePoint.WebPartPages
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
Public MustOverride ReadOnly Property RibbonCommand As String
    Get
'Usage
Dim instance As WebPartGalleryItem
Dim value As String

value = instance.RibbonCommand
public abstract string RibbonCommand { get; }

Property Value

Type: System.String
The ribbon command name.

See Also

Reference

WebPartGalleryItem Class

WebPartGalleryItem Members

Microsoft.SharePoint.WebPartPages Namespace