private void PageRemoved(PageViewModel p) { CleanupResources(); }
private void SetLocator(PageViewModel vm) { vm.Locator = _locator; vm.Elements.ItemRemoved += ElementRemoved; }