ContextMenu requires a collection of menuitems as its model and the show method needs to be called explicity using the contextmenu event of the target to display the menu.