Exemple #1
0
        /// <summary>
        /// Inserts the specified item into the specified index
        /// </summary>
        /// <param name="index">Desired index of the item into the collection</param>
        /// <param name="item">Tab to be inserted</param>
        public new void Insert(int index, NineLineNotation.RibbonTab item)
        {
            item.SetOwner(Owner);

            base.Insert(index, item);

            Owner.OnRegionsChanged();
        }
Exemple #2
0
        /// <param name="ownerTab">RibbonTab where this item is located</param>
        internal override void SetOwnerTab(NineLineNotation.RibbonTab ownerTab)
        {
            base.SetOwnerTab(ownerTab);

            Items.SetOwnerTab(ownerTab);
        }