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
- context
Type: Microsoft.Windows.Design.EditingContext
The associated EditingContext.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | context is nulla null reference (Nothing in Visual Basic). |
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
Microsoft.Windows.Design.Interaction Namespace
PrimarySelectionContextMenuProvider