2 writes to _viewport
System.Windows.Controls.Ribbon (2)
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonGalleryCategoriesPanel.cs (2)
157_scrollData._viewport = viewport; 1048_viewport = _extent = new Size();
5 references to _viewport
System.Windows.Controls.Ribbon (5)
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonGalleryCategoriesPanel.cs (5)
150fValid &= DoubleUtil.AreClose(viewport, _scrollData._viewport); 772double scrollX = CoerceOffset(offset, _scrollData._extent.Width, _scrollData._viewport.Width); 786double scrollY = CoerceOffset(offset, _scrollData._extent.Height, _scrollData._viewport.Height); 937return _scrollData._viewport.Width; 949return _scrollData._viewport.Height;