Excel add in (Content app) How to get rid of top right arrow

120 Views Asked by At

Excel add in (Content app) How to get rid of top right arrow.
enter image description here This element(div) is auto created by app development template.

2

There are 2 best solutions below

1
Michael Zlatkovsky - Microsoft On

This is "by design", so there is nothing you can do on your end to get rid of it (I think it actually sits above the web content, and is inaccessible to the DOM altogether). But there had been some discussion of possibly finding an alternate pattern, at least in task panes. Let me talk to my team about this.

0
Marko Cubic On

The top right icon is a Personality Menu button per documentation. As Michael said, it is placed there "by design" and can not be removed. The browser version of the Excel doesn't have it but Mac and Windows do.

You can conditionally move the content that is hidden by the button using the Office.PlatformType enum.