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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Office Add-ins