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