method MenuButton.Dismiss ()
Closes the popup menu if it is opened.
Type
Description
Closes the assigned menu by code.