Export (0) Print
Expand All
Expand Minimize
0 out of 10 rated this helpful - Rate this topic

ToolStripRenderMode Enumeration

Note: This enumeration is new in the .NET Framework version 2.0.

Specifies the painting style applied to one ToolStrip contained in a form.

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in system.windows.forms.dll)

public enum ToolStripRenderMode
public enum ToolStripRenderMode
public enum ToolStripRenderMode
 Member nameDescription
CustomIndicates that the RenderMode is not determined by the ToolStripManager or the use of a ToolStripRenderer other than ToolStripProfessionalRenderer, ToolStripSystemRenderer 
ManagerRenderModeIndicates that the ToolStripManager.RenderMode or ToolStripManager.Renderer determines the painting style. 
ProfessionalIndicates the use of a ToolStripProfessionalRenderer to paint. 
SystemIndicates the use of a ToolStripSystemRenderer to paint. 

You cannot explicitly set the ToolStrip.RenderMode to Custom. However, the ToolStrip.RenderMode returns Custom when the ToolStrip.Renderer is set to an extension of the ToolStripRenderer class that is not ToolStripProfessionalRenderer or ToolStripSystemRenderer.

Windows 98, Windows 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 2.0

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.