Quantcast
Channel: Visual Studio Integrate forum
Viewing all articles
Browse latest Browse all 4410

How to control toolbar visibility from code (Isolated Shell)

$
0
0
Hello everybody,

I’m developing an application in Isolated mode and need some fine-grained visual customization. I want to find out how to show/hide toolbars (custom or built-in) from code. An example of this would be when the Edit toolbar automatically appears when opening a file for editing.

Let us take the standard toolbar as an example. In the .vssettings file we have this line:

<modify_toolbar Visibility="auto" Menu="{D309F791-903F-11D0-9EFC-00A0C911004F}:00000001" ……>

Now it’s visible.

<modify_toolbar Visibility="hide" Menu="{D309F791-903F-11D0-9EFC-00A0C911004F}:00000001" ……>

Now it’s hidden.

I would like to control toolbar visibility from code, given its GUID or by some other approach. 

Thanks a lot.

Viewing all articles
Browse latest Browse all 4410

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>