.NET Framework (current version)
Gets or sets the icon that appears in a MenuItem.
PresentationFramework (in PresentationFramework.dll)
Public Property Icon As Object
Many Menu controls have more than just text in the MenuItem elements. Often there are icons, check marks, accelerators, and arrows to indicate submenus.
Metadata properties set to true
The following example creates a menu item with an icon.
Return to top
Available since 3.0