System\Windows\Controls\ScrollViewer.cs (41)
75public void LineUp() { EnqueueCommand(Commands.LineUp, 0, null); }
79public void LineDown() { EnqueueCommand(Commands.LineDown, 0, null); }
83public void LineLeft() { EnqueueCommand(Commands.LineLeft, 0, null); }
87public void LineRight() { EnqueueCommand(Commands.LineRight, 0, null); }
92public void PageUp() { EnqueueCommand(Commands.PageUp, 0, null); }
96public void PageDown() { EnqueueCommand(Commands.PageDown, 0, null); }
100public void PageLeft() { EnqueueCommand(Commands.PageLeft, 0, null); }
104public void PageRight() { EnqueueCommand(Commands.PageRight, 0, null); }
109public void ScrollToLeftEnd() { EnqueueCommand(Commands.SetHorizontalOffset, Double.NegativeInfinity, null); }
113public void ScrollToRightEnd() { EnqueueCommand(Commands.SetHorizontalOffset, Double.PositiveInfinity, null); }
120EnqueueCommand(Commands.SetHorizontalOffset, Double.NegativeInfinity, null);
121EnqueueCommand(Commands.SetVerticalOffset, Double.NegativeInfinity, null);
128EnqueueCommand(Commands.SetHorizontalOffset, Double.NegativeInfinity, null);
129EnqueueCommand(Commands.SetVerticalOffset, Double.PositiveInfinity, null);
135public void ScrollToTop() { EnqueueCommand(Commands.SetVerticalOffset, Double.NegativeInfinity, null); }
139public void ScrollToBottom() { EnqueueCommand(Commands.SetVerticalOffset, Double.PositiveInfinity, null); }
150EnqueueCommand(Commands.SetHorizontalOffset, validatedOffset, null);
162EnqueueCommand(Commands.SetVerticalOffset, validatedOffset, null);
186EnqueueCommand(Commands.MakeVisible, 0, p);
2097internal Command(Commands code, double param, MakeVisibleParams mvp)
2104internal Commands Code;
2156if( ( command.Code == Commands.SetHorizontalOffset
2157&& _array[_lastWritePosition].Code == Commands.SetHorizontalOffset)
2158|| ( command.Code == Commands.SetVerticalOffset
2159&& _array[_lastWritePosition].Code == Commands.SetVerticalOffset)
2160|| (command.Code == Commands.MakeVisible
2161&& _array[_lastWritePosition].Code == Commands.MakeVisible))
2178return new Command(Commands.Invalid, 0, null);
2212case Commands.LineUp: isi.LineUp(); break;
2213case Commands.LineDown: isi.LineDown(); break;
2214case Commands.LineLeft: isi.LineLeft(); break;
2215case Commands.LineRight: isi.LineRight(); break;
2217case Commands.PageUp: isi.PageUp(); break;
2218case Commands.PageDown: isi.PageDown(); break;
2219case Commands.PageLeft: isi.PageLeft(); break;
2220case Commands.PageRight: isi.PageRight(); break;
2222case Commands.SetHorizontalOffset: isi.SetHorizontalOffset(cmd.Param); break;
2223case Commands.SetVerticalOffset: isi.SetVerticalOffset(cmd.Param); break;
2225case Commands.MakeVisible:
2281case Commands.Invalid: return false;
2286private void EnqueueCommand(Commands code, double param, MakeVisibleParams mvp)