Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

ToolStripRenderMode Enum

Definition

Namespace:
System.Windows.Forms
Assembly:
System.Windows.Forms.dll
Source:
ToolStripRenderMode.cs
Source:
ToolStripRenderMode.cs
Source:
ToolStripRenderMode.cs
Source:
ToolStripRenderMode.cs
Source:
ToolStripRenderMode.cs

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

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

public enum class ToolStripRenderMode
public enum ToolStripRenderMode
type ToolStripRenderMode = 
Public Enum ToolStripRenderMode
Inheritance
ToolStripRenderMode

Fields

Name Value Description
Custom 0

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

System 1

Indicates the use of a ToolStripSystemRenderer to paint.

Professional 2

Indicates the use of a ToolStripProfessionalRenderer to paint.

ManagerRenderMode 3

Indicates that the RenderMode or Renderer determines the painting style.

Remarks

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.

Applies to


Feedback

Was this page helpful?