1 write to _scrollData
System.Windows.Controls.Ribbon (1)
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonGalleryCategoriesPanel.cs (1)
123if (_scrollData == null) { _scrollData = new ScrollData(); }
41 references to _scrollData
System.Windows.Controls.Ribbon (41)
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonGalleryCategoriesPanel.cs (41)
123if (_scrollData == null) { _scrollData = new ScrollData(); } 133element._scrollData.ClearLayout(); 150fValid &= DoubleUtil.AreClose(viewport, _scrollData._viewport); 151fValid &= DoubleUtil.AreClose(extent, _scrollData._extent); 152fValid &= DoubleUtil.AreClose(offset, _scrollData._offset); 153_scrollData._offset = offset; 157_scrollData._viewport = viewport; 158_scrollData._extent = extent; 212get { return (_scrollData != null) && (_scrollData._scrollOwner != null); } 486double viewportOffsetY = (IsScrolling) ? _scrollData._offset.Y : 0; 492Vector offset = _scrollData._offset; 591rcChild.X = -1.0 * _scrollData._offset.X; 592rcChild.Y = -1.0 * _scrollData._offset.Y; 772double scrollX = CoerceOffset(offset, _scrollData._extent.Width, _scrollData._viewport.Width); 773if (!DoubleUtil.AreClose(scrollX, _scrollData._offset.X)) 775_scrollData._offset.X = scrollX; 786double scrollY = CoerceOffset(offset, _scrollData._extent.Height, _scrollData._viewport.Height); 787if (!DoubleUtil.AreClose(scrollY, _scrollData._offset.Y)) 789_scrollData._offset.Y = scrollY; 876if (_scrollData._allowHorizontal != value) 878_scrollData._allowHorizontal = false; 897if (_scrollData._allowVertical != value) 899_scrollData._allowVertical = true; 912if (_scrollData == null) { return 0.0; } 913return _scrollData._extent.Width; 924if (_scrollData == null) { return 0.0; } 925return _scrollData._extent.Height; 936if (_scrollData == null) { return 0.0; } 937return _scrollData._viewport.Width; 948if (_scrollData == null) { return 0.0; } 949return _scrollData._viewport.Height; 961if (_scrollData == null) { return 0.0; } 962return _scrollData._offset.X; 974if (_scrollData == null) { return 0.0; } 975return _scrollData._offset.Y; 989return _scrollData._scrollOwner; 994if (value != _scrollData._scrollOwner) 997_scrollData._scrollOwner = value;