15 writes to Offset
PresentationFramework (15)
src\Framework\System\Windows\Controls\ItemContainerGenerator.cs (15)
1535
_cachedState.
Offset
+= newOffset - offset;
1552
_cachedState.
Offset
+= count;
1561
_cachedState.
Offset
+= count;
1568
_cachedState.
Offset
= 0;
1576
_cachedState.
Offset
+= _cachedState.Count;
1668
state.
Offset
= index;
1675
state.
Offset
= 0;
2902
if (++state.
Offset
>= ItemCount)
2905
state.
Offset
= 0;
2915
if (--state.
Offset
< 0)
2918
state.
Offset
= state.Block.ItemCount - 1;
2931
state.
Offset
+= count;
2937
state.
Offset
= 0;
2953
state.
Offset
-= count;
2959
state.
Offset
= state.Block.ItemCount - 1;
12 references to Offset
PresentationFramework (12)
src\Framework\System\Windows\Controls\ItemContainerGenerator.cs (12)
1442
_factory.Realize(uBlock, _cachedState.
Offset
, item, container);
1445
_factory.SetAlternationIndex(_cachedState.Block, _cachedState.
Offset
, _direction);
1453
container = rib.ContainerAt(_cachedState.
Offset
);
1531
if (block == _cachedState.Block && offset <= _cachedState.
Offset
&&
1532
_cachedState.
Offset
< offset + count)
1550
else if (offset < _cachedState.Count + _cachedState.
Offset
)
1556
else if (offset == _cachedState.Count + _cachedState.
Offset
)
1564
else if (_cachedState.
Offset
== _cachedState.Block.ItemCount)
2929
if (count < ItemCount - state.
Offset
)
2935
count = ItemCount - state.
Offset
;
2951
if (count <= state.
Offset
)
2957
count = state.
Offset
+ 1;