Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Called on a context item before it is stored in the context item manager.
Namespace: Microsoft.Windows.Design
Assembly: Microsoft.Windows.Design.Extensibility (in Microsoft.Windows.Design.Extensibility.dll)
Syntax
'Declaration
Protected Overridable Sub OnItemChanged ( _
context As EditingContext, _
previousItem As ContextItem _
)
protected virtual void OnItemChanged(
EditingContext context,
ContextItem previousItem
)
protected:
virtual void OnItemChanged(
EditingContext^ context,
ContextItem^ previousItem
)
abstract OnItemChanged :
context:EditingContext *
previousItem:ContextItem -> unit
override OnItemChanged :
context:EditingContext *
previousItem:ContextItem -> unit
protected function OnItemChanged(
context : EditingContext,
previousItem : ContextItem
)
Parameters
- context
Type: Microsoft.Windows.Design.EditingContext
The editing context that is making this change.
- previousItem
Type: Microsoft.Windows.Design.ContextItem
The previously active item in the context.
Remarks
The previous item in the context item manager is passed in as a parameter. Because items must have default constructors, a default item is fabricated if an item is first passed in to the context.
.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