Rediger

Del via


ToolStripManagerRenderMode Enum

Definition

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

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

Fields

Name Value Description
Custom 0

Indicates the use of a ToolStripRenderer other than ToolStripProfessionalRenderer or ToolStripSystemRenderer.

System 1

Indicates the use of a ToolStripSystemRenderer to paint.

Professional 2

Indicates the use of a ToolStripProfessionalRenderer to paint.

Remarks

The ToolStripManagerRenderMode is used by the ToolStripManager class and sets the painting style for ToolStrip objects that have their ToolStrip.RenderMode property set to ToolStripRenderMode.ManagerRenderMode.

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

Applies to