2 writes to _viewport
System.Windows.Controls.Ribbon (2)
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonGalleryCategoriesPanel.cs (2)
152_scrollData._viewport = viewport; 1043_viewport = _extent = new Size();
5 references to _viewport
System.Windows.Controls.Ribbon (5)
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonGalleryCategoriesPanel.cs (5)
145fValid &= DoubleUtil.AreClose(viewport, _scrollData._viewport); 767double scrollX = CoerceOffset(offset, _scrollData._extent.Width, _scrollData._viewport.Width); 781double scrollY = CoerceOffset(offset, _scrollData._extent.Height, _scrollData._viewport.Height); 932return _scrollData._viewport.Width; 944return _scrollData._viewport.Height;