MenuItem.MenuID Property
Gets or sets the unique identifier for a Web Part menu item. Token replacement is allowed.
Namespace: Microsoft.SharePoint.WebPartPages
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Syntax
'Declaration
Public Property MenuID As String
Get
Set
'Usage
Dim instance As MenuItem
Dim value As String
value = instance.MenuID
instance.MenuID = value
public string MenuID { get; set; }
Property Value
Type: System.String
The unique identifier for a menu item.
Remarks
The following table lists the MenuID property values for default menu items.
Menu tem |
MenuID value |
---|---|
Close |
MSOMenu_Close |
Delete |
MSOMenu_Delete |
Export... |
MSOMenu_Export |
Help |
MSOMenu_Help |
Minimize |
MSOMenu_Minimize |
Modify Web Part |
MSOMenu_Edit |
Restore |
MSOMenu_Restore |