System.Windows.Forms.ToolStripRenderer Members

The members of System.Windows.Forms.ToolStripRenderer are listed below.

See Also: Inherited members from System.Object

Protected Constructors

Initializes a new instance of the System.Windows.Forms.ToolStripRenderer class.

Public Methods

static
CreateDisabledImage(System.Drawing.Image) : System.Drawing.Image

Creates a gray-scale copy of a given image.

DrawArrow(ToolStripArrowRenderEventArgs)

Draws an arrow on a System.Windows.Forms.ToolStripItem.

DrawButtonBackground(ToolStripItemRenderEventArgs)

Draws the background for a System.Windows.Forms.ToolStripButton.

DrawDropDownButtonBackground(ToolStripItemRenderEventArgs)

Draws the background for a System.Windows.Forms.ToolStripDropDownButton.

DrawGrip(ToolStripGripRenderEventArgs)

Draws a move handle on a System.Windows.Forms.ToolStrip.

DrawImageMargin(ToolStripRenderEventArgs)

Draws the space around an image on a System.Windows.Forms.ToolStrip.

DrawItemBackground(ToolStripItemRenderEventArgs)

Draws the background for a System.Windows.Forms.ToolStripItem.

DrawItemCheck(ToolStripItemImageRenderEventArgs)

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

DrawItemImage(ToolStripItemImageRenderEventArgs)

Draws an image on a System.Windows.Forms.ToolStripItem.

DrawItemText(ToolStripItemTextRenderEventArgs)

Draws text on a System.Windows.Forms.ToolStripItem.

DrawLabelBackground(ToolStripItemRenderEventArgs)

Draws the background for a System.Windows.Forms.ToolStripLabel.

DrawMenuItemBackground(ToolStripItemRenderEventArgs)

Draws the background for a System.Windows.Forms.ToolStripMenuItem.

DrawOverflowButtonBackground(ToolStripItemRenderEventArgs)

Draws the background for an overflow button.

DrawSeparator(ToolStripSeparatorRenderEventArgs)

Draws a System.Windows.Forms.ToolStripSeparator.

DrawSplitButton(ToolStripItemRenderEventArgs)

Draws a System.Windows.Forms.ToolStripSplitButton.

DrawStatusStripSizingGrip(ToolStripRenderEventArgs)

Draws a sizing grip.

DrawToolStripBackground(ToolStripRenderEventArgs)

Draws the background for a System.Windows.Forms.ToolStrip.

DrawToolStripBorder(ToolStripRenderEventArgs)

Draws the border for a System.Windows.Forms.ToolStrip.

DrawToolStripContentPanelBackground(ToolStripContentPanelRenderEventArgs)

Draws the background of the System.Windows.Forms.ToolStripContentPanel.

DrawToolStripPanelBackground(ToolStripPanelRenderEventArgs)

Draws the background of the System.Windows.Forms.ToolStripPanel.

DrawToolStripStatusLabelBackground(ToolStripItemRenderEventArgs)

Draws the background of the System.Windows.Forms.ToolStripStatusLabel.

Protected Methods

Initialize(ToolStrip)

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

InitializeContentPanel(ToolStripContentPanel)

Initializes the specified System.Windows.Forms.ToolStripContentPanel.

InitializeItem(ToolStripItem)

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

InitializePanel(ToolStripPanel)

Initializes the specified System.Windows.Forms.ToolStripPanel.

OnRenderArrow(ToolStripArrowRenderEventArgs)

Raises the ToolStripRenderer.RenderArrow event.

OnRenderButtonBackground(ToolStripItemRenderEventArgs)

Raises the ToolStripRenderer.RenderButtonBackground event.

OnRenderDropDownButtonBackground(ToolStripItemRenderEventArgs)

Raises the ToolStripRenderer.RenderDropDownButtonBackground event.

OnRenderGrip(ToolStripGripRenderEventArgs)

Raises the ToolStripRenderer.RenderGrip event.

OnRenderImageMargin(ToolStripRenderEventArgs)

Draws the item background.

OnRenderItemBackground(ToolStripItemRenderEventArgs)

Raises the ToolStripSystemRenderer.OnRenderItemBackground(ToolStripItemRenderEventArgs) event.

