Enabled element

Specifies whether a Button control or Menu control is enabled when the add-in launches. The <Enabled> element is a child element of Control. If it is omitted, the default is true.

Add-in type: Task pane

Valid only in these VersionOverrides schemas:

  • Task pane 1.0

For more information, see Version overrides in the add-in only manifest.

Associated with these requirement sets:

This element is only valid in Excel, PowerPoint, and Word; that is, when the Name attribute of the Host element is "Workbook", "Presentation", or "Document".

The parent control can also be programmatically enabled and disabled. For more information, see Enable and Disable Add-in Commands.

Example

<Enabled>false</Enabled>