/// <param name="ownerPanel">RibbonPanel where this item is located</param> internal override void SetOwnerPanel(NineLineNotation.RibbonPanel ownerPanel) { base.SetOwnerPanel(ownerPanel); Items.SetOwnerPanel(ownerPanel); }
/// <summary> /// Inserts the specified panel at the desired index /// </summary> /// <param name="index">Desired index to insert the panel</param> /// <param name="item">Panel to insert</param> public new void Insert(int index, NineLineNotation.RibbonPanel item) { item.SetOwner(Owner); item.SetOwnerTab(OwnerTab); base.Insert(index, item); }