MenuActionEventArgs.Context Property

Gets the currently active editing context.

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

Syntax

'Declaration
Public ReadOnly Property Context As EditingContext
    Get
public EditingContext Context { get; }
public:
property EditingContext^ Context {
    EditingContext^ get ();
}
member Context : EditingContext
function get Context () : EditingContext

Property Value

Type: Microsoft.Windows.Design.EditingContext
An EditingContext representing the active editing batch.

.NET Framework Security

See Also

Reference

MenuActionEventArgs Class

Microsoft.Windows.Design.Interaction Namespace

PrimarySelectionContextMenuProvider

MenuAction

MenuGroup

ModelItem

Other Resources

Walkthrough: Creating a Menu Provider