Using the Gradient Service in a Tool Window

 

Because Visual Studio tool windows are built with Windows Presentation Foundation (WPF), you do not have to call the gradient service in code. Instead, in the designer that represents the tool window surface, select the StackPanel element, and then, in the Properties window, modify the Background property to set the gradient. For more information, see Setting Colors, Gradients, and Opacity.

Show: