src\Framework\System\Windows\Controls\ScrollViewer.cs (41)
87public void LineUp() { EnqueueCommand(Commands.LineUp, 0, null); }
91public void LineDown() { EnqueueCommand(Commands.LineDown, 0, null); }
95public void LineLeft() { EnqueueCommand(Commands.LineLeft, 0, null); }
99public void LineRight() { EnqueueCommand(Commands.LineRight, 0, null); }
104public void PageUp() { EnqueueCommand(Commands.PageUp, 0, null); }
108public void PageDown() { EnqueueCommand(Commands.PageDown, 0, null); }
112public void PageLeft() { EnqueueCommand(Commands.PageLeft, 0, null); }
116public void PageRight() { EnqueueCommand(Commands.PageRight, 0, null); }
121public void ScrollToLeftEnd() { EnqueueCommand(Commands.SetHorizontalOffset, Double.NegativeInfinity, null); }
125public void ScrollToRightEnd() { EnqueueCommand(Commands.SetHorizontalOffset, Double.PositiveInfinity, null); }
132EnqueueCommand(Commands.SetHorizontalOffset, Double.NegativeInfinity, null);
133EnqueueCommand(Commands.SetVerticalOffset, Double.NegativeInfinity, null);
140EnqueueCommand(Commands.SetHorizontalOffset, Double.NegativeInfinity, null);
141EnqueueCommand(Commands.SetVerticalOffset, Double.PositiveInfinity, null);
147public void ScrollToTop() { EnqueueCommand(Commands.SetVerticalOffset, Double.NegativeInfinity, null); }
151public void ScrollToBottom() { EnqueueCommand(Commands.SetVerticalOffset, Double.PositiveInfinity, null); }
162EnqueueCommand(Commands.SetHorizontalOffset, validatedOffset, null);
174EnqueueCommand(Commands.SetVerticalOffset, validatedOffset, null);
198EnqueueCommand(Commands.MakeVisible, 0, p);
2153internal Command(Commands code, double param, MakeVisibleParams mvp)
2160internal Commands Code;
2213if( ( command.Code == Commands.SetHorizontalOffset
2214&& _array[_lastWritePosition].Code == Commands.SetHorizontalOffset)
2215|| ( command.Code == Commands.SetVerticalOffset
2216&& _array[_lastWritePosition].Code == Commands.SetVerticalOffset)
2217|| (command.Code == Commands.MakeVisible
2218&& _array[_lastWritePosition].Code == Commands.MakeVisible))
2235return new Command(Commands.Invalid, 0, null);
2270case Commands.LineUp: isi.LineUp(); break;
2271case Commands.LineDown: isi.LineDown(); break;
2272case Commands.LineLeft: isi.LineLeft(); break;
2273case Commands.LineRight: isi.LineRight(); break;
2275case Commands.PageUp: isi.PageUp(); break;
2276case Commands.PageDown: isi.PageDown(); break;
2277case Commands.PageLeft: isi.PageLeft(); break;
2278case Commands.PageRight: isi.PageRight(); break;
2280case Commands.SetHorizontalOffset: isi.SetHorizontalOffset(cmd.Param); break;
2281case Commands.SetVerticalOffset: isi.SetVerticalOffset(cmd.Param); break;
2283case Commands.MakeVisible:
2330case Commands.Invalid: return false;
2335private void EnqueueCommand(Commands code, double param, MakeVisibleParams mvp)