United States (English)
Sign in
Home
Library
Learn
Samples
Downloads
Support
Community
Forums
MSDN Library
.NET Development
.NET Framework 4.5
.NET Framework Class Library
System.Windows Namespaces
System.Windows.Forms
ToolStripRenderer Class
ToolStripRenderer Methods
CreateDisabledImage Method
DrawArrow Method
DrawButtonBackground Method
DrawDropDownButtonBackground Method
DrawGrip Method
DrawImageMargin Method
DrawItemBackground Method
DrawItemCheck Method
DrawItemImage Method
DrawItemText Method
DrawLabelBackground Method
DrawMenuItemBackground Method
DrawOverflowButtonBackground Method
DrawSeparator Method
DrawSplitButton Method
DrawStatusStripSizingGrip Method
DrawToolStripBackground Method
DrawToolStripBorder Method
DrawToolStripContentPanelBackground Method
DrawToolStripPanelBackground Method
DrawToolStripStatusLabelBackground Method
Initialize Method
InitializeContentPanel Method
InitializeItem Method
InitializePanel Method
OnRenderArrow Method
OnRenderButtonBackground Method
OnRenderDropDownButtonBackground Method
OnRenderGrip Method
OnRenderImageMargin Method
OnRenderItemBackground Method
OnRenderItemCheck Method
OnRenderItemImage Method
OnRenderItemText Method
OnRenderLabelBackground Method
OnRenderMenuItemBackground Method
OnRenderOverflowButtonBackground Method
OnRenderSeparator Method
OnRenderSplitButtonBackground Method
OnRenderStatusStripSizingGrip Method
OnRenderToolStripBackground Method
OnRenderToolStripBorder Method
OnRenderToolStripContentPanelBackground Method
OnRenderToolStripPanelBackground Method
OnRenderToolStripStatusLabelBackground Method
This topic has not yet been rated
-
Rate this topic
ToolStripRenderer Methods
.NET Framework 4.5
Other Versions
.NET Framework 4
.NET Framework 3.5
.NET Framework 3.0
.NET Framework 2.0
The
ToolStripRenderer
type exposes the following members.
Methods
Name
Description
CreateDisabledImage
Creates a gray-scale copy of a given image.
DrawArrow
Draws an arrow on a
ToolStripItem
.
DrawButtonBackground
Draws the background for a
ToolStripButton
.
DrawDropDownButtonBackground
Draws the background for a
ToolStripDropDownButton
.
DrawGrip
Draws a move handle on a
ToolStrip
.
DrawImageMargin
Draws the space around an image on a
ToolStrip
.
DrawItemBackground
Draws the background for a
ToolStripItem
.
DrawItemCheck
Draws an image on a
ToolStripItem
that indicates the item is in a selected state.
DrawItemImage
Draws an image on a
ToolStripItem
.
DrawItemText
Draws text on a
ToolStripItem
.
DrawLabelBackground
Draws the background for a
ToolStripLabel
.
DrawMenuItemBackground
Draws the background for a
ToolStripMenuItem
.
DrawOverflowButtonBackground
Draws the background for an overflow button.
DrawSeparator
Draws a
ToolStripSeparator
.
DrawSplitButton
Draws a
ToolStripSplitButton
.
DrawStatusStripSizingGrip
Draws a sizing grip.
DrawToolStripBackground
Draws the background for a
ToolStrip
.
DrawToolStripBorder
Draws the border for a
ToolStrip
.
DrawToolStripContentPanelBackground
Draws the background of the
ToolStripContentPanel
.
DrawToolStripPanelBackground
Draws the background of the
ToolStripPanel
.
DrawToolStripStatusLabelBackground
Draws the background of the
ToolStripStatusLabel
.
Equals(Object)
Determines whether the specified object is equal to the current object.
(Inherited from
Object
.)
Finalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from
Object
.)
GetHashCode
Serves as a hash function for a particular type.
(Inherited from
Object
.)
GetType
Gets the
Type
of the current instance.
(Inherited from
Object
.)
Initialize
When overridden in a derived class, provides for custom initialization of the given
ToolStrip
.
InitializeContentPanel
Initializes the specified
ToolStripContentPanel
.
InitializeItem
When overridden in a derived class, provides for custom initialization of the given
ToolStripItem
.
InitializePanel
Initializes the specified
ToolStripPanel
.
MemberwiseClone
Creates a shallow copy of the current
Object
.
(Inherited from
Object
.)
OnRenderArrow
Raises the
RenderArrow
event.
OnRenderButtonBackground
Raises the
RenderButtonBackground
event.
OnRenderDropDownButtonBackground
Raises the
RenderDropDownButtonBackground
event.
OnRenderGrip
Raises the
RenderGrip
event.
OnRenderImageMargin
Draws the item background.
OnRenderItemBackground
Raises the
OnRenderItemBackground
event.
OnRenderItemCheck
Raises the
RenderItemCheck
event.
OnRenderItemImage
Raises the
RenderItemImage
event.
OnRenderItemText
Raises the
RenderItemText
event.
OnRenderLabelBackground
Raises the
RenderLabelBackground
event.
OnRenderMenuItemBackground
Raises the
RenderMenuItemBackground
event.
OnRenderOverflowButtonBackground
Raises the
RenderOverflowButtonBackground
event.
OnRenderSeparator
Raises the
RenderSeparator
event.
OnRenderSplitButtonBackground
Raises the
OnRenderSplitButtonBackground
event.
OnRenderStatusStripSizingGrip
Raises the
RenderStatusStripSizingGrip
event.
OnRenderToolStripBackground
Raises the
RenderToolStripBackground
event.
OnRenderToolStripBorder
Raises the
RenderToolStripBorder
event.
OnRenderToolStripContentPanelBackground
Raises the
RenderToolStripContentPanelBackground
event.
OnRenderToolStripPanelBackground
Raises the
RenderToolStripPanelBackground
event.
OnRenderToolStripStatusLabelBackground
Raises the
RenderToolStripStatusLabelBackground
event.
ToString
Returns a string that represents the current object.
(Inherited from
Object
.)
Top
See Also
Reference
ToolStripRenderer Class
System.Windows.Forms Namespace
Did you find this helpful?
Yes
No
Not accurate
Not enough depth
Need more code examples
Tell us more...
(
1500
characters remaining)