Walkthrough: Using the Gradient Service in a Tool Window

Because Visual Studio 2010 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 Colors, Gradients, and Opacity.

See Also

Concepts

Colors, Gradients, and Opacity

Other Resources

Tool Window Walkthroughs

Tool Windows