ComponentFactory.Krypton.Ribbon.KryptonRibbonGroup.KryptonRibbonGroup C# (CSharp) Method

KryptonRibbonGroup() public method

Initialise a new instance of the KryptonRibbonTab class.
public KryptonRibbonGroup ( ) : System
return System
        public KryptonRibbonGroup()
        {
            // Default fields
            _image = _defaultGroupImage;
            _textLine1 = "Group";
            _textLine2 = string.Empty;
            _keyTipGroup = "G";
            _keyTipDialogLauncher = "D";
            _visible = true;
            _allowCollapsed = true;
            _dialogBoxLauncher = true;
            _isCollapsed = false;
            _minimumWidth = -1;
            _maximumWidth = -1;

            // Create collection for holding child items
            _ribbonGroupItems = new KryptonRibbonGroupContainerCollection();
            _ribbonGroupItems.Clearing += new EventHandler(OnRibbonGroupItemsClearing);
            _ribbonGroupItems.Cleared += new EventHandler(OnRibbonGroupItemsCleared);
            _ribbonGroupItems.Inserted += new TypedHandler<KryptonRibbonGroupContainer>(OnRibbonGroupItemsInserted);
            _ribbonGroupItems.Removed += new TypedHandler<KryptonRibbonGroupContainer>(OnRibbonGroupItemsRemoved);
        }