17 references to ExtentWidth
PresentationFramework (17)
System\Windows\Automation\Peers\ScrollBarAutomationPeer.cs (1)
66
horizontalPercent = (val / (sv.
ExtentWidth
- sv.ViewportWidth)) * 100;
System\Windows\Automation\Peers\ScrollViewerAutomationPeer.cs (5)
162
owner.ScrollToHorizontalOffset((owner.
ExtentWidth
- owner.ViewportWidth) * (double)horizontalPercent * 0.01);
180
return (double)(owner.HorizontalOffset * 100.0 / (owner.
ExtentWidth
- owner.ViewportWidth));
207
if (owner.ScrollInfo == null || DoubleUtil.IsZero(owner.
ExtentWidth
)) { return 100.0; }
208
return Math.Min(100.0, (double)(owner.ViewportWidth * 100.0 / owner.
ExtentWidth
));
267
return owner.ScrollInfo != null && DoubleUtil.GreaterThan(owner.
ExtentWidth
, owner.ViewportWidth);
System\Windows\Controls\ItemsControl.cs (1)
2083
ScrollHost.HorizontalOffset > ScrollHost.
ExtentWidth
))
System\Windows\Controls\Primitives\TextBoxBase.cs (1)
561
return (this.ScrollViewer != null) ? this.ScrollViewer.
ExtentWidth
: 0.0;
System\Windows\Controls\ScrollChangedEventArgs.cs (2)
118
/// <seealso cref="System.Windows.Controls.ScrollViewer.
ExtentWidth
"/>
134
/// <seealso cref="System.Windows.Controls.ScrollViewer.
ExtentWidth
"/>
System\Windows\Controls\ScrollViewer.cs (6)
279
|| !DoubleUtil.AreClose(
ExtentWidth
, ScrollInfo.ExtentWidth)
400
get { return Math.Max(0.0,
ExtentWidth
- ViewportWidth); }
684
/// DependencyProperty for <see cref="
ExtentWidth
" /> property.
2318
double oldExtentWidth =
ExtentWidth
;
2400
new Size(
ExtentWidth
, ExtentHeight),
2401
new Vector(
ExtentWidth
- oldExtentWidth, ExtentHeight - oldExtentHeight),
System\windows\Documents\CaretElement.cs (1)
429
scroller.ScrollToHorizontalOffset(Math.Min(scroller.
ExtentWidth
, scroller.HorizontalOffset + deltaToScroll + scrollerWidth / 4));