ContextMenu/MenuItem with icon on .NET Compact Framework 2.0 and Windows CE
It s开发者_如何学运维eems that the MenuItem
class on .NET Compact Framework (CF) 2.0 does not support icons. Is there a workaround?
The menus in the CF are wrappers around the OS-supplied menu items, which do not support images/icons. The only "workaround" would be to implement your own menuing system when you manually draw everything. That's going to be a lot of work. A Toolbar is likely going to be an easier thing to work with if you need images.
精彩评论