Click or drag to resize
HostedAddInBaseOnDeactivate Method
Called when the user has told RobotStudio to deactivate your PowerPac.

Namespace:  ABB.Robotics.RobotStudio
Assembly:  ABB.Robotics.RobotStudio (in ABB.Robotics.RobotStudio.dll) Version: 7.0.8747.636
Syntax
C#
public virtual bool OnDeactivate()

Return Value

Type: Boolean
True if you have deactivated the PowerPac, false if not. For example you might want to prevent deactivation if there is unsaved data.
Remarks
Remove or hide(?) the user interface elements added in OnActivate. RobotStudio will make visible all its RibbonTabs automatically.
Version Information

Supported in: 1.0.0.0
See Also