/// <summary> /// Initialize a new instance of the CustomControlController class. /// </summary> /// <param name="ribbon">Reference to owning ribbon instance.</param> /// <param name="customControl">Source definition.</param> /// <param name="target">Target view element.</param> 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; }