9 implementations of ViewportWidth
PresentationFramework (6)
MS\Internal\Documents\DocumentGrid.cs (1)
556
public double
ViewportWidth
MS\Internal\Documents\FlowDocumentView.cs (1)
659
double IScrollInfo.
ViewportWidth
MS\Internal\Documents\TextBoxView.cs (1)
337
double IScrollInfo.
ViewportWidth
System\Windows\Controls\Primitives\ScrollContentPresenter.cs (1)
271
public double
ViewportWidth
System\Windows\Controls\Stack.cs (1)
418
public double
ViewportWidth
System\Windows\Controls\VirtualizingStackPanel.cs (1)
1890
public double
ViewportWidth
System.Windows.Controls.Ribbon (3)
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonGalleryCategoriesPanel.cs (1)
932
public double
ViewportWidth
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonTabHeadersPanel.cs (1)
876
public double
ViewportWidth
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonTabsPanel.cs (1)
114
public double
ViewportWidth
18 references to ViewportWidth
PresentationFramework (18)
MS\Internal\Controls\StickyNote\StickyNoteAnnotations.cs (1)
1398
Rect viewport = new Rect(0, 0, scrollInfo.
ViewportWidth
, scrollInfo.ViewportHeight);
MS\Internal\Documents\FlowDocumentView.cs (1)
657
/// <see cref="IScrollInfo.
ViewportWidth
"/>
MS\Internal\Documents\ScrollData.cs (1)
322
/// <see cref="IScrollInfo.
ViewportWidth
"/>
MS\Internal\Documents\TextBoxView.cs (1)
335
/// <see cref="IScrollInfo.
ViewportWidth
"/>
MS\Internal\Documents\TextDocumentView.cs (2)
207
if (scrollInfo.
ViewportWidth
!= 0 && scrollInfo.ViewportHeight != 0)
209
visibleRect = new Rect(scrollInfo.HorizontalOffset, scrollInfo.VerticalOffset, scrollInfo.
ViewportWidth
, scrollInfo.ViewportHeight);
MS\Internal\Documents\TextViewBase.cs (2)
142
Rect viewport = new Rect(isi.HorizontalOffset, isi.VerticalOffset, isi.
ViewportWidth
, isi.ViewportHeight);
158
if (isi.
ViewportWidth
> 0)
System\Windows\Controls\DataGridCellsPanel.cs (1)
2017
availableViewportWidth = scrollInfo.
ViewportWidth
;
System\Windows\Controls\DocumentViewer.cs (1)
1324
SetValue(ViewportWidthPropertyKey, _documentScrollInfo.
ViewportWidth
);
System\Windows\Controls\Primitives\IScrollInfo.cs (1)
98
/// 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)
256
double viewport = ScrollInfo.
ViewportWidth
;
286
|| !DoubleUtil.AreClose(ViewportWidth, ScrollInfo.
ViewportWidth
)
1205
bool makeHorizontalBarVisible = hsbAuto && DoubleUtil.GreaterThan(isi.ExtentWidth, isi.
ViewportWidth
);
1250
bool makeHorizontalBarVisible2 = !makeHorizontalBarVisible && DoubleUtil.GreaterThan(isi.ExtentWidth, isi.
ViewportWidth
);
2355
if (ScrollInfo != null && !DoubleUtil.AreClose(oldViewportWidth, ScrollInfo.
ViewportWidth
))
2357
_xSize = ScrollInfo.
ViewportWidth
;
System\Windows\Controls\TextAdaptor.cs (1)
257
isi.SetHorizontalOffset(alignToTop ? rangeBounds.Left : (rangeBounds.Right - isi.
ViewportWidth
));