Exemplo n.º 1
0
 /// <summary>
 /// Initializes new instance of the <see cref="DockBase"/> class.
 /// </summary>
 protected DockBase()
 {
     _navigateAdapter = new NavigateAdapter(this);
     GoBack           = ReactiveCommand.Create(() => _navigateAdapter.GoBack());
     GoForward        = ReactiveCommand.Create(() => _navigateAdapter.GoForward());
     Navigate         = ReactiveCommand.Create <object>(root => _navigateAdapter.Navigate(root, true));
     Close            = ReactiveCommand.Create(() => _navigateAdapter.Close());
 }
Exemplo n.º 2
0
 /// <summary>
 /// Initializes new instance of the <see cref="DockBase"/> class.
 /// </summary>
 public DockBase()
 {
     _navigateAdapter  = new NavigateAdapter(this);
     _visibleDockables = new AvaloniaList <IDockable>();
     _hiddenDockables  = new AvaloniaList <IDockable>();
     GoBack            = Command.Create(() => _navigateAdapter.GoBack());
     GoForward         = Command.Create(() => _navigateAdapter.GoForward());
     Navigate          = Command.Create <object>(root => _navigateAdapter.Navigate(root, true));
     Close             = Command.Create(() => _navigateAdapter.Close());
 }
Exemplo n.º 3
0
 /// <summary>
 /// Initializes new instance of the <see cref="DockBase"/> class.
 /// </summary>
 public DockBase()
 {
     _navigateAdapter = new NavigateAdapter(this);
 }