MenuItem
MenuItem
MenuItem is a control which is added to Menu instances, or as a child of other MenuItems. MenuItems can be created automatically or explicitly when working with a Menu.
![](https://docs.flatredball.com/~gitbook/image?url=https%3A%2F%2F2695663588-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F-M_fzQmxQ1VeUFHcoo2c%252Fuploads%252F5d2kpyyCM6XL4KjEG38h%252F20_15%252041%252052.gif%3Falt%3Dmedia%26token%3D11e5eb8b-708f-4763-b284-aa99c45abf97&width=768&dpr=4&quality=100&sign=cb85525a&sv=2)
Code Example - Creating MenuItems
The following code shows how to create menu items. Notice that MenuItems can be added to a Menu, or as children of other MenuItems.
Last updated
Was this helpful?