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

GroupRadioButtonController() public method

Initialize a new instance of the GroupRadioButtonController class.
public GroupRadioButtonController ( KryptonRibbon ribbon, ViewBase targetMain, ViewDrawRibbonGroupRadioButtonImage targetImage, NeedPaintHandler needPaint ) : System
ribbon KryptonRibbon Source control instance.
targetMain ViewBase Target for main element changes.
targetImage ViewDrawRibbonGroupRadioButtonImage Target for image state changes.
needPaint NeedPaintHandler Delegate for notifying paint requests.
return System
        public GroupRadioButtonController(KryptonRibbon ribbon,
                                          ViewBase targetMain,
                                          ViewDrawRibbonGroupRadioButtonImage 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;
        }