ComponentFactory.Krypton.Toolkit.KryptonPaletteRibbonQATMinibar.KryptonPaletteRibbonQATMinibar C# (CSharp) Method

KryptonPaletteRibbonQATMinibar() public method

Initialize a new instance of the KryptonPaletteRibbonQATMinibar class.
public KryptonPaletteRibbonQATMinibar ( PaletteRedirect redirect, NeedPaintHandler needPaint ) : System
redirect PaletteRedirect Redirector to inherit values from.
needPaint NeedPaintHandler Delegate for notifying paint requests.
return System
        public KryptonPaletteRibbonQATMinibar(PaletteRedirect redirect,
                                              NeedPaintHandler needPaint)
        {
            // Create the storage objects
            _stateInherit = new PaletteRibbonBackInheritRedirect(redirect, PaletteRibbonBackStyle.RibbonQATMinibar);
            _stateCommon = new PaletteRibbonBack(_stateInherit, needPaint);
            _stateActive = new PaletteRibbonBack(_stateCommon, needPaint);
            _stateInactive = new PaletteRibbonBack(_stateCommon, needPaint);
        }