19 references to ExtentHeight
PresentationFramework (19)
System\Windows\Automation\Peers\ScrollBarAutomationPeer.cs (1)
71
verticalPercent = (val / (sv.
ExtentHeight
- sv.ViewportHeight)) * 100;
System\Windows\Automation\Peers\ScrollViewerAutomationPeer.cs (5)
167
owner.ScrollToVerticalOffset((owner.
ExtentHeight
- owner.ViewportHeight) * (double)verticalPercent * 0.01);
195
return (double)(owner.VerticalOffset * 100.0 / (owner.
ExtentHeight
- owner.ViewportHeight));
222
if (owner.ScrollInfo == null || DoubleUtil.IsZero(owner.
ExtentHeight
)) { return 100f; }
223
return Math.Min(100.0, (double)(owner.ViewportHeight * 100.0 / owner.
ExtentHeight
));
276
return owner.ScrollInfo != null && DoubleUtil.GreaterThan(owner.
ExtentHeight
, owner.ViewportHeight);
System\Windows\Controls\ItemsControl.cs (1)
2113
(ScrollHost.VerticalOffset > ScrollHost.
ExtentHeight
||
System\Windows\Controls\Primitives\TextBoxBase.cs (1)
571
return (this.ScrollViewer != null) ? this.ScrollViewer.
ExtentHeight
: 0.0;
System\Windows\Controls\ScrollChangedEventArgs.cs (2)
127
/// <seealso cref="System.Windows.Controls.ScrollViewer.
ExtentHeight
"/>
143
/// <seealso cref="System.Windows.Controls.ScrollViewer.
ExtentHeight
"/>
System\Windows\Controls\ScrollViewer.cs (6)
281
|| !DoubleUtil.AreClose(
ExtentHeight
, ScrollInfo.ExtentHeight))
409
get { return Math.Max(0.0,
ExtentHeight
- ViewportHeight); }
701
/// DependencyProperty for <see cref="
ExtentHeight
" /> property.
2321
double oldExtentHeight =
ExtentHeight
;
2402
new Size(ExtentWidth,
ExtentHeight
),
2403
new Vector(ExtentWidth - oldExtentWidth,
ExtentHeight
- oldExtentHeight),
System\Windows\Controls\TreeView.cs (2)
671
if(DoubleUtil.GreaterThan(scroller.
ExtentHeight
, scroller.ViewportHeight))
683
if(DoubleUtil.GreaterThan(scroller.
ExtentHeight
, scroller.ViewportHeight))
System\windows\Documents\CaretElement.cs (1)
414
scroller.ScrollToVerticalOffset(Math.Min(scroller.
ExtentHeight
, scroller.VerticalOffset + deltaToScroll + scrollerHeight / 4));