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