Draws a ribbon group numeric up-down.
Inheritance: ComponentFactory.Krypton.Toolkit.ViewComposite, IRibbonViewGroupItemView
Example #1
0
        /// <summary>
        /// Initialize a new instance of the NumericUpDownController class.
        /// </summary>
        /// <param name="ribbon">Reference to owning ribbon instance.</param>
        /// <param name="numericUpDown">Source definition.</param>
        /// <param name="target">Target view element.</param>
        public NumericUpDownController(KryptonRibbon ribbon,
                                       KryptonRibbonGroupNumericUpDown numericUpDown,
                                       ViewDrawRibbonGroupNumericUpDown target)
        {
            Debug.Assert(ribbon != null);
            Debug.Assert(numericUpDown != null);
            Debug.Assert(target != null);

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

            _ribbon = ribbon;
            _numericUpDown = numericUpDown;
            _target = target;
        }