Expand Minimize

VisualStyleElement.MenuBand Class

Contains classes that provide VisualStyleElement objects for the parts of a menu band. This class cannot be inherited.

System.Object
  System.Windows.Forms.VisualStyles.VisualStyleElement.MenuBand

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

public static class MenuBand

The VisualStyleElement.MenuBand class provides a foundation in which the following classes are defined:

Each of these classes provides one or more properties that return a VisualStyleElement for each state of the menu band part specified by the class name.

Windows XP Home Edition, Windows XP Professional x64 Edition, Windows Server 2003 Platform Note: Visual styles are supported only on these platforms.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft