protected override void Dispose(bool disposing) { if (disposing) { Element.Parent = null; _page.SizeChanged -= PageSizeChanged; foreach (var child in Element) { PlatformUtility.DisposeModelAndChildrenRenderers(child); } RootView.RemoveFromParent(); _page = null; } base.Dispose(disposing); }