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

ViewDrawRibbonGroupsBorder() public method

Initialize a new instance of the ViewDrawRibbonGroupsBorder class.
public ViewDrawRibbonGroupsBorder ( KryptonRibbon ribbon, bool borderOutside, NeedPaintHandler needPaintDelegate ) : System
ribbon KryptonRibbon Reference to owning ribbon control.
borderOutside bool Should border be placed outside the contents.
needPaintDelegate NeedPaintHandler Delegate for notifying paint/layout changes.
return System
        public ViewDrawRibbonGroupsBorder(KryptonRibbon ribbon,
                                          bool borderOutside,
                                          NeedPaintHandler needPaintDelegate)
        {
            Debug.Assert(ribbon != null);
            Debug.Assert(needPaintDelegate != null);

            // Remember incoming references
            _ribbon = ribbon;
            _needPaintDelegate = needPaintDelegate;
            _borderOutside = borderOutside;
        }