private void OnChildViewRemoved(object sender, ChildViewRemovedEventArgs childViewRemovedEventArgs) { var boundChild = childViewRemovedEventArgs.Child as IMvxBindingContextOwner; if (boundChild != null) { boundChild.ClearAllBindings(); } }
private void OnChildViewRemoved(object sender, ChildViewRemovedEventArgs childViewRemovedEventArgs) { var boundChild = childViewRemovedEventArgs.Child as MvxBindableListItemView; if (boundChild != null) { boundChild.ClearBindings(); } }
private void GridBase_ChildViewRemoved(object sender, ChildViewRemovedEventArgs e) { ResizeRequested = true; var control = e.Child as IElement; if (control == null) { return; } var submission = control as IControl; if (submission?.SubmitKey != null) { GetSubmissions()?.Remove(submission.SubmitKey); } OnPropertyChanged(nameof(Children)); }
private void OnChildViewRemoved(object sender, ChildViewRemovedEventArgs childViewRemovedEventArgs) { _bindingManager.UnbindView (childViewRemovedEventArgs.Child); }