Office.ContextMenuControl interface

Represents an individual context menu control and its state.

To learn more, see Change the availability of add-in commands.

Remarks

Requirement set: ContextMenuAPI 1.1

Properties

enabled

Indicates whether the control is available on the context menu.

id

Identifier of the context menu control as specified in the manifest.

Property Details

enabled

Indicates whether the control is available on the context menu.

enabled?: boolean;

Property Value

boolean

id

Identifier of the context menu control as specified in the manifest.

id: string;

Property Value

string