Draws a ribbon group textbox.
Inheritance: ComponentFactory.Krypton.Toolkit.ViewComposite, IRibbonViewGroupItemView
Example #1
0
        /// <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;
        }
        /// <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;
        }