Пример #1
0
 private void IViewContainer_TabClosed(object sender, Events.TabClosedEventArgs e)
 {
     TabClosed?.Invoke(this, e);
 }
        private void FloatingPane_TabClosed(object sender, Events.TabClosedEventArgs e)
        {
            System.Diagnostics.Trace.Assert(e.UserControl.DataContext is IViewModel);

            IFloatingPaneHost.RemoveViewModel(e.UserControl.DataContext as IViewModel);
        }