Прочетете на английски Редактиране

Споделяне чрез


ToolStripManagerRenderMode Enum

Definition

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 multiple ToolStrip objects contained in a form.

C#
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

Продукт Версии
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9, 10