17 references to ExtentWidth
PresentationFramework (17)
System\Windows\Automation\Peers\ScrollBarAutomationPeer.cs (1)
73horizontalPercent = (val / (sv.ExtentWidth - sv.ViewportWidth)) * 100;
System\Windows\Automation\Peers\ScrollViewerAutomationPeer.cs (5)
171owner.ScrollToHorizontalOffset((owner.ExtentWidth - owner.ViewportWidth) * (double)horizontalPercent * 0.01); 189return (double)(owner.HorizontalOffset * 100.0 / (owner.ExtentWidth - owner.ViewportWidth)); 216if (owner.ScrollInfo == null || DoubleUtil.IsZero(owner.ExtentWidth)) { return 100.0; } 217return Math.Min(100.0, (double)(owner.ViewportWidth * 100.0 / owner.ExtentWidth)); 276return owner.ScrollInfo != null && DoubleUtil.GreaterThan(owner.ExtentWidth, owner.ViewportWidth);
System\Windows\Controls\ItemsControl.cs (1)
2123ScrollHost.HorizontalOffset > ScrollHost.ExtentWidth))
System\Windows\Controls\Primitives\TextBoxBase.cs (1)
569return (this.ScrollViewer != null) ? this.ScrollViewer.ExtentWidth : 0.0;
System\Windows\Controls\ScrollChangedEventArgs.cs (2)
123/// <seealso cref="System.Windows.Controls.ScrollViewer.ExtentWidth"/> 139/// <seealso cref="System.Windows.Controls.ScrollViewer.ExtentWidth"/>
System\Windows\Controls\ScrollViewer.cs (6)
288|| !DoubleUtil.AreClose(ExtentWidth, ScrollInfo.ExtentWidth) 409get { return Math.Max(0.0, ExtentWidth - ViewportWidth); } 693/// DependencyProperty for <see cref="ExtentWidth" /> property. 2328double oldExtentWidth = ExtentWidth; 2410new Size(ExtentWidth, ExtentHeight), 2411new Vector(ExtentWidth - oldExtentWidth, ExtentHeight - oldExtentHeight),
System\windows\Documents\CaretElement.cs (1)
434scroller.ScrollToHorizontalOffset(Math.Min(scroller.ExtentWidth, scroller.HorizontalOffset + deltaToScroll + scrollerWidth / 4));