This component, much like the Container that we looked at in the earlier chapter, is made up of a small family of different types of menu. There is a range of different classes that work together to bring the functionality of the different types of menu to you.
The three main classes behind the Menu family are:
Menu is a subclass of Overlay, part of the Container family, and the other two are subclasses of Menu. Just as each TabView is made of several Tabs, each kind of Menu has a different class for its items:
ContextMenuItem is simply an alias for
MenuItem created just for the sake of symmetry. ...