public void Destroy() { if (_impl != null) { _impl.DestroyDefaultChild(_nsView); _impl.Dispose(); _impl = null; _nsView = IntPtr.Zero; } }