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)

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