/// <summary> /// Sets the inheritence parent. /// </summary> /// <param name="inheritNavigator">Source for inheriting.</param> public virtual void SetInherit(PaletteNavigator inheritNavigator) { CheckButton.SetInherit(inheritNavigator.CheckButton); OverflowButton.SetInherit(inheritNavigator.OverflowButton); MiniButton.SetInherit(inheritNavigator.MiniButton); Tab.SetInherit(inheritNavigator.Tab); RibbonTab.SetInherit(inheritNavigator.RibbonTab.TabDraw, inheritNavigator.RibbonTab.TabDraw, inheritNavigator.RibbonTab.Content); }
/// <summary> /// Sets the inheritence parent. /// </summary> /// <param name="inheritNavigator">Source for inheriting.</param> public void SetInherit(PaletteNavigator inheritNavigator) { // Setup inheritance references for storage objects base.SetInherit(inheritNavigator); PalettePage.SetInherit(inheritNavigator.PalettePage); HeaderGroup.SetInherit(inheritNavigator.HeaderGroup); CheckButton.SetInherit(inheritNavigator.CheckButton); OverflowButton.SetInherit(inheritNavigator.OverflowButton); MiniButton.SetInherit(inheritNavigator.MiniButton); BorderEdge.SetInherit(inheritNavigator.BorderEdge); Separator.SetInherit(inheritNavigator.Separator); Tab.SetInherit(inheritNavigator.Tab); RibbonTab.SetInherit(inheritNavigator.RibbonTab.TabDraw, inheritNavigator.RibbonTab.TabDraw, inheritNavigator.RibbonTab.Content); }