Note
Access to this page requires authorization. You can try signing in or .
Access to this page requires authorization. You can try .
Office.VisibilityMode enum
- Package:
- office
Visibility mode of the add-in.
Remarks
Used by
Examples
Office.onReady(() => {
Office.addin.onVisibilityModeChanged((args: Office.VisibilityModeChangedMessage) => {
if (args.visibilityMode === Office.VisibilityMode.taskpane) {
// Do something when the task pane is visible.
}
});
// Other startup tasks.
});
Fields
| hidden = 'Hidden' | UI is hidden. |
| taskpane = 'Taskpane' | Displayed as a task pane. |
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
Feedback
Was this page helpful?
