Occurs when the tool is set to be the current tool.

Namespace:  ESRI.ArcGIS.Desktop.AddIns

Assembly:  ESRI.ArcGIS.Desktop.Addins (in ESRI.ArcGIS.Desktop.Addins.dll) Version: 10.0.0.0 (10.0.0.0)

Syntax

C#
protected virtual void OnActivate()
Visual Basic (Declaration)
Protected Overridable Sub OnActivate
Visual C++
protected:
virtual void OnActivate()

See Also