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

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

            _ribbon = ribbon;
            _comboBox = comboBox;
            _target = target;
        }