protected override void OnInitialized() { if (ParentTabs != null) { ParentTabs.HookTab(Name); } base.OnInitialized(); }
protected override void OnInitialized() { if (ParentTabs != null) { ParentTabs.HookTab(Name); Active = Name == ParentTabs.SelectedTab; ParentTabs.StateChanged += OnTabsStateChanged; } base.OnInitialized(); }