ToolStripRenderMode Enum
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 one ToolStrip contained in a form.
public enum class ToolStripRenderMode
public enum ToolStripRenderMode
type ToolStripRenderMode =
Public Enum ToolStripRenderMode
- Inheritance
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. |
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.
Product | Versions |
---|---|
.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 |
.NET feedback
.NET is an open source project. Select a link to provide feedback: