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

ViewLayoutRibbonAppTab() public method

Initialize a new instance of the ViewLayoutRibbonAppTab class.
public ViewLayoutRibbonAppTab ( KryptonRibbon ribbon ) : System
ribbon KryptonRibbon Owning control instance.
return System
        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);
        }