17 references to ExtentWidth
PresentationFramework (17)
System\Windows\Automation\Peers\ScrollBarAutomationPeer.cs (1)
67
horizontalPercent = (val / (sv.
ExtentWidth
- sv.ViewportWidth)) * 100;
System\Windows\Automation\Peers\ScrollViewerAutomationPeer.cs (5)
163
owner.ScrollToHorizontalOffset((owner.
ExtentWidth
- owner.ViewportWidth) * (double)horizontalPercent * 0.01);
181
return (double)(owner.HorizontalOffset * 100.0 / (owner.
ExtentWidth
- owner.ViewportWidth));
208
if (owner.ScrollInfo == null || DoubleUtil.IsZero(owner.
ExtentWidth
)) { return 100.0; }
209
return Math.Min(100.0, (double)(owner.ViewportWidth * 100.0 / owner.
ExtentWidth
));
268
return owner.ScrollInfo != null && DoubleUtil.GreaterThan(owner.
ExtentWidth
, owner.ViewportWidth);
System\Windows\Controls\ItemsControl.cs (1)
2114
ScrollHost.HorizontalOffset > ScrollHost.
ExtentWidth
))
System\Windows\Controls\Primitives\TextBoxBase.cs (1)
562
return (this.ScrollViewer != null) ? this.ScrollViewer.
ExtentWidth
: 0.0;
System\Windows\Controls\ScrollChangedEventArgs.cs (2)
119
/// <seealso cref="System.Windows.Controls.ScrollViewer.
ExtentWidth
"/>
135
/// <seealso cref="System.Windows.Controls.ScrollViewer.
ExtentWidth
"/>
System\Windows\Controls\ScrollViewer.cs (6)
280
|| !DoubleUtil.AreClose(
ExtentWidth
, ScrollInfo.ExtentWidth)
401
get { return Math.Max(0.0,
ExtentWidth
- ViewportWidth); }
685
/// DependencyProperty for <see cref="
ExtentWidth
" /> property.
2322
double oldExtentWidth =
ExtentWidth
;
2404
new Size(
ExtentWidth
, ExtentHeight),
2405
new Vector(
ExtentWidth
- oldExtentWidth, ExtentHeight - oldExtentHeight),
System\windows\Documents\CaretElement.cs (1)
430
scroller.ScrollToHorizontalOffset(Math.Min(scroller.
ExtentWidth
, scroller.HorizontalOffset + deltaToScroll + scrollerWidth / 4));