ItemPolicy.OnDeactivated Method
Called when the policy is deactivated.
Namespace: Microsoft.Windows.Design.Policies
Assembly: Microsoft.Windows.Design.Interaction (in Microsoft.Windows.Design.Interaction.dll)
Syntax
'Declaration
Protected Overridable Sub OnDeactivated
protected virtual void OnDeactivated()
protected:
virtual void OnDeactivated()
abstract OnDeactivated : unit -> unit
override OnDeactivated : unit -> unit
protected function OnDeactivated()
Remarks
This method is called only if the policy has previously been activated. Policies are deactivated when the EditingContext object referenced by the Context property is disposed.
.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.Policies Namespace