ToolStripRenderMode Enum

Definition

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

Custom 0

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

ManagerRenderMode 3

Indicates that the RenderMode or Renderer determines the painting style.

Professional 2

Indicates the use of a ToolStripProfessionalRenderer to paint.

System 1

Indicates the use of a ToolStripSystemRenderer to paint.

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