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;
871
if (
_scrollData
._allowHorizontal != value)
873
_scrollData
._allowHorizontal = false;
892
if (
_scrollData
._allowVertical != value)
894
_scrollData
._allowVertical = true;
907
if (
_scrollData
== null) { return 0.0; }
908
return
_scrollData
._extent.Width;
919
if (
_scrollData
== null) { return 0.0; }
920
return
_scrollData
._extent.Height;
931
if (
_scrollData
== null) { return 0.0; }
932
return
_scrollData
._viewport.Width;
943
if (
_scrollData
== null) { return 0.0; }
944
return
_scrollData
._viewport.Height;
956
if (
_scrollData
== null) { return 0.0; }
957
return
_scrollData
._offset.X;
969
if (
_scrollData
== null) { return 0.0; }
970
return
_scrollData
._offset.Y;
984
return
_scrollData
._scrollOwner;
989
if (value !=
_scrollData
._scrollOwner)
992
_scrollData
._scrollOwner = value;