15 writes to Offset
PresentationFramework (15)
System\Windows\Controls\ItemContainerGenerator.cs (15)
1527
_cachedState.
Offset
+= newOffset - offset;
1544
_cachedState.
Offset
+= count;
1553
_cachedState.
Offset
+= count;
1560
_cachedState.
Offset
= 0;
1568
_cachedState.
Offset
+= _cachedState.Count;
1660
state.
Offset
= index;
1667
state.
Offset
= 0;
2894
if (++state.
Offset
>= ItemCount)
2897
state.
Offset
= 0;
2907
if (--state.
Offset
< 0)
2910
state.
Offset
= state.Block.ItemCount - 1;
2923
state.
Offset
+= count;
2929
state.
Offset
= 0;
2945
state.
Offset
-= count;
2951
state.
Offset
= state.Block.ItemCount - 1;
12 references to Offset
PresentationFramework (12)
System\Windows\Controls\ItemContainerGenerator.cs (12)
1434
_factory.Realize(uBlock, _cachedState.
Offset
, item, container);
1437
_factory.SetAlternationIndex(_cachedState.Block, _cachedState.
Offset
, _direction);
1445
container = rib.ContainerAt(_cachedState.
Offset
);
1523
if (block == _cachedState.Block && offset <= _cachedState.
Offset
&&
1524
_cachedState.
Offset
< offset + count)
1542
else if (offset < _cachedState.Count + _cachedState.
Offset
)
1548
else if (offset == _cachedState.Count + _cachedState.
Offset
)
1556
else if (_cachedState.
Offset
== _cachedState.Block.ItemCount)
2921
if (count < ItemCount - state.
Offset
)
2927
count = ItemCount - state.
Offset
;
2943
if (count <= state.
Offset
)
2949
count = state.
Offset
+ 1;