ToolStripManager::RenderMode Property
.NET Framework (current version)
Gets or sets the default theme for the form.
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
public: property ToolStripManagerRenderMode RenderMode { static ToolStripManagerRenderMode get(); [UIPermissionAttribute(SecurityAction::Demand, Window = UIPermissionWindow::AllWindows)] static void set(ToolStripManagerRenderMode value); }
Property Value
Type: System.Windows.Forms::ToolStripManagerRenderModeOne of the ToolStripManagerRenderMode values.
| Exception | Condition |
|---|---|
| InvalidEnumArgumentException | The set value was not one of the ToolStripManagerRenderMode values. |
| NotSupportedException | ToolStripManagerRenderMode is set to Custom; use the Renderer property instead. |
Use the RenderMode property to get or set whether the application is painted by the ToolStripProfessionalRenderer, the ToolStripSystemRenderer, or a customized ToolStripRenderer.
.NET Framework
Available since 2.0
Available since 2.0
Show: