/// <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);
     _paletteHeaderGroup.SetInherit(inheritNavigator.HeaderGroup);
     _paletteCheckButton.SetInherit(inheritNavigator.CheckButton);
     _paletteOverflowButton.SetInherit(inheritNavigator.OverflowButton);
     _paletteMiniButton.SetInherit(inheritNavigator.MiniButton);
     _paletteBorderEdge.SetInherit(inheritNavigator.BorderEdge);
     _paletteSeparator.SetInherit(inheritNavigator.Separator);
     _paletteTab.SetInherit(inheritNavigator.Tab);
     _paletteRibbonTab.SetInherit(inheritNavigator.RibbonTab.TabDraw, inheritNavigator.RibbonTab.TabDraw, inheritNavigator.RibbonTab.Content);
 }
Exemplo n.º 2
0
 /// <summary>
 /// Sets the inheritence parent.
 /// </summary>
 /// <param name="inheritNavigator">Source for inheriting.</param>
 public override void SetInherit(PaletteNavigator inheritNavigator)
 {
     _paletteSeparator.SetInherit(inheritNavigator.Separator);
     base.SetInherit(inheritNavigator);
 }