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

CustomControlController() public method

Initialize a new instance of the CustomControlController class.
public CustomControlController ( KryptonRibbon ribbon, KryptonRibbonGroupCustomControl customControl, ViewDrawRibbonGroupCustomControl target ) : System
ribbon KryptonRibbon Reference to owning ribbon instance.
customControl KryptonRibbonGroupCustomControl Source definition.
target ViewDrawRibbonGroupCustomControl Target view element.
return System
        public CustomControlController(KryptonRibbon ribbon,
                                       KryptonRibbonGroupCustomControl customControl,
                                       ViewDrawRibbonGroupCustomControl target)
        {
            Debug.Assert(ribbon != null);
            Debug.Assert(customControl != null);
            Debug.Assert(customControl != null);

            _ribbon = ribbon;
            _customControl = customControl;
            _target = target;
        }