PopupMenu.Commands Property

Gets the commands for the context menu.

Syntax

public:
property IVector<IUICommand^ >^ Commands {
         IVector<IUICommand^ >^ get ();
}  

Property value

Type: IVector<IUICommand^ > 

  The commands for the context menu.

Remarks

You can see complete code examples that demonstrate how to create and customize context menus in the Context menu sample on the Microsoft Store app sample home page.

Requirements

Namespace: Windows.UI.Popups

Metadata: windows.winmd

See also

Reference

PopupMenu Class

PopupMenu Members

Windows.UI.Popups Namespace