24 references to ExtentHeight
PresentationFramework (19)
src\Framework\System\Windows\Automation\Peers\ScrollBarAutomationPeer.cs (1)
73
verticalPercent = (val / (sv.
ExtentHeight
- sv.ViewportHeight)) * 100;
src\Framework\System\Windows\Automation\Peers\ScrollViewerAutomationPeer.cs (5)
172
owner.ScrollToVerticalOffset((owner.
ExtentHeight
- owner.ViewportHeight) * (double)verticalPercent * 0.01);
200
return (double)(owner.VerticalOffset * 100.0 / (owner.
ExtentHeight
- owner.ViewportHeight));
227
if (owner.ScrollInfo == null || DoubleUtil.IsZero(owner.
ExtentHeight
)) { return 100f; }
228
return Math.Min(100.0, (double)(owner.ViewportHeight * 100.0 / owner.
ExtentHeight
));
281
return owner.ScrollInfo != null && DoubleUtil.GreaterThan(owner.
ExtentHeight
, owner.ViewportHeight);
src\Framework\System\Windows\Controls\ItemsControl.cs (1)
2125
(ScrollHost.VerticalOffset > ScrollHost.
ExtentHeight
||
src\Framework\System\Windows\Controls\Primitives\TextBoxBase.cs (1)
603
return (this.ScrollViewer != null) ? this.ScrollViewer.
ExtentHeight
: 0.0;
src\Framework\System\Windows\Controls\ScrollChangedEventArgs.cs (2)
133
/// <seealso cref="System.Windows.Controls.ScrollViewer.
ExtentHeight
"/>
149
/// <seealso cref="System.Windows.Controls.ScrollViewer.
ExtentHeight
"/>
src\Framework\System\Windows\Controls\ScrollViewer.cs (6)
292
|| !DoubleUtil.AreClose(
ExtentHeight
, ScrollInfo.ExtentHeight))
420
get { return Math.Max(0.0,
ExtentHeight
- ViewportHeight); }
730
/// DependencyProperty for <see cref="
ExtentHeight
" /> property.
2368
double oldExtentHeight =
ExtentHeight
;
2449
new Size(ExtentWidth,
ExtentHeight
),
2450
new Vector(ExtentWidth - oldExtentWidth,
ExtentHeight
- oldExtentHeight),
src\Framework\System\Windows\Controls\TreeView.cs (2)
677
if(DoubleUtil.GreaterThan(scroller.
ExtentHeight
, scroller.ViewportHeight))
689
if(DoubleUtil.GreaterThan(scroller.
ExtentHeight
, scroller.ViewportHeight))
src\Framework\System\windows\Documents\CaretElement.cs (1)
420
scroller.ScrollToVerticalOffset(Math.Min(scroller.
ExtentHeight
, scroller.VerticalOffset + deltaToScroll + scrollerHeight / 4));
System.Activities.Presentation (5)
System.Activities.Presentation\System\Activities\Presentation\MiniMap\MiniMapControl.xaml.cs (5)
449
if (this.MapSource.ScrollableHeight != 0 && this.MapSource.
ExtentHeight
!= 0)
451
height = (this.MapSource.ViewportHeight / this.MapSource.
ExtentHeight
) * this.MapHeight;
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));