ToolStripProfessionalRenderer Class
Handles the painting functionality for ToolStrip objects, applying a custom palette and a streamlined style.
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
System.Windows.Forms::ToolStripRenderer
System.Windows.Forms::ToolStripProfessionalRenderer
| Name | Description | |
|---|---|---|
![]() | ToolStripProfessionalRenderer() | Initializes a new instance of the ToolStripProfessionalRenderer class. |
![]() | ToolStripProfessionalRenderer(ProfessionalColorTable^) | Initializes a new instance of the ToolStripProfessionalRenderer class. |
| Name | Description | |
|---|---|---|
![]() | ColorTable | Gets the color palette used for painting. |
![]() | RoundedEdges | Gets or sets a value indicating whether edges of controls have a rounded rather than a square or sharp appearance. |
| Name | Description | |
|---|---|---|
![]() | RenderArrow | Occurs when an arrow on a ToolStripItem is rendered.(Inherited from ToolStripRenderer.) |
![]() | RenderButtonBackground | Occurs when the background for a ToolStripButton is rendered(Inherited from ToolStripRenderer.) |
![]() | RenderDropDownButtonBackground | Occurs when the background for a ToolStripDropDownButton is rendered.(Inherited from ToolStripRenderer.) |
![]() | RenderGrip | Occurs when the move handle for a ToolStrip is rendered.(Inherited from ToolStripRenderer.) |
![]() | RenderImageMargin | Draws the margin between an image and its container. (Inherited from ToolStripRenderer.) |
![]() | RenderItemBackground | Occurs when the background for a ToolStripItem is rendered.(Inherited from ToolStripRenderer.) |
![]() | RenderItemCheck | Occurs when the image for a selected ToolStripItem is rendered.(Inherited from ToolStripRenderer.) |
![]() | RenderItemImage | Occurs when the image for a ToolStripItem is rendered.(Inherited from ToolStripRenderer.) |
![]() | RenderItemText | Occurs when the text for a ToolStripItem is rendered.(Inherited from ToolStripRenderer.) |
![]() | RenderLabelBackground | Occurs when the background for a ToolStripLabel is rendered.(Inherited from ToolStripRenderer.) |
![]() | RenderMenuItemBackground | Occurs when the background for a ToolStripMenuItem is rendered.(Inherited from ToolStripRenderer.) |
![]() | RenderOverflowButtonBackground | Occurs when the background for an overflow button is rendered.(Inherited from ToolStripRenderer.) |
![]() | RenderSeparator | Occurs when a ToolStripSeparator is rendered.(Inherited from ToolStripRenderer.) |
![]() | RenderSplitButtonBackground | Occurs when the background for a ToolStripSplitButton is rendered.(Inherited from ToolStripRenderer.) |
![]() | RenderStatusStripSizingGrip | Occurs when the display style changes.(Inherited from ToolStripRenderer.) |
![]() | RenderToolStripBackground | Occurs when the background for a ToolStrip is rendered.(Inherited from ToolStripRenderer.) |
![]() | RenderToolStripBorder | Occurs when the border for a ToolStrip is rendered.(Inherited from ToolStripRenderer.) |
![]() | RenderToolStripContentPanelBackground | Draws the background of a ToolStripContentPanel.(Inherited from ToolStripRenderer.) |
![]() | RenderToolStripPanelBackground | Draws the background of a ToolStripPanel.(Inherited from ToolStripRenderer.) |
![]() | RenderToolStripStatusLabelBackground | Draws the background of a ToolStripStatusLabel.(Inherited from ToolStripRenderer.) |
ToolStripProfessionalRenderer creates pens and brushes based on a replaceable color table called ProfessionalColorTable.
The following code example demonstrates how to create a composite control that mimics the Navigation Pane provided by Microsoft® Outlook®. For a full code listing, see How to: Create a Professionally Styled ToolStrip Control.
Available since 2.0
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.



