ContextItemManager.NotifyItemChanged Method
Invokes the protected OnItemChanged method on the specified ContextItem.
Namespace: Microsoft.Windows.Design
Assembly: Microsoft.Windows.Design.Extensibility (in Microsoft.Windows.Design.Extensibility.dll)
Syntax
'Declaration
Protected Shared Sub NotifyItemChanged ( _
context As EditingContext, _
item As ContextItem, _
previousItem As ContextItem _
)
protected static void NotifyItemChanged(
EditingContext context,
ContextItem item,
ContextItem previousItem
)
protected:
static void NotifyItemChanged(
EditingContext^ context,
ContextItem^ item,
ContextItem^ previousItem
)
static member NotifyItemChanged :
context:EditingContext *
item:ContextItem *
previousItem:ContextItem -> unit
protected static function NotifyItemChanged(
context : EditingContext,
item : ContextItem,
previousItem : ContextItem
)
Parameters
- context
Type: Microsoft.Windows.Design.EditingContext
The editing context in use.
- item
Type: Microsoft.Windows.Design.ContextItem
The new context item.
- previousItem
Type: Microsoft.Windows.Design.ContextItem
The previous context item.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | context, item, or previousItem 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 Namespace
SubscribeContextCallback<TContextItemType>