Draws a ribbon group masked textbox.
Inheritance: ComponentFactory.Krypton.Toolkit.ViewComposite, IRibbonViewGroupItemView
Ejemplo n.º 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;
        }
Ejemplo n.º 2
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;
        }