OnRenderItemCheck(ToolStripItemImageRenderEventArgs)

Raises the ToolStripRenderer.RenderItemCheck event.

OnRenderItemImage(ToolStripItemImageRenderEventArgs)

Raises the ToolStripRenderer.RenderItemImage event.

OnRenderItemText(ToolStripItemTextRenderEventArgs)

Raises the ToolStripRenderer.RenderItemText event.

OnRenderLabelBackground(ToolStripItemRenderEventArgs)

Raises the ToolStripRenderer.RenderLabelBackground event.

OnRenderMenuItemBackground(ToolStripItemRenderEventArgs)

Raises the ToolStripRenderer.RenderMenuItemBackground event.

OnRenderOverflowButtonBackground(ToolStripItemRenderEventArgs)

Raises the ToolStripRenderer.RenderOverflowButtonBackground event.

OnRenderSeparator(ToolStripSeparatorRenderEventArgs)

Raises the ToolStripRenderer.RenderSeparator event.

OnRenderSplitButtonBackground(ToolStripItemRenderEventArgs)

Raises the ToolStripRenderer.OnRenderSplitButtonBackground(ToolStripItemRenderEventArgs) event.

OnRenderStatusStripSizingGrip(ToolStripRenderEventArgs)

Raises the ToolStripRenderer.RenderStatusStripSizingGrip event.

OnRenderToolStripBackground(ToolStripRenderEventArgs)

Raises the ToolStripRenderer.RenderToolStripBackground event.

OnRenderToolStripBorder(ToolStripRenderEventArgs)

Raises the ToolStripRenderer.RenderToolStripBorder event.

OnRenderToolStripContentPanelBackground(ToolStripContentPanelRenderEventArgs)

Raises the ToolStripRenderer.RenderToolStripContentPanelBackground event.

OnRenderToolStripPanelBackground(ToolStripPanelRenderEventArgs)

Raises the ToolStripRenderer.RenderToolStripPanelBackground event.

OnRenderToolStripStatusLabelBackground(ToolStripItemRenderEventArgs)

Raises the ToolStripRenderer.RenderToolStripStatusLabelBackground event.

Public Events

RenderArrow

Occurs when an arrow on a System.Windows.Forms.ToolStripItem is rendered.

RenderButtonBackground

Occurs when the background for a System.Windows.Forms.ToolStripButton is rendered

RenderDropDownButtonBackground

Occurs when the background for a System.Windows.Forms.ToolStripDropDownButton is rendered.

RenderGrip

Occurs when the move handle for a System.Windows.Forms.ToolStrip is rendered.

RenderImageMargin

Draws the margin between an image and its container.

RenderItemBackground

Occurs when the background for a System.Windows.Forms.ToolStripItem is rendered.

RenderItemCheck

Occurs when the image for a selected System.Windows.Forms.ToolStripItem is rendered.

RenderItemImage

Occurs when the image for a System.Windows.Forms.ToolStripItem is rendered.

RenderItemText

Occurs when the text for a System.Windows.Forms.ToolStripItem is rendered.

RenderLabelBackground

Occurs when the background for a System.Windows.Forms.ToolStripLabel is rendered.

RenderMenuItemBackground

Occurs when the background for a System.Windows.Forms.ToolStripMenuItem is rendered.

RenderOverflowButtonBackground

Occurs when the background for an overflow button is rendered.

RenderSeparator

Occurs when a System.Windows.Forms.ToolStripSeparator is rendered.

RenderSplitButtonBackground

Occurs when the background for a System.Windows.Forms.ToolStripSplitButton is rendered.

RenderStatusStripSizingGrip

Occurs when the display style changes.

RenderToolStripBackground

Occurs when the background for a System.Windows.Forms.ToolStrip is rendered.

RenderToolStripBorder

Occurs when the border for a System.Windows.Forms.ToolStrip is rendered.

RenderToolStripContentPanelBackground

Draws the background of a System.Windows.Forms.ToolStripContentPanel.

RenderToolStripPanelBackground

Draws the background of a System.Windows.Forms.ToolStripPanel.

RenderToolStripStatusLabelBackground

Draws the background of a System.Windows.Forms.ToolStripStatusLabel.