ControlPaint.DrawMenuGlyph Method

Draws a menu glyph on a menu item control.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  Name Description
Public method Static member DrawMenuGlyph(Graphics, Rectangle, MenuGlyph) Draws the specified menu glyph on a menu item control within the specified bounds and on the specified surface.
Public method Static member DrawMenuGlyph(Graphics, Rectangle, MenuGlyph, Color, Color) Draws the specified menu glyph on a menu item control within the specified bounds and on the specified surface, replacing White with the color specified in the backColor parameter and replacing Black with the color specified in the foreColor parameter.
Public method Static member DrawMenuGlyph(Graphics, Int32, Int32, Int32, Int32, MenuGlyph) Draws the specified menu glyph on a menu item control with the specified bounds and on the specified surface.
Public method Static member DrawMenuGlyph(Graphics, Int32, Int32, Int32, Int32, MenuGlyph, Color, Color) Draws the specified menu glyph on a menu item control within the specified coordinates, height, and width on the specified surface, replacing White with the color specified in the backColor parameter and replacing Black with the color specified in the foreColor parameter.
Top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft