6 implementations of ViewportWidth
PresentationFramework (6)
src\Framework\MS\Internal\Documents\DocumentGrid.cs (1)
575
public double
ViewportWidth
src\Framework\MS\Internal\Documents\FlowDocumentView.cs (1)
664
double IScrollInfo.
ViewportWidth
src\Framework\MS\Internal\Documents\TextBoxView.cs (1)
339
double IScrollInfo.
ViewportWidth
src\Framework\System\Windows\Controls\Primitives\ScrollContentPresenter.cs (1)
277
public double
ViewportWidth
src\Framework\System\Windows\Controls\Stack.cs (1)
424
public double
ViewportWidth
src\Framework\System\Windows\Controls\VirtualizingStackPanel.cs (1)
1841
public double
ViewportWidth
18 references to ViewportWidth
PresentationFramework (18)
src\Framework\MS\Internal\Controls\StickyNote\StickyNoteAnnotations.cs (1)
1413
Rect viewport = new Rect(0, 0, scrollInfo.
ViewportWidth
, scrollInfo.ViewportHeight);
src\Framework\MS\Internal\Documents\FlowDocumentView.cs (1)
662
/// <see cref="IScrollInfo.
ViewportWidth
"/>
src\Framework\MS\Internal\Documents\ScrollData.cs (1)
325
/// <see cref="IScrollInfo.
ViewportWidth
"/>
src\Framework\MS\Internal\Documents\TextBoxView.cs (1)
337
/// <see cref="IScrollInfo.
ViewportWidth
"/>
src\Framework\MS\Internal\Documents\TextDocumentView.cs (2)
214
if (scrollInfo.
ViewportWidth
!= 0 && scrollInfo.ViewportHeight != 0)
216
visibleRect = new Rect(scrollInfo.HorizontalOffset, scrollInfo.VerticalOffset, scrollInfo.
ViewportWidth
, scrollInfo.ViewportHeight);
src\Framework\MS\Internal\Documents\TextViewBase.cs (2)
144
Rect viewport = new Rect(isi.HorizontalOffset, isi.VerticalOffset, isi.
ViewportWidth
, isi.ViewportHeight);
160
if (isi.
ViewportWidth
> 0)
src\Framework\System\Windows\Controls\DataGridCellsPanel.cs (1)
2019
availableViewportWidth = scrollInfo.
ViewportWidth
;
src\Framework\System\Windows\Controls\DocumentViewer.cs (1)
1344
SetValue(ViewportWidthPropertyKey, _documentScrollInfo.
ViewportWidth
);
src\Framework\System\Windows\Controls\Primitives\IScrollInfo.cs (1)
102
/// An implementation may coerce this value into a valid range, typically inclusively between 0 and <see cref="ExtentWidth" /> less <see cref="
ViewportWidth
" />.
src\Framework\System\Windows\Controls\ScrollViewer.cs (6)
259
double viewport = ScrollInfo.
ViewportWidth
;
289
|| !DoubleUtil.AreClose(ViewportWidth, ScrollInfo.
ViewportWidth
)
1232
bool makeHorizontalBarVisible = hsbAuto && DoubleUtil.GreaterThan(isi.ExtentWidth, isi.
ViewportWidth
);
1277
bool makeHorizontalBarVisible2 = !makeHorizontalBarVisible && DoubleUtil.GreaterThan(isi.ExtentWidth, isi.
ViewportWidth
);
2394
if (ScrollInfo != null && !DoubleUtil.AreClose(oldViewportWidth, ScrollInfo.
ViewportWidth
))
2396
_xSize = ScrollInfo.
ViewportWidth
;
src\Framework\System\Windows\Controls\TextAdaptor.cs (1)
265
isi.SetHorizontalOffset(alignToTop ? rangeBounds.Left : (rangeBounds.Right - isi.
ViewportWidth
));