ToolStrip::RenderMode Property
.NET Framework (current version)
Gets or sets a value that indicates which visual styles will be applied to the ToolStrip.
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
public: property ToolStripRenderMode RenderMode { ToolStripRenderMode get(); void set(ToolStripRenderMode value); }
Property Value
Type: System.Windows.Forms::ToolStripRenderModeA value that indicates the visual style to apply. The default is ManagerRenderMode.
| Exception | Condition |
|---|---|
| InvalidEnumArgumentException | The value being set is not one of the ToolStripRenderMode values. |
| NotSupportedException | ToolStripRenderMode is set to Custom without the Renderer property being assigned to a new instance of ToolStripRenderer. |
.NET Framework
Available since 2.0
Available since 2.0
Show: