xtd::forms::menu_item::menu_item | ( | const xtd::string & | text, |
const xtd::drawing::image & | image, | ||
xtd::forms::menu_item_kind | kind | ||
) |
Initializes a new instance of the class with a specified caption, image menu item, and kind the menu item.
text | The caption for the menu item. |
image | A xtd::drawing::image menu item. |
kind | One of the xtd::forms::menu_item_kind value. |