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>
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
Office Add-ins