19 references to ExtentHeight
PresentationFramework (19)
System\Windows\Automation\Peers\ScrollBarAutomationPeer.cs (1)
77
verticalPercent = (val / (sv.
ExtentHeight
- sv.ViewportHeight)) * 100;
System\Windows\Automation\Peers\ScrollViewerAutomationPeer.cs (5)
175
owner.ScrollToVerticalOffset((owner.
ExtentHeight
- owner.ViewportHeight) * (double)verticalPercent * 0.01);
203
return (double)(owner.VerticalOffset * 100.0 / (owner.
ExtentHeight
- owner.ViewportHeight));
230
if (owner.ScrollInfo == null || DoubleUtil.IsZero(owner.
ExtentHeight
)) { return 100f; }
231
return Math.Min(100.0, (double)(owner.ViewportHeight * 100.0 / owner.
ExtentHeight
));
284
return owner.ScrollInfo != null && DoubleUtil.GreaterThan(owner.
ExtentHeight
, owner.ViewportHeight);
System\Windows\Controls\ItemsControl.cs (1)
2122
(ScrollHost.VerticalOffset > ScrollHost.
ExtentHeight
||
System\Windows\Controls\Primitives\TextBoxBase.cs (1)
580
return (this.ScrollViewer != null) ? this.ScrollViewer.
ExtentHeight
: 0.0;
System\Windows\Controls\ScrollChangedEventArgs.cs (2)
131
/// <seealso cref="System.Windows.Controls.ScrollViewer.
ExtentHeight
"/>
147
/// <seealso cref="System.Windows.Controls.ScrollViewer.
ExtentHeight
"/>
System\Windows\Controls\ScrollViewer.cs (6)
289
|| !DoubleUtil.AreClose(
ExtentHeight
, ScrollInfo.ExtentHeight))
417
get { return Math.Max(0.0,
ExtentHeight
- ViewportHeight); }
709
/// DependencyProperty for <see cref="
ExtentHeight
" /> property.
2329
double oldExtentHeight =
ExtentHeight
;
2410
new Size(ExtentWidth,
ExtentHeight
),
2411
new Vector(ExtentWidth - oldExtentWidth,
ExtentHeight
- oldExtentHeight),
System\Windows\Controls\TreeView.cs (2)
676
if(DoubleUtil.GreaterThan(scroller.
ExtentHeight
, scroller.ViewportHeight))
688
if(DoubleUtil.GreaterThan(scroller.
ExtentHeight
, scroller.ViewportHeight))
System\windows\Documents\CaretElement.cs (1)
417
scroller.ScrollToVerticalOffset(Math.Min(scroller.
ExtentHeight
, scroller.VerticalOffset + deltaToScroll + scrollerHeight / 4));