/// <summary> /// Initialize a new instance of the ViewLayoutRibbonAppTab class. /// </summary> /// <param name="ribbon">Owning control instance.</param> public ViewLayoutRibbonAppTab(KryptonRibbon ribbon) { Debug.Assert(ribbon != null); _ribbon = ribbon; AppTab = new ViewDrawRibbonAppTab(ribbon); // Dock it against the appropriate edge Add(AppTab, ViewDockStyle.Bottom); Add(new ViewLayoutSeparator(1), ViewDockStyle.Left); }
/// <summary> /// Initialize a new instance of the ViewLayoutRibbonAppTab class. /// </summary> /// <param name="ribbon">Owning control instance.</param> public ViewLayoutRibbonAppTab(KryptonRibbon ribbon) { Debug.Assert(ribbon != null); _ribbon = ribbon; // Check the control is licenced PerformLicenceChecking(ribbon); _appTab = new ViewDrawRibbonAppTab(ribbon); // Dock it against the appropriate edge Add(_appTab, ViewDockStyle.Bottom); Add(new ViewLayoutSeparator(1), ViewDockStyle.Left); }