ComponentFactory.Krypton.Ribbon.KryptonRibbonTab.OnRibbonGroupsInserted C# (CSharp) Метод

OnRibbonGroupsInserted() приватный Метод

private OnRibbonGroupsInserted ( object sender, TypedCollectionEventArgs e ) : void
sender object
e TypedCollectionEventArgs
Результат void
        private void OnRibbonGroupsInserted(object sender, TypedCollectionEventArgs<KryptonRibbonGroup> e)
        {
            // Setup the back references
            e.Item.Ribbon = _ribbon;
            e.Item.RibbonTab = this;

            // Only need to update display if this tab is selected and the group is visible
            if ((_ribbon != null) && (_ribbon.SelectedTab == this) && Visible)
                _ribbon.PerformNeedPaint(true);
        }