Share via


MenuGroup Constructor (String, String)

Initializes a new instance of the MenuGroup class that has the specified group name and display name.

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

Syntax

'Declaration
Public Sub New ( _
    groupName As String, _
    displayName As String _
)
public MenuGroup(
    string groupName,
    string displayName
)
public:
MenuGroup(
    String^ groupName, 
    String^ displayName
)
new : 
        groupName:string * 
        displayName:string -> MenuGroup
public function MenuGroup(
    groupName : String, 
    displayName : String
)

Parameters

Remarks

MenuGroup creates either a submenu of menu items or a separator-delimited menu group.

.NET Framework Security

See Also

Reference

MenuGroup Class

MenuGroup Overload

Microsoft.Windows.Design.Interaction Namespace

MenuAction

PrimarySelectionContextMenuProvider

Other Resources

Walkthrough: Creating a Menu Provider