Bewerken

Share via


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

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