ToolStripSystemRenderer Class

Definition

Handles the painting functionality for ToolStrip objects, using system colors and a flat visual style.

public ref class ToolStripSystemRenderer : System::Windows::Forms::ToolStripRenderer
public class ToolStripSystemRenderer : System.Windows.Forms.ToolStripRenderer
type ToolStripSystemRenderer = class
    inherit ToolStripRenderer
Public Class ToolStripSystemRenderer
Inherits ToolStripRenderer
Inheritance
ToolStripSystemRenderer

Remarks

ToolStripSystemRenderer applies system colors and a flat visual style to ToolStrip applications.

By default, the ToolStripSystemRenderer applies a palette of SystemColors and visual styles, if visual styles are enabled for the application.

Constructors

ToolStripSystemRenderer()

Initializes a new instance of the ToolStripSystemRenderer class.

Methods

DrawArrow(ToolStripArrowRenderEventArgs)

Draws an arrow on a ToolStripItem.

(Inherited from ToolStripRenderer)
DrawButtonBackground(ToolStripItemRenderEventArgs)

Draws the background for a ToolStripButton.

(Inherited from ToolStripRenderer)
DrawDropDownButtonBackground(ToolStripItemRenderEventArgs)

Draws the background for a ToolStripDropDownButton.

(Inherited from ToolStripRenderer)
DrawGrip(ToolStripGripRenderEventArgs)

Draws a move handle on a ToolStrip.

(Inherited from ToolStripRenderer)
DrawImageMargin(ToolStripRenderEventArgs)

Draws the space around an image on a ToolStrip.

(Inherited from ToolStripRenderer)
DrawItemBackground(ToolStripItemRenderEventArgs)

Draws the background for a ToolStripItem.

(Inherited from ToolStripRenderer)
DrawItemCheck(ToolStripItemImageRenderEventArgs)

Draws an image on a ToolStripItem that indicates the item is in a selected state.

(Inherited from ToolStripRenderer)
DrawItemImage(ToolStripItemImageRenderEventArgs)

Draws an image on a ToolStripItem.

(Inherited from ToolStripRenderer)
DrawItemText(ToolStripItemTextRenderEventArgs)

Draws text on a ToolStripItem.

(Inherited from ToolStripRenderer)
DrawLabelBackground(ToolStripItemRenderEventArgs)

Draws the background for a ToolStripLabel.

(Inherited from ToolStripRenderer)
DrawMenuItemBackground(ToolStripItemRenderEventArgs)

Draws the background for a ToolStripMenuItem.

(Inherited from ToolStripRenderer)
DrawOverflowButtonBackground(ToolStripItemRenderEventArgs)

Draws the background for an overflow button.

(Inherited from ToolStripRenderer)
DrawSeparator(ToolStripSeparatorRenderEventArgs)

Draws a ToolStripSeparator.

(Inherited from ToolStripRenderer)
DrawSplitButton(ToolStripItemRenderEventArgs)

Draws a ToolStripSplitButton.

(Inherited from ToolStripRenderer)
DrawStatusStripSizingGrip(ToolStripRenderEventArgs)

Draws a sizing grip.

(Inherited from ToolStripRenderer)
DrawToolStripBackground(ToolStripRenderEventArgs)

Draws the background for a ToolStrip.

(Inherited from ToolStripRenderer)
DrawToolStripBorder(ToolStripRenderEventArgs)

Draws the border for a ToolStrip.

(Inherited from ToolStripRenderer)
DrawToolStripContentPanelBackground(ToolStripContentPanelRenderEventArgs)

Draws the background of the ToolStripContentPanel.

(Inherited from ToolStripRenderer)
DrawToolStripPanelBackground(ToolStripPanelRenderEventArgs)

Draws the background of the ToolStripPanel.

(Inherited from ToolStripRenderer)
DrawToolStripStatusLabelBackground(ToolStripItemRenderEventArgs)

Draws the background of the ToolStripStatusLabel.

(Inherited from ToolStripRenderer)
Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
Initialize(ToolStrip)

When overridden in a derived class, provides for custom initialization of the given ToolStrip.

(Inherited from ToolStripRenderer)
InitializeContentPanel(ToolStripContentPanel)

Initializes the specified ToolStripContentPanel.

(Inherited from ToolStripRenderer)
InitializeItem(ToolStripItem)

When overridden in a derived class, provides for custom initialization of the given ToolStripItem.

(Inherited from ToolStripRenderer)
InitializePanel(ToolStripPanel)

Initializes the specified ToolStripPanel.

(Inherited from ToolStripRenderer)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
OnRenderArrow(ToolStripArrowRenderEventArgs)

Raises the RenderArrow event.

(Inherited from ToolStripRenderer)
OnRenderButtonBackground(ToolStripItemRenderEventArgs)

Raises the RenderButtonBackground event.

OnRenderDropDownButtonBackground(ToolStripItemRenderEventArgs)

Raises the RenderDropDownButtonBackground event.

OnRenderGrip(ToolStripGripRenderEventArgs)

Raises the RenderGrip event.

OnRenderImageMargin(ToolStripRenderEventArgs)

Draws the item background.

OnRenderItemBackground(ToolStripItemRenderEventArgs)

Raises the OnRenderItemBackground(ToolStripItemRenderEventArgs) event.

OnRenderItemCheck(ToolStripItemImageRenderEventArgs)

Raises the RenderItemCheck event.

(Inherited from ToolStripRenderer)
OnRenderItemImage(ToolStripItemImageRenderEventArgs)

Raises the RenderItemImage event.

(Inherited from ToolStripRenderer)
OnRenderItemText(ToolStripItemTextRenderEventArgs)

Raises the RenderItemText event.

(Inherited from ToolStripRenderer)
OnRenderLabelBackground(ToolStripItemRenderEventArgs)

Raises the RenderLabelBackground event.

OnRenderMenuItemBackground(ToolStripItemRenderEventArgs)

Raises the RenderMenuItemBackground event.

OnRenderOverflowButtonBackground(ToolStripItemRenderEventArgs)

Raises the RenderOverflowButtonBackground event.

OnRenderSeparator(ToolStripSeparatorRenderEventArgs)

Raises the RenderSeparator event.

OnRenderSplitButtonBackground(ToolStripItemRenderEventArgs)

Raises the OnRenderSplitButtonBackground event.

OnRenderStatusStripSizingGrip(ToolStripRenderEventArgs)

Raises the RenderStatusStripSizingGrip event.

(Inherited from ToolStripRenderer)
OnRenderToolStripBackground(ToolStripRenderEventArgs)

Raises the RenderToolStripBackground event.

OnRenderToolStripBorder(ToolStripRenderEventArgs)

Raises the RenderToolStripBorder event.

OnRenderToolStripContentPanelBackground(ToolStripContentPanelRenderEventArgs)

Raises the RenderToolStripContentPanelBackground event.

(Inherited from ToolStripRenderer)
OnRenderToolStripPanelBackground(ToolStripPanelRenderEventArgs)

Raises the RenderToolStripPanelBackground event.

(Inherited from ToolStripRenderer)
OnRenderToolStripStatusLabelBackground(ToolStripItemRenderEventArgs)

Raises the RenderToolStripStatusLabelBackground event.

ToString()

Returns a string that represents the current object.

(Inherited from Object)

Events

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)

Applies to