--- title: "How to: Set the ToolStrip Renderer for an Application" ms.date: "03/30/2017" dev_langs: - "csharp" - "vb" helpviewer_keywords: - "Renderer property [Windows Forms]" - "ToolStripProfessionalRenderer class [Windows Forms]" - "ToolStrip control [Windows Forms]" - "MenuStrip control [Windows Forms]" - "toolbars [Windows Forms], customizing" ms.assetid: 46acef3e-9844-4ae8-9a2e-3006fe99cadf --- # How to: Set the ToolStrip Renderer for an Application You can customize the appearance of your controls individually or for all the controls in your application. ## Example The following code example demonstrates how to selectively apply a custom renderer to a control and a control. To use this code example, compile and run the application, and then select the scope of the custom rending from the control. Click **Apply** to set the renderer. To see custom menu item rendering, select the option from the control, click **Apply**, and then open the **File** menu item. [!code-csharp[System.Windows.Forms.ToolStrip.Misc#1](~/samples/snippets/csharp/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip.Misc/CS/Program.cs#1)] [!code-vb[System.Windows.Forms.ToolStrip.Misc#1](~/samples/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip.Misc/VB/Program.vb#1)] [!code-csharp[System.Windows.Forms.ToolStrip.Misc#70](~/samples/snippets/csharp/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip.Misc/CS/Program.cs#70)] [!code-vb[System.Windows.Forms.ToolStrip.Misc#70](~/samples/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip.Misc/VB/Program.vb#70)] Set the property to apply a custom renderer to all the controls in your application. Set the property to apply a custom renderer to an individual control. ## Compiling the Code This example requires: - References to the System.Design, System.Drawing, and System.Windows.Forms assemblies. ## See also - - - - - [ToolStrip Control](toolstrip-control-windows-forms.md)