24 references to ExtentHeight
PresentationFramework (19)
src\Framework\System\Windows\Automation\Peers\ScrollBarAutomationPeer.cs (1)
73verticalPercent = (val / (sv.ExtentHeight - sv.ViewportHeight)) * 100;
src\Framework\System\Windows\Automation\Peers\ScrollViewerAutomationPeer.cs (5)
172owner.ScrollToVerticalOffset((owner.ExtentHeight - owner.ViewportHeight) * (double)verticalPercent * 0.01); 200return (double)(owner.VerticalOffset * 100.0 / (owner.ExtentHeight - owner.ViewportHeight)); 227if (owner.ScrollInfo == null || DoubleUtil.IsZero(owner.ExtentHeight)) { return 100f; } 228return Math.Min(100.0, (double)(owner.ViewportHeight * 100.0 / owner.ExtentHeight)); 281return owner.ScrollInfo != null && DoubleUtil.GreaterThan(owner.ExtentHeight, owner.ViewportHeight);
src\Framework\System\Windows\Controls\ItemsControl.cs (1)
2125(ScrollHost.VerticalOffset > ScrollHost.ExtentHeight ||
src\Framework\System\Windows\Controls\Primitives\TextBoxBase.cs (1)
603return (this.ScrollViewer != null) ? this.ScrollViewer.ExtentHeight : 0.0;
src\Framework\System\Windows\Controls\ScrollChangedEventArgs.cs (2)
133/// <seealso cref="System.Windows.Controls.ScrollViewer.ExtentHeight"/> 149/// <seealso cref="System.Windows.Controls.ScrollViewer.ExtentHeight"/>
src\Framework\System\Windows\Controls\ScrollViewer.cs (6)
292|| !DoubleUtil.AreClose(ExtentHeight, ScrollInfo.ExtentHeight)) 420get { return Math.Max(0.0, ExtentHeight - ViewportHeight); } 730/// DependencyProperty for <see cref="ExtentHeight" /> property. 2368double oldExtentHeight = ExtentHeight; 2449new Size(ExtentWidth, ExtentHeight), 2450new Vector(ExtentWidth - oldExtentWidth, ExtentHeight - oldExtentHeight),
src\Framework\System\Windows\Controls\TreeView.cs (2)
677if(DoubleUtil.GreaterThan(scroller.ExtentHeight, scroller.ViewportHeight)) 689if(DoubleUtil.GreaterThan(scroller.ExtentHeight, scroller.ViewportHeight))
src\Framework\System\windows\Documents\CaretElement.cs (1)
420scroller.ScrollToVerticalOffset(Math.Min(scroller.ExtentHeight, scroller.VerticalOffset + deltaToScroll + scrollerHeight / 4));
System.Activities.Presentation (5)
System.Activities.Presentation\System\Activities\Presentation\MiniMap\MiniMapControl.xaml.cs (5)
449if (this.MapSource.ScrollableHeight != 0 && this.MapSource.ExtentHeight != 0) 451height = (this.MapSource.ViewportHeight / this.MapSource.ExtentHeight) * this.MapHeight; 463if (this.MapSource.ExtentWidth != 0 && this.MapSource.ExtentHeight != 0) 466double widthToHeightRatio = this.MapSource.ExtentWidth / this.MapSource.ExtentHeight; 509System.Diagnostics.Debug.WriteLine(string.Format(CultureInfo.InvariantCulture, "{0} ScrollViewer: EWidth {1}, EHeight {2}, AWidth {3}, AHeight {4}, ViewPortW {5} ViewPortH {6}", prefix, mapSource.ExtentWidth, mapSource.ExtentHeight, mapSource.ActualWidth, mapSource.ActualHeight, mapSource.ViewportWidth, mapSource.ViewportHeight));