ToolStrip::RenderMode Property


Gets or sets a value that indicates which visual styles will be applied to the ToolStrip.

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

property ToolStripRenderMode RenderMode {
	ToolStripRenderMode get();
	void set(ToolStripRenderMode value);

Property Value

Type: System.Windows.Forms::ToolStripRenderMode

A value that indicates the visual style to apply. The default is ManagerRenderMode.

Exception Condition

The value being set is not one of the ToolStripRenderMode values.


ToolStripRenderMode is set to Custom without the Renderer property being assigned to a new instance of ToolStripRenderer.

Use this property to indicate which set of visual styles the ToolStrip will use. You can use this property to specify a professional rendering style, a default system rendering style, or a style managed by the Renderer property value.

The following code example demonstrates the syntax for setting common ToolStrip properties, including the RenderMode property.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 2.0
Return to top