System\Windows\Controls\ScrollViewer.cs (41)
76public void LineUp() { EnqueueCommand(Commands.LineUp, 0, null); }
80public void LineDown() { EnqueueCommand(Commands.LineDown, 0, null); }
84public void LineLeft() { EnqueueCommand(Commands.LineLeft, 0, null); }
88public void LineRight() { EnqueueCommand(Commands.LineRight, 0, null); }
93public void PageUp() { EnqueueCommand(Commands.PageUp, 0, null); }
97public void PageDown() { EnqueueCommand(Commands.PageDown, 0, null); }
101public void PageLeft() { EnqueueCommand(Commands.PageLeft, 0, null); }
105public void PageRight() { EnqueueCommand(Commands.PageRight, 0, null); }
110public void ScrollToLeftEnd() { EnqueueCommand(Commands.SetHorizontalOffset, Double.NegativeInfinity, null); }
114public void ScrollToRightEnd() { EnqueueCommand(Commands.SetHorizontalOffset, Double.PositiveInfinity, null); }
121EnqueueCommand(Commands.SetHorizontalOffset, Double.NegativeInfinity, null);
122EnqueueCommand(Commands.SetVerticalOffset, Double.NegativeInfinity, null);
129EnqueueCommand(Commands.SetHorizontalOffset, Double.NegativeInfinity, null);
130EnqueueCommand(Commands.SetVerticalOffset, Double.PositiveInfinity, null);
136public void ScrollToTop() { EnqueueCommand(Commands.SetVerticalOffset, Double.NegativeInfinity, null); }
140public void ScrollToBottom() { EnqueueCommand(Commands.SetVerticalOffset, Double.PositiveInfinity, null); }
151EnqueueCommand(Commands.SetHorizontalOffset, validatedOffset, null);
163EnqueueCommand(Commands.SetVerticalOffset, validatedOffset, null);
187EnqueueCommand(Commands.MakeVisible, 0, p);
2099internal Command(Commands code, double param, MakeVisibleParams mvp)
2106internal Commands Code;
2158if( ( command.Code == Commands.SetHorizontalOffset
2159&& _array[_lastWritePosition].Code == Commands.SetHorizontalOffset)
2160|| ( command.Code == Commands.SetVerticalOffset
2161&& _array[_lastWritePosition].Code == Commands.SetVerticalOffset)
2162|| (command.Code == Commands.MakeVisible
2163&& _array[_lastWritePosition].Code == Commands.MakeVisible))
2180return new Command(Commands.Invalid, 0, null);
2214case Commands.LineUp: isi.LineUp(); break;
2215case Commands.LineDown: isi.LineDown(); break;
2216case Commands.LineLeft: isi.LineLeft(); break;
2217case Commands.LineRight: isi.LineRight(); break;
2219case Commands.PageUp: isi.PageUp(); break;
2220case Commands.PageDown: isi.PageDown(); break;
2221case Commands.PageLeft: isi.PageLeft(); break;
2222case Commands.PageRight: isi.PageRight(); break;
2224case Commands.SetHorizontalOffset: isi.SetHorizontalOffset(cmd.Param); break;
2225case Commands.SetVerticalOffset: isi.SetVerticalOffset(cmd.Param); break;
2227case Commands.MakeVisible:
2283case Commands.Invalid: return false;
2288private void EnqueueCommand(Commands code, double param, MakeVisibleParams mvp)