/// <summary> /// Initialize a new instance of the TextBoxController class. /// </summary> /// <param name="ribbon">Reference to owning ribbon instance.</param> /// <param name="textBox">Source definition.</param> /// <param name="target">Target view element.</param> public TextBoxController(KryptonRibbon ribbon, KryptonRibbonGroupTextBox textBox, ViewDrawRibbonGroupTextBox target) { Debug.Assert(ribbon != null); Debug.Assert(textBox != null); Debug.Assert(target != null); _ribbon = ribbon; _textBox = textBox; _target = target; }