共用方式為


ActionsPane.ContextMenu Property

Gets or sets the shortcut menu associated with the actions pane.

Namespace:  Microsoft.Office.Tools
Assembly:  Microsoft.Office.Tools.Common (in Microsoft.Office.Tools.Common.dll)

Syntax

'Declaration
<BrowsableAttribute(False)> _
Property ContextMenu As ContextMenu
[BrowsableAttribute(false)]
ContextMenu ContextMenu { get; set; }

Property Value

Type: System.Windows.Forms.ContextMenu
The shortcut menu associated with the actions pane.

Remarks

This property provides the same functionality as the Control.ContextMenu property. For more information about using this property, see Control.ContextMenu.

.NET Framework Security

See Also

Reference

ActionsPane Interface

Microsoft.Office.Tools Namespace

Other Resources

Actions Pane Overview