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

LeftUpButtonController() public method

Initialize a new instance of the LeftUpButtonController class.
public LeftUpButtonController ( KryptonRibbon ribbon, ViewBase target, NeedPaintHandler needPaint ) : System
ribbon KryptonRibbon Reference to owning ribbon instance.
target ViewBase Target for state changes.
needPaint NeedPaintHandler Delegate for notifying paint requests.
return System
        public LeftUpButtonController(KryptonRibbon ribbon,
                                      ViewBase target,
                                      NeedPaintHandler needPaint)
        {
            Debug.Assert(ribbon != null);
            Debug.Assert(target != null);

            // Remember target for state changes
            _ribbon = ribbon;
            _target = target;

            // Store the provided paint notification delegate
            NeedPaint = needPaint;
        }