22 references to ExtentWidth
PresentationFramework (17)
src\Framework\System\Windows\Automation\Peers\ScrollBarAutomationPeer.cs (1)
69horizontalPercent = (val / (sv.ExtentWidth - sv.ViewportWidth)) * 100;
src\Framework\System\Windows\Automation\Peers\ScrollViewerAutomationPeer.cs (5)
168owner.ScrollToHorizontalOffset((owner.ExtentWidth - owner.ViewportWidth) * (double)horizontalPercent * 0.01); 186return (double)(owner.HorizontalOffset * 100.0 / (owner.ExtentWidth - owner.ViewportWidth)); 213if (owner.ScrollInfo == null || DoubleUtil.IsZero(owner.ExtentWidth)) { return 100.0; } 214return Math.Min(100.0, (double)(owner.ViewportWidth * 100.0 / owner.ExtentWidth)); 273return owner.ScrollInfo != null && DoubleUtil.GreaterThan(owner.ExtentWidth, owner.ViewportWidth);
src\Framework\System\Windows\Controls\ItemsControl.cs (1)
2126ScrollHost.HorizontalOffset > ScrollHost.ExtentWidth))
src\Framework\System\Windows\Controls\Primitives\TextBoxBase.cs (1)
592return (this.ScrollViewer != null) ? this.ScrollViewer.ExtentWidth : 0.0;
src\Framework\System\Windows\Controls\ScrollChangedEventArgs.cs (2)
125/// <seealso cref="System.Windows.Controls.ScrollViewer.ExtentWidth"/> 141/// <seealso cref="System.Windows.Controls.ScrollViewer.ExtentWidth"/>
src\Framework\System\Windows\Controls\ScrollViewer.cs (6)
291|| !DoubleUtil.AreClose(ExtentWidth, ScrollInfo.ExtentWidth) 412get { return Math.Max(0.0, ExtentWidth - ViewportWidth); } 714/// DependencyProperty for <see cref="ExtentWidth" /> property. 2367double oldExtentWidth = ExtentWidth; 2449new Size(ExtentWidth, ExtentHeight), 2450new Vector(ExtentWidth - oldExtentWidth, ExtentHeight - oldExtentHeight),
src\Framework\System\windows\Documents\CaretElement.cs (1)
437scroller.ScrollToHorizontalOffset(Math.Min(scroller.ExtentWidth, scroller.HorizontalOffset + deltaToScroll + scrollerWidth / 4));
System.Activities.Presentation (5)
System.Activities.Presentation\System\Activities\Presentation\MiniMap\MiniMapControl.xaml.cs (5)
441if (this.MapSource.ScrollableWidth != 0 && this.MapSource.ExtentWidth != 0) 443width = (this.MapSource.ViewportWidth / this.MapSource.ExtentWidth) * this.MapWidth; 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));