Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

WebPart.WebPartMenu property

Gets or sets the Web Part menu source that is rendered in the frame of the Web Part.

Namespace:  Microsoft.SharePoint.WebPartPages
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
protected internal Menu WebPartMenu { get; set; }

Property value

Type: Microsoft.SharePoint.WebPartPages.Menu
A Menu object that defines the source for the Web Part menu. By default, this property returns the default menu.

If the WebPartMenu property is set to a null reference (Nothing in Visual Basic), the menu is not rendered in the Web Part frame.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2014 Microsoft. All rights reserved.