Condividi tramite


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)
Available in Sandboxed Solutions: No

Syntax

'Declaration
Protected Friend Property WebPartMenu As Menu
    Get
    Set
'Usage
Dim value As Menu

value = Me.WebPartMenu

Me.WebPartMenu = value
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.

Remarks

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

See Also

Reference

WebPart Class

WebPart Members

Microsoft.SharePoint.WebPartPages Namespace