ToolStripRenderMode ToolStripRenderMode ToolStripRenderMode ToolStripRenderMode Enum

定义

指定应用于窗体中包含的一个 ToolStrip 的绘制样式。Specifies the painting style applied to one ToolStrip contained in a form.

public enum class ToolStripRenderMode
public enum ToolStripRenderMode
type ToolStripRenderMode = 
Public Enum ToolStripRenderMode
继承
ToolStripRenderModeToolStripRenderModeToolStripRenderModeToolStripRenderMode

字段

Custom Custom Custom Custom 0

指示 RenderMode 不是通过 ToolStripManager 或使用除 ToolStripRendererToolStripProfessionalRenderer 以外的 ToolStripSystemRenderer 确定的。Indicates that the RenderMode is not determined by the ToolStripManager or the use of a ToolStripRenderer other than ToolStripProfessionalRenderer, ToolStripSystemRenderer

ManagerRenderMode ManagerRenderMode ManagerRenderMode ManagerRenderMode 3

指示 RenderModeRenderer 确定绘制样式。Indicates that the RenderMode or Renderer determines the painting style.

Professional Professional Professional Professional 2

指示使用 ToolStripProfessionalRenderer 进行绘制。Indicates the use of a ToolStripProfessionalRenderer to paint.

System System System System 1

指示使用 ToolStripSystemRenderer 进行绘制。Indicates the use of a ToolStripSystemRenderer to paint.

注解

不能将设置为ToolStrip.RenderMode "自定义"。You cannot explicitly set the ToolStrip.RenderMode to Custom. ToolStrip.RenderMode但是, ToolStrip.Renderer当设置ToolStripRenderer为不ToolStripProfessionalRenderer是或ToolStripSystemRenderer的类的扩展时, 将返回 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.

适用于