Esempio n. 1
0
        public ScrollCommand(GridUpdateType code, double offset, ThumbTrack thumbtrack) {
            Debug.Assert(code == GridUpdateType.SetHorizontalOffset
                || code == GridUpdateType.SetVerticalOffset);

            UpdateType = code;
            Param = new Tuple<double, ThumbTrack>(offset, thumbtrack);
        }
Esempio n. 2
0
        public ScrollCommand(GridUpdateType code, double offset, ThumbTrack thumbtrack)
        {
            Debug.Assert(code == GridUpdateType.SetHorizontalOffset ||
                         code == GridUpdateType.SetVerticalOffset);

            UpdateType = code;
            Param      = new Tuple <double, ThumbTrack>(offset, thumbtrack);
        }
Esempio n. 3
0
 internal void EnqueueCommand(GridUpdateType code, double offset, ThumbTrack track) {
     _scrollCommands.Add(new ScrollCommand(code, offset, track));
 }
Esempio n. 4
0
 internal void EnqueueCommand(GridUpdateType code, double offset, ThumbTrack track)
 {
     _scrollCommands.Add(new ScrollCommand(code, offset, track));
 }