共用方式為


ActionsPane.ContextMenuStrip Property

Gets or sets the ContextMenuStrip associated with the actions pane.

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

Syntax

'Declaration
Property ContextMenuStrip As ContextMenuStrip
ContextMenuStrip ContextMenuStrip { get; set; }

Property Value

Type: System.Windows.Forms.ContextMenuStrip
The ContextMenuStrip for the actions pane, or nulla null reference (Nothing in Visual Basic) if there is no ContextMenuStrip. The default is nulla null reference (Nothing in Visual Basic).

Remarks

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

.NET Framework Security

See Also

Reference

ActionsPane Interface

Microsoft.Office.Tools Namespace

Other Resources

Actions Pane Overview