/// <summary> /// Initialise a new instance of the KryptonRibbonTab class. /// </summary> public KryptonRibbonTab() { // Default fields _text = "Tab"; _keyTip = "T"; _contextName = string.Empty; _visible = true; // Create the collection for defining groups Groups = new KryptonRibbonGroupCollection(); Groups.Clearing += OnRibbonGroupsClearing; Groups.Cleared += OnRibbonGroupsCleared; Groups.Inserted += OnRibbonGroupsInserted; Groups.Removed += OnRibbonGroupsRemoved; }
/// <summary> /// Initialise a new instance of the KryptonRibbonTab class. /// </summary> public KryptonRibbonTab() { // Default fields _text = "Tab"; _keyTip = "T"; _contextName = string.Empty; _visible = true; // Create the collection for defining groups _ribbonGroups = new KryptonRibbonGroupCollection(); _ribbonGroups.Clearing += new EventHandler(OnRibbonGroupsClearing); _ribbonGroups.Cleared += new EventHandler(OnRibbonGroupsCleared); _ribbonGroups.Inserted += new TypedHandler <KryptonRibbonGroup>(OnRibbonGroupsInserted); _ribbonGroups.Removed += new TypedHandler <KryptonRibbonGroup>(OnRibbonGroupsRemoved); }