OnRemove Method OnRemove() Is called when the extension is removed. This method hides the registered adorners. Declaration protected override void OnRemove() Overrides DefaultExtension.OnRemove()