/// <summary> /// Sets the inheritence parent. /// </summary> /// <param name="inheritHeaderGroup">Source for inheriting.</param> public void SetInherit(PaletteHeaderGroup inheritHeaderGroup) { base.SetInherit(inheritHeaderGroup); _inherit = inheritHeaderGroup; _paletteHeaderPrimary.SetInherit(inheritHeaderGroup.HeaderPrimary); _paletteHeaderSecondary.SetInherit(inheritHeaderGroup.HeaderSecondary); }
/// <summary> /// Sets the inheritence parent. /// </summary> /// <param name="inheritHeader">Source for inheriting.</param> public void SetInherit(PaletteForm inheritHeader) { base.SetInherit(inheritHeader); _inherit = inheritHeader; _paletteHeader.SetInherit(inheritHeader.Header); }