Ejemplo n.º 1
0
 public TabGroupService(TabService tabService, IMenuService menuService, IWpfFocusService wpfFocusService, TabGroupServiceOptions options)
 {
     this.options              = (options ?? new TabGroupServiceOptions()).Clone();
     stackedContent            = new StackedContent <TabGroup>();
     tabSelectionChanged       = new WeakEventList <TabSelectedEventArgs>();
     tabGroupSelectionChanged  = new WeakEventList <TabGroupSelectedEventArgs>();
     tabGroupCollectionChanged = new WeakEventList <TabGroupCollectionChangedEventArgs>();
     this.tabService           = tabService;
     this.menuService          = menuService;
     this.wpfFocusService      = wpfFocusService;
     _activeIndex              = -1;
 }
Ejemplo n.º 2
0
		public TabGroupService(TabService tabService, IMenuService menuService, IWpfFocusService wpfFocusService, TabGroupServiceOptions options) {
			this.options = (options ?? new TabGroupServiceOptions()).Clone();
			stackedContent = new StackedContent<TabGroup>();
			tabSelectionChanged = new WeakEventList<TabSelectedEventArgs>();
			tabGroupSelectionChanged = new WeakEventList<TabGroupSelectedEventArgs>();
			tabGroupCollectionChanged = new WeakEventList<TabGroupCollectionChangedEventArgs>();
			this.tabService = tabService;
			this.menuService = menuService;
			this.wpfFocusService = wpfFocusService;
			_activeIndex = -1;
		}