mYnDstrEAm
mYnDstrEAm

Reputation: 789

How to replicate Team Explorer's Toolbar for my own VS-extension (is the source code available)?

I'd like to create a Visual Studio 2013 Extension with toolbars in its windows - those should be roughly the same as Team Explorer's Toolbar.
So I wondered if its source code is available somewhere so that I don't have to reinvent the wheel if it's not really needed.
So far I only created the sample toolbar of this guide.

Upvotes: 0

Views: 104

Answers (1)

Carlos Quintero
Carlos Quintero

Reputation: 4414

If you mean to create a toolbar inside your toolwindow, see Walkthrough: Adding a Toolbar to a Tool Window

If you mean to replicate the Team Explorer buttons actions, you have lots of "tfs" commands ("Tools" >"Options" window, "Environment" > "Keyboard" section, "Show commands containing" list) that you can execute programmatically, either by command full name or by command guid/id (HOWTO: Execute a command by Guid and Id from a Visual Studio package).

Upvotes: 1

Related Questions