Share via


TaskProvider.Deactivate Method

Called when a task provider is about to be discarded by the designer.

Namespace:  Microsoft.Windows.Design.Interaction
Assembly:  Microsoft.Windows.Design.Extensibility (in Microsoft.Windows.Design.Extensibility.dll)

Syntax

'Declaration
Protected Overridable Sub Deactivate
'Usage
Me.Deactivate()
protected virtual void Deactivate()
protected:
virtual void Deactivate()
protected function Deactivate()

Remarks

An TaskProvider instance may be activated and deactivated several times during its lifetime. Implement the Activate and Deactivate methods accordingly.

.NET Framework Security

See Also

Reference

TaskProvider Class

TaskProvider Members

Microsoft.Windows.Design.Interaction Namespace

Other Resources

Understanding WPF Designer Extensibility