Draws a ribbon group track bar.
Inheritance: ComponentFactory.Krypton.Toolkit.ViewComposite, IRibbonViewGroupItemView
示例#1
0
        /// <summary>
        /// Initialize a new instance of the TrackBarController class.
        /// </summary>
        /// <param name="ribbon">Reference to owning ribbon instance.</param>
        /// <param name="trackBar">Source definition.</param>
        /// <param name="target">Target view element.</param>
        public TrackBarController(KryptonRibbon ribbon,
                                  KryptonRibbonGroupTrackBar trackBar,
                                  ViewDrawRibbonGroupTrackBar target)
        {
            Debug.Assert(ribbon != null);
            Debug.Assert(trackBar != null);
            Debug.Assert(target != null);

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

            _ribbon = ribbon;
            _trackBar = trackBar;
            _target = target;
        }