Method GetImage
- Namespace
- Innova.Prism.Library.Extensions
- Assembly
- Innova.Prism.Library.dll
GetImage(MenuModel, Bitmap)
Gets the image for the menu task definition.
public static Image GetImage(this MenuModel menuTaskDefinition, Bitmap bitmap)
Parameters
menuTaskDefinition
MenuModelThe menu task definition.
bitmap
BitmapThe bitmap to convert to an image source.
Returns
- Image
The image control with the specified bitmap as the source.