System\Windows\Controls\ScrollViewer.cs (41)
84public void LineUp() { EnqueueCommand(Commands.LineUp, 0, null); }
88public void LineDown() { EnqueueCommand(Commands.LineDown, 0, null); }
92public void LineLeft() { EnqueueCommand(Commands.LineLeft, 0, null); }
96public void LineRight() { EnqueueCommand(Commands.LineRight, 0, null); }
101public void PageUp() { EnqueueCommand(Commands.PageUp, 0, null); }
105public void PageDown() { EnqueueCommand(Commands.PageDown, 0, null); }
109public void PageLeft() { EnqueueCommand(Commands.PageLeft, 0, null); }
113public void PageRight() { EnqueueCommand(Commands.PageRight, 0, null); }
118public void ScrollToLeftEnd() { EnqueueCommand(Commands.SetHorizontalOffset, Double.NegativeInfinity, null); }
122public void ScrollToRightEnd() { EnqueueCommand(Commands.SetHorizontalOffset, Double.PositiveInfinity, null); }
129EnqueueCommand(Commands.SetHorizontalOffset, Double.NegativeInfinity, null);
130EnqueueCommand(Commands.SetVerticalOffset, Double.NegativeInfinity, null);
137EnqueueCommand(Commands.SetHorizontalOffset, Double.NegativeInfinity, null);
138EnqueueCommand(Commands.SetVerticalOffset, Double.PositiveInfinity, null);
144public void ScrollToTop() { EnqueueCommand(Commands.SetVerticalOffset, Double.NegativeInfinity, null); }
148public void ScrollToBottom() { EnqueueCommand(Commands.SetVerticalOffset, Double.PositiveInfinity, null); }
159EnqueueCommand(Commands.SetHorizontalOffset, validatedOffset, null);
171EnqueueCommand(Commands.SetVerticalOffset, validatedOffset, null);
195EnqueueCommand(Commands.MakeVisible, 0, p);
2107internal Command(Commands code, double param, MakeVisibleParams mvp)
2114internal Commands Code;
2166if( ( command.Code == Commands.SetHorizontalOffset
2167&& _array[_lastWritePosition].Code == Commands.SetHorizontalOffset)
2168|| ( command.Code == Commands.SetVerticalOffset
2169&& _array[_lastWritePosition].Code == Commands.SetVerticalOffset)
2170|| (command.Code == Commands.MakeVisible
2171&& _array[_lastWritePosition].Code == Commands.MakeVisible))
2188return new Command(Commands.Invalid, 0, null);
2222case Commands.LineUp: isi.LineUp(); break;
2223case Commands.LineDown: isi.LineDown(); break;
2224case Commands.LineLeft: isi.LineLeft(); break;
2225case Commands.LineRight: isi.LineRight(); break;
2227case Commands.PageUp: isi.PageUp(); break;
2228case Commands.PageDown: isi.PageDown(); break;
2229case Commands.PageLeft: isi.PageLeft(); break;
2230case Commands.PageRight: isi.PageRight(); break;
2232case Commands.SetHorizontalOffset: isi.SetHorizontalOffset(cmd.Param); break;
2233case Commands.SetVerticalOffset: isi.SetVerticalOffset(cmd.Param); break;
2235case Commands.MakeVisible:
2291case Commands.Invalid: return false;
2296private void EnqueueCommand(Commands code, double param, MakeVisibleParams mvp)