1 write to _scrollData
System.Windows.Controls.Ribbon (1)
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonGalleryCategoriesPanel.cs (1)
118if (_scrollData == null) { _scrollData = new ScrollData(); }
41 references to _scrollData
System.Windows.Controls.Ribbon (41)
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonGalleryCategoriesPanel.cs (41)
118if (_scrollData == null) { _scrollData = new ScrollData(); } 128element._scrollData.ClearLayout(); 145fValid &= DoubleUtil.AreClose(viewport, _scrollData._viewport); 146fValid &= DoubleUtil.AreClose(extent, _scrollData._extent); 147fValid &= DoubleUtil.AreClose(offset, _scrollData._offset); 148_scrollData._offset = offset; 152_scrollData._viewport = viewport; 153_scrollData._extent = extent; 207get { return (_scrollData != null) && (_scrollData._scrollOwner != null); } 481double viewportOffsetY = (IsScrolling) ? _scrollData._offset.Y : 0; 487Vector offset = _scrollData._offset; 586rcChild.X = -1.0 * _scrollData._offset.X; 587rcChild.Y = -1.0 * _scrollData._offset.Y; 767double scrollX = CoerceOffset(offset, _scrollData._extent.Width, _scrollData._viewport.Width); 768if (!DoubleUtil.AreClose(scrollX, _scrollData._offset.X)) 770_scrollData._offset.X = scrollX; 781double scrollY = CoerceOffset(offset, _scrollData._extent.Height, _scrollData._viewport.Height); 782if (!DoubleUtil.AreClose(scrollY, _scrollData._offset.Y)) 784_scrollData._offset.Y = scrollY; 871if (_scrollData._allowHorizontal != value) 873_scrollData._allowHorizontal = false; 892if (_scrollData._allowVertical != value) 894_scrollData._allowVertical = true; 907if (_scrollData == null) { return 0.0; } 908return _scrollData._extent.Width; 919if (_scrollData == null) { return 0.0; } 920return _scrollData._extent.Height; 931if (_scrollData == null) { return 0.0; } 932return _scrollData._viewport.Width; 943if (_scrollData == null) { return 0.0; } 944return _scrollData._viewport.Height; 956if (_scrollData == null) { return 0.0; } 957return _scrollData._offset.X; 969if (_scrollData == null) { return 0.0; } 970return _scrollData._offset.Y; 984return _scrollData._scrollOwner; 989if (value != _scrollData._scrollOwner) 992_scrollData._scrollOwner = value;