Share via


MenuActionEventArgs Constructor

Initializes a new instance of the MenuActionEventArgs class.

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

Syntax

'Declaration
Public Sub New ( _
    context As EditingContext _
)
public MenuActionEventArgs(
    EditingContext context
)
public:
MenuActionEventArgs(
    EditingContext^ context
)
new : 
        context:EditingContext -> MenuActionEventArgs
public function MenuActionEventArgs(
    context : EditingContext
)

Parameters

Exceptions

Exception Condition
ArgumentNullException

context is nulla null reference (Nothing in Visual Basic).

.NET Framework Security

See Also

Reference

MenuActionEventArgs Class

Microsoft.Windows.Design.Interaction Namespace

PrimarySelectionContextMenuProvider

MenuGroup

MenuAction

ModelItem

Other Resources

Walkthrough: Creating a Menu Provider