Draws a ribbon group masked textbox.
Inheritance: ComponentFactory.Krypton.Toolkit.ViewComposite, IRibbonViewGroupItemView
Exemple #1
0
        /// <summary>
        /// Initialize a new instance of the MaskedTextBoxController class.
        /// </summary>
        /// <param name="ribbon">Reference to owning ribbon instance.</param>
        /// <param name="maskedTextBox">Source definition.</param>
        /// <param name="target">Target view element.</param>
        public MaskedTextBoxController(KryptonRibbon ribbon,
                                       KryptonRibbonGroupMaskedTextBox maskedTextBox,
                                       ViewDrawRibbonGroupMaskedTextBox target)
        {
            Debug.Assert(ribbon != null);
            Debug.Assert(maskedTextBox != null);
            Debug.Assert(target != null);

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

            _ribbon = ribbon;
            _maskedTextBox = maskedTextBox;
            _target = target;
        }