9 references to VerticalOffset
PresentationFramework (9)
src\Framework\System\Windows\Controls\Primitives\TextBoxBase.cs (2)
1080
if ((e.Delta > 0 &&
VerticalOffset
!= 0) /* scrolling up */ || (e.Delta < 0 &&
VerticalOffset
< this.ScrollViewer.ScrollableHeight) /* scrolling down */ )
src\Framework\System\Windows\Controls\TextBox.cs (7)
352
return (int)Math.Floor((this.
VerticalOffset
/ lineHeight) + epsilon);
370
if (this.
VerticalOffset
+ this.ViewportHeight >= height)
376
return (int)Math.Floor((this.
VerticalOffset
+ this.ViewportHeight - 1) / GetLineHeight());
1173
ScrollViewer.ScrollToVerticalOffset(
VerticalOffset
- GetLineHeight());
1184
ScrollViewer.ScrollToVerticalOffset(
VerticalOffset
+ GetLineHeight());
1433
point.Y = lineHeight * lineIndex + (lineHeight / 2) -
VerticalOffset
; // use a point in the middle of the line, to be safe
1462
point.Y = lineHeight * lineIndex + (lineHeight / 2) -
VerticalOffset
; // use a point in the middle of the line, to be safe