Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
ToolStripRenderer Methods

ToolStripRenderer Methods

The ToolStripRenderer type exposes the following members.

  Name Description
Public method Static member CreateDisabledImage Creates a gray-scale copy of a given image.
Public method DrawArrow Draws an arrow on a ToolStripItem.
Public method DrawButtonBackground Draws the background for a ToolStripButton.
Public method DrawDropDownButtonBackground Draws the background for a ToolStripDropDownButton.
Public method DrawGrip Draws a move handle on a ToolStrip.
Public method DrawImageMargin Draws the space around an image on a ToolStrip.
Public method DrawItemBackground Draws the background for a ToolStripItem.
Public method DrawItemCheck Draws an image on a ToolStripItem that indicates the item is in a selected state.
Public method DrawItemImage Draws an image on a ToolStripItem.
Public method DrawItemText Draws text on a ToolStripItem.
Public method DrawLabelBackground Draws the background for a ToolStripLabel.
Public method DrawMenuItemBackground Draws the background for a ToolStripMenuItem.
Public method DrawOverflowButtonBackground Draws the background for an overflow button.
Public method DrawSeparator Draws a ToolStripSeparator.
Public method DrawSplitButton Draws a ToolStripSplitButton.
Public method DrawStatusStripSizingGrip Draws a sizing grip.
Public method DrawToolStripBackground Draws the background for a ToolStrip.
Public method DrawToolStripBorder Draws the border for a ToolStrip.
Public method DrawToolStripContentPanelBackground Draws the background of the ToolStripContentPanel.
Public method DrawToolStripPanelBackground Draws the background of the ToolStripPanel.
Public method DrawToolStripStatusLabelBackground Draws the background of the ToolStripStatusLabel.
Public method Equals(Object) Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as the default hash function. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method Initialize When overridden in a derived class, provides for custom initialization of the given ToolStrip.
Protected method InitializeContentPanel Initializes the specified ToolStripContentPanel.
Protected method InitializeItem When overridden in a derived class, provides for custom initialization of the given ToolStripItem.
Protected method InitializePanel Initializes the specified ToolStripPanel.
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Protected method OnRenderArrow Raises the RenderArrow event.
Protected method OnRenderButtonBackground Raises the RenderButtonBackground event.
Protected method OnRenderDropDownButtonBackground Raises the RenderDropDownButtonBackground event.
Protected method OnRenderGrip Raises the RenderGrip event.
Protected method OnRenderImageMargin Draws the item background.
Protected method OnRenderItemBackground Raises the OnRenderItemBackground event.
Protected method OnRenderItemCheck Raises the RenderItemCheck event.
Protected method OnRenderItemImage Raises the RenderItemImage event.
Protected method OnRenderItemText Raises the RenderItemText event.
Protected method OnRenderLabelBackground Raises the RenderLabelBackground event.
Protected method OnRenderMenuItemBackground Raises the RenderMenuItemBackground event.
Protected method OnRenderOverflowButtonBackground Raises the RenderOverflowButtonBackground event.
Protected method OnRenderSeparator Raises the RenderSeparator event.
Protected method OnRenderSplitButtonBackground Raises the OnRenderSplitButtonBackground event.
Protected method OnRenderStatusStripSizingGrip Raises the RenderStatusStripSizingGrip event.
Protected method OnRenderToolStripBackground Raises the RenderToolStripBackground event.
Protected method OnRenderToolStripBorder Raises the RenderToolStripBorder event.
Protected method OnRenderToolStripContentPanelBackground Raises the RenderToolStripContentPanelBackground event.
Protected method OnRenderToolStripPanelBackground Raises the RenderToolStripPanelBackground event.
Protected method OnRenderToolStripStatusLabelBackground Raises the RenderToolStripStatusLabelBackground event.
Protected method Static member ScaleArrowOffsetsIfNeeded Infrastructure. Applies the F:System.Windows.Forms.ToolStripRenderer.Offset2X and F:System.Windows.Forms.ToolStripRenderer.Offset2Y specified to scaling the arrow icon, if scaling is required per the DPI settings of the computer.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
© 2015 Microsoft