9 implementations of ViewportWidth
PresentationFramework (6)
MS\Internal\Documents\DocumentGrid.cs (1)
549public double ViewportWidth
MS\Internal\Documents\FlowDocumentView.cs (1)
657double IScrollInfo.ViewportWidth
MS\Internal\Documents\TextBoxView.cs (1)
335double IScrollInfo.ViewportWidth
System\Windows\Controls\Primitives\ScrollContentPresenter.cs (1)
261public double ViewportWidth
System\Windows\Controls\Stack.cs (1)
412public double ViewportWidth
System\Windows\Controls\VirtualizingStackPanel.cs (1)
1885public double ViewportWidth
System.Windows.Controls.Ribbon (3)
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonGalleryCategoriesPanel.cs (1)
927public double ViewportWidth
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonTabHeadersPanel.cs (1)
873public double ViewportWidth
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonTabsPanel.cs (1)
110public double ViewportWidth
18 references to ViewportWidth
PresentationFramework (18)
MS\Internal\Controls\StickyNote\StickyNoteAnnotations.cs (1)
1388Rect viewport = new Rect(0, 0, scrollInfo.ViewportWidth, scrollInfo.ViewportHeight);
MS\Internal\Documents\FlowDocumentView.cs (1)
655/// <see cref="IScrollInfo.ViewportWidth"/>
MS\Internal\Documents\ScrollData.cs (1)
320/// <see cref="IScrollInfo.ViewportWidth"/>
MS\Internal\Documents\TextBoxView.cs (1)
333/// <see cref="IScrollInfo.ViewportWidth"/>
MS\Internal\Documents\TextDocumentView.cs (2)
205if (scrollInfo.ViewportWidth != 0 && scrollInfo.ViewportHeight != 0) 207visibleRect = new Rect(scrollInfo.HorizontalOffset, scrollInfo.VerticalOffset, scrollInfo.ViewportWidth, scrollInfo.ViewportHeight);
MS\Internal\Documents\TextViewBase.cs (2)
140Rect viewport = new Rect(isi.HorizontalOffset, isi.VerticalOffset, isi.ViewportWidth, isi.ViewportHeight); 156if (isi.ViewportWidth > 0)
System\Windows\Controls\DataGridCellsPanel.cs (1)
2013availableViewportWidth = scrollInfo.ViewportWidth;
System\Windows\Controls\DocumentViewer.cs (1)
1312SetValue(ViewportWidthPropertyKey, _documentScrollInfo.ViewportWidth);
System\Windows\Controls\Primitives\IScrollInfo.cs (1)
93/// An implementation may coerce this value into a valid range, typically inclusively between 0 and <see cref="ExtentWidth" /> less <see cref="ViewportWidth" />.
System\Windows\Controls\ScrollViewer.cs (6)
248double viewport = ScrollInfo.ViewportWidth; 278|| !DoubleUtil.AreClose(ViewportWidth, ScrollInfo.ViewportWidth) 1197bool makeHorizontalBarVisible = hsbAuto && DoubleUtil.GreaterThan(isi.ExtentWidth, isi.ViewportWidth); 1242bool makeHorizontalBarVisible2 = !makeHorizontalBarVisible && DoubleUtil.GreaterThan(isi.ExtentWidth, isi.ViewportWidth); 2347if (ScrollInfo != null && !DoubleUtil.AreClose(oldViewportWidth, ScrollInfo.ViewportWidth)) 2349_xSize = ScrollInfo.ViewportWidth;
System\Windows\Controls\TextAdaptor.cs (1)
254isi.SetHorizontalOffset(alignToTop ? rangeBounds.Left : (rangeBounds.Right - isi.ViewportWidth));