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

GroupCheckBoxController() public method

Initialize a new instance of the GroupCheckBoxController class.
public GroupCheckBoxController ( KryptonRibbon ribbon, ViewBase targetMain, ViewDrawRibbonGroupCheckBoxImage targetImage, NeedPaintHandler needPaint ) : System
ribbon KryptonRibbon Source control instance.
targetMain ViewBase Target for main element changes.
targetImage ViewDrawRibbonGroupCheckBoxImage Target for image state changes.
needPaint NeedPaintHandler Delegate for notifying paint requests.
return System
        public GroupCheckBoxController(KryptonRibbon ribbon,
                                       ViewBase targetMain,
                                       ViewDrawRibbonGroupCheckBoxImage targetImage,
                                       NeedPaintHandler needPaint)
        {
            Debug.Assert(ribbon != null);
            Debug.Assert(targetMain != null);
            Debug.Assert(targetImage != null);
            Debug.Assert(needPaint != null);

            _ribbon = ribbon;
            _targetMain = targetMain;
            _targetImage = targetImage;
            NeedPaint = needPaint;
        }