ControlPaint.DrawMenuGlyph Method

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Draws a menu glyph on a menu item control.

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

NameDescription
System_CAPS_pubmethodSystem_CAPS_staticDrawMenuGlyph(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.

System_CAPS_pubmethodSystem_CAPS_staticDrawMenuGlyph(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.

System_CAPS_pubmethodSystem_CAPS_staticDrawMenuGlyph(Graphics, Rectangle, MenuGlyph)

Draws the specified menu glyph on a menu item control within the specified bounds and on the specified surface.

System_CAPS_pubmethodSystem_CAPS_staticDrawMenuGlyph(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.

Return to top
Show: