ToolStripRenderMode Enumeration

 

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 class ToolStripRenderMode

Member nameDescription
Custom

Indicates that the RenderMode is not determined by the ToolStripManager or the use of a ToolStripRenderer other than ToolStripProfessionalRenderer, ToolStripSystemRenderer

ManagerRenderMode

Indicates that the ToolStripManager::RenderMode or ToolStripManager::Renderer determines the painting style.

Professional

Indicates the use of a ToolStripProfessionalRenderer to paint.

System

Indicates 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.

.NET Framework
Available since 2.0
Return to top
Show: