9 implementations of ViewportWidth
PresentationFramework (6)
MS\Internal\Documents\DocumentGrid.cs (1)
549
public double
ViewportWidth
MS\Internal\Documents\FlowDocumentView.cs (1)
657
double IScrollInfo.
ViewportWidth
MS\Internal\Documents\TextBoxView.cs (1)
335
double IScrollInfo.
ViewportWidth
System\Windows\Controls\Primitives\ScrollContentPresenter.cs (1)
261
public double
ViewportWidth
System\Windows\Controls\Stack.cs (1)
412
public double
ViewportWidth
System\Windows\Controls\VirtualizingStackPanel.cs (1)
1885
public double
ViewportWidth
System.Windows.Controls.Ribbon (3)
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonGalleryCategoriesPanel.cs (1)
927
public double
ViewportWidth
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonTabHeadersPanel.cs (1)
873
public double
ViewportWidth
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonTabsPanel.cs (1)
110
public double
ViewportWidth
18 references to ViewportWidth
PresentationFramework (18)
MS\Internal\Controls\StickyNote\StickyNoteAnnotations.cs (1)
1388
Rect 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)
205
if (scrollInfo.
ViewportWidth
!= 0 && scrollInfo.ViewportHeight != 0)
207
visibleRect = new Rect(scrollInfo.HorizontalOffset, scrollInfo.VerticalOffset, scrollInfo.
ViewportWidth
, scrollInfo.ViewportHeight);
MS\Internal\Documents\TextViewBase.cs (2)
140
Rect viewport = new Rect(isi.HorizontalOffset, isi.VerticalOffset, isi.
ViewportWidth
, isi.ViewportHeight);
156
if (isi.
ViewportWidth
> 0)
System\Windows\Controls\DataGridCellsPanel.cs (1)
2013
availableViewportWidth = scrollInfo.
ViewportWidth
;
System\Windows\Controls\DocumentViewer.cs (1)
1312
SetValue(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)
248
double viewport = ScrollInfo.
ViewportWidth
;
278
|| !DoubleUtil.AreClose(ViewportWidth, ScrollInfo.
ViewportWidth
)
1197
bool makeHorizontalBarVisible = hsbAuto && DoubleUtil.GreaterThan(isi.ExtentWidth, isi.
ViewportWidth
);
1242
bool makeHorizontalBarVisible2 = !makeHorizontalBarVisible && DoubleUtil.GreaterThan(isi.ExtentWidth, isi.
ViewportWidth
);
2347
if (ScrollInfo != null && !DoubleUtil.AreClose(oldViewportWidth, ScrollInfo.
ViewportWidth
))
2349
_xSize = ScrollInfo.
ViewportWidth
;
System\Windows\Controls\TextAdaptor.cs (1)
254
isi.SetHorizontalOffset(alignToTop ? rangeBounds.Left : (rangeBounds.Right - isi.
ViewportWidth
));