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

ViewRibbonManager() public method

Initialize a new instance of the ViewRibbonManager class.
public ViewRibbonManager ( KryptonRibbon control, ViewDrawRibbonGroupsBorderSynch viewGroups, ViewBase root, bool minimizedMode, NeedPaintHandler needPaintDelegate ) : System
control KryptonRibbon Owning control.
viewGroups ViewDrawRibbonGroupsBorderSynch Group view elements.
root ViewBase Root of the view hierarchy.
minimizedMode bool Is this manager for handling the minimized mode popup.
needPaintDelegate NeedPaintHandler Delegate for requesting paint changes.
return System
        public ViewRibbonManager(KryptonRibbon control,
                                 ViewDrawRibbonGroupsBorderSynch viewGroups,
                                 ViewBase root,
                                 bool minimizedMode,
                                 NeedPaintHandler needPaintDelegate)
            : base(control, root)
        {
            Debug.Assert(viewGroups != null);
            Debug.Assert(root != null);
            Debug.Assert(needPaintDelegate != null);

            _ribbon = control;
            _viewGroups = viewGroups;
            _needPaintDelegate = needPaintDelegate;
            _active = true;
            _minimizedMode = minimizedMode;
        }