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

ViewDrawRibbonAppButton() public method

Initialize a new instance of the ViewDrawRibbonAppButton class.
public ViewDrawRibbonAppButton ( KryptonRibbon ribbon, bool bottomHalf ) : System
ribbon KryptonRibbon Owning control instance.
bottomHalf bool Scroller orientation.
return System
        public ViewDrawRibbonAppButton(KryptonRibbon ribbon,
                                       bool bottomHalf)
        {
            Debug.Assert(ribbon != null);

            _ribbon = ribbon;
            _bottomHalf = bottomHalf;
            _size = (_bottomHalf ? SIZE_BOTTOM : SIZE_TOP);
            _mementos = new IDisposable[3];
        }