ToolStrip Custom Renderer Sample
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
With the ToolStrip Custom Renderer sample, you can switch between renderers and observe the effects of various settings.
For information about using the samples, see the following topics:
![]() |
---|
This sample code is provided to illustrate a concept and should not be used in applications or Web sites, as it may not illustrate the safest coding practices. Microsoft assumes no liability for incidental or consequential damages should the sample code be used for purposes other than as intended. |
At the command prompt, navigate to the location where you saved the uncompressed sample files.
Navigate to the VB subdirectory under the CustomRenderer directory.
Type msbuild to build the sample using the solution (.sln) file provided.
Type cd CustomRendererDemo\bin\ to navigate to the location of the executable file.
Type CustomRendererDemo.exe to run the sample.
In Windows Explorer, navigate to the location where you saved the uncompressed sample files.
Navigate to the VB subdirectory under the CustomRenderer directory.
Double-click the solution (.sln) file to open it in Visual Studio.
In Visual Studio, press F5 to build and run the sample.
- Enter various settings and observe the results.
Switching between renderers.
Effects of various settings on a given renderer.
How to: Create and Set a Custom Renderer for the ToolStrip Control in Windows Forms
ToolStrip Control Overview (Windows Forms)