Draws a ribbon group domain up-down.
Inheritance: 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;
        }