Udostępnij za pośrednictwem


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

See Also

Reference

ItemPolicy Class

Microsoft.Windows.Design.Policies Namespace

PrimarySelectionPolicy

SelectionPolicy

FeatureProvider

FeatureConnectorAttribute

Other Resources

Feature Providers and Feature Connectors

Understanding WPF Designer Extensibility