Draws a ribbon group domain up-down.
Наследование: ComponentFactory.Krypton.Toolkit.ViewComposite, IRibbonViewGroupItemView
Пример #1
0
        /// <summary>
        /// Initialize a new instance of the DomainUpDownController class.
        /// </summary>
        /// <param name="ribbon">Reference to owning ribbon instance.</param>
        /// <param name="domainUpDown">Source definition.</param>
        /// <param name="target">Target view element.</param>
        public DomainUpDownController(KryptonRibbon ribbon,
                                      KryptonRibbonGroupDomainUpDown domainUpDown,
                                      ViewDrawRibbonGroupDomainUpDown target)
        {
            Debug.Assert(ribbon != null);
            Debug.Assert(domainUpDown != null);
            Debug.Assert(target != null);

            _ribbon       = ribbon;
            _domainUpDown = domainUpDown;
            _target       = target;
        }
Пример #2
0
        /// <summary>
        /// Initialize a new instance of the DomainUpDownController class.
        /// </summary>
        /// <param name="ribbon">Reference to owning ribbon instance.</param>
        /// <param name="domainUpDown">Source definition.</param>
        /// <param name="target">Target view element.</param>
        public DomainUpDownController(KryptonRibbon ribbon,
                                      KryptonRibbonGroupDomainUpDown domainUpDown,
                                      ViewDrawRibbonGroupDomainUpDown target)
        {
            Debug.Assert(ribbon != null);
            Debug.Assert(domainUpDown != null);
            Debug.Assert(target != null);

            _ribbon = ribbon;
            _domainUpDown = domainUpDown;
            _target = target;
        }