System.Windows.Forms.ToolStripRenderMode Enumeration

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

Syntax

public enum ToolStripRenderMode

Remarks

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

Members

Member NameDescription
Custom

Indicates that the ToolStrip.RenderMode is not determined by the System.Windows.Forms.ToolStripManager or the use of a System.Windows.Forms.ToolStripRenderer other than System.Windows.Forms.ToolStripProfessionalRenderer, System.Windows.Forms.ToolStripSystemRenderer

ManagerRenderMode

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

Professional

Indicates the use of a System.Windows.Forms.ToolStripProfessionalRenderer to paint.

System

Indicates the use of a System.Windows.Forms.ToolStripSystemRenderer to paint.

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0