1 write to _scrollData
System.Windows.Controls.Ribbon (1)
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonGalleryCategoriesPanel.cs (1)
118
if (_scrollData == null) {
_scrollData
= new ScrollData(); }
41 references to _scrollData
System.Windows.Controls.Ribbon (41)
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonGalleryCategoriesPanel.cs (41)
118
if (
_scrollData
== null) { _scrollData = new ScrollData(); }
128
element.
_scrollData
.ClearLayout();
145
fValid &= DoubleUtil.AreClose(viewport,
_scrollData
._viewport);
146
fValid &= DoubleUtil.AreClose(extent,
_scrollData
._extent);
147
fValid &= DoubleUtil.AreClose(offset,
_scrollData
._offset);
148
_scrollData
._offset = offset;
152
_scrollData
._viewport = viewport;
153
_scrollData
._extent = extent;
207
get { return (
_scrollData
!= null) && (
_scrollData
._scrollOwner != null); }
481
double viewportOffsetY = (IsScrolling) ?
_scrollData
._offset.Y : 0;
487
Vector offset =
_scrollData
._offset;
586
rcChild.X = -1.0 *
_scrollData
._offset.X;
587
rcChild.Y = -1.0 *
_scrollData
._offset.Y;
767
double scrollX = CoerceOffset(offset,
_scrollData
._extent.Width,
_scrollData
._viewport.Width);
768
if (!DoubleUtil.AreClose(scrollX,
_scrollData
._offset.X))
770
_scrollData
._offset.X = scrollX;
781
double scrollY = CoerceOffset(offset,
_scrollData
._extent.Height,
_scrollData
._viewport.Height);
782
if (!DoubleUtil.AreClose(scrollY,
_scrollData
._offset.Y))
784
_scrollData
._offset.Y = scrollY;
867
if (
_scrollData
._allowHorizontal != value)
869
_scrollData
._allowHorizontal = false;
888
if (
_scrollData
._allowVertical != value)
890
_scrollData
._allowVertical = true;
903
if (
_scrollData
== null) { return 0.0; }
904
return
_scrollData
._extent.Width;
915
if (
_scrollData
== null) { return 0.0; }
916
return
_scrollData
._extent.Height;
927
if (
_scrollData
== null) { return 0.0; }
928
return
_scrollData
._viewport.Width;
939
if (
_scrollData
== null) { return 0.0; }
940
return
_scrollData
._viewport.Height;
952
if (
_scrollData
== null) { return 0.0; }
953
return
_scrollData
._offset.X;
965
if (
_scrollData
== null) { return 0.0; }
966
return
_scrollData
._offset.Y;
980
return
_scrollData
._scrollOwner;
985
if (value !=
_scrollData
._scrollOwner)
988
_scrollData
._scrollOwner = value;