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