ContextMenuProvider.Update Method
Raises the UpdateItemStatus event so the visibility and enabled status of menu items can be refreshed.
Namespace: Microsoft.Windows.Design.Interaction
Assembly: Microsoft.Windows.Design.Interaction (in Microsoft.Windows.Design.Interaction.dll)
Syntax
'Declaration
Public Sub Update ( _
context As EditingContext _
)
public void Update(
EditingContext context
)
public:
void Update(
EditingContext^ context
)
member Update :
context:EditingContext -> unit
public function Update(
context : EditingContext
)
Parameters
- context
Type: Microsoft.Windows.Design.EditingContext
The EditingContext to send in the MenuActionEventArgs.
.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