Share via


MenuAction Constructor

Initializes a new instance of the MenuAction class.

Namespace:  Microsoft.Windows.Design.Interaction
Assembly:  Microsoft.Windows.Design.Interaction (in Microsoft.Windows.Design.Interaction.dll)

Syntax

'Declaration
Public Sub New ( _
    displayName As String _
)
public MenuAction(
    string displayName
)
public:
MenuAction(
    String^ displayName
)
new : 
        displayName:string -> MenuAction
public function MenuAction(
    displayName : String
)

Parameters

  • displayName
    Type: System.String
    The text that appears in the context menu.

.NET Framework Security

See Also

Reference

MenuAction Class

Microsoft.Windows.Design.Interaction Namespace

PrimarySelectionContextMenuProvider

MenuGroup

Other Resources

Walkthrough: Creating a Menu Provider