Draws a ribbon group richtextbox.
Inheritance: ComponentFactory.Krypton.Toolkit.ViewComposite, IRibbonViewGroupItemView
Ejemplo n.º 1
0
        /// <summary>
        /// Initialize a new instance of the RichTextBoxController class.
        /// </summary>
        /// <param name="ribbon">Reference to owning ribbon instance.</param>
        /// <param name="richTextBox">Source definition.</param>
        /// <param name="target">Target view element.</param>
        public RichTextBoxController(KryptonRibbon ribbon,
                                     KryptonRibbonGroupRichTextBox richTextBox,
                                     ViewDrawRibbonGroupRichTextBox target)
        {
            Debug.Assert(ribbon != null);
            Debug.Assert(richTextBox != null);
            Debug.Assert(target != null);

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

            _ribbon = ribbon;
            _richTextBox = richTextBox;
            _target = target;
        }