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