public ExitableTabControlBinding(ExitableTabControl exitableTabControl, ICommand command, Func<object> commandParameterCallback)
     : base(exitableTabControl, command)
 {
     _exitableTabControl = exitableTabControl;
     _commandParameterCallback = commandParameterCallback;
     _exitableTabControl.OnClose += ExitableTabControlOnClose;
 }
 protected override void OnComponentDisposed()
 {
     _exitableTabControl.OnClose -= ExitableTabControlOnClose;
     _exitableTabControl = null;
     _commandParameterCallback = null;
 }