15 writes to Offset
PresentationFramework (15)
System\Windows\Controls\ItemContainerGenerator.cs (15)
1521
_cachedState.
Offset
+= newOffset - offset;
1538
_cachedState.
Offset
+= count;
1547
_cachedState.
Offset
+= count;
1554
_cachedState.
Offset
= 0;
1562
_cachedState.
Offset
+= _cachedState.Count;
1654
state.
Offset
= index;
1661
state.
Offset
= 0;
2888
if (++state.
Offset
>= ItemCount)
2891
state.
Offset
= 0;
2901
if (--state.
Offset
< 0)
2904
state.
Offset
= state.Block.ItemCount - 1;
2917
state.
Offset
+= count;
2923
state.
Offset
= 0;
2939
state.
Offset
-= count;
2945
state.
Offset
= state.Block.ItemCount - 1;
12 references to Offset
PresentationFramework (12)
System\Windows\Controls\ItemContainerGenerator.cs (12)
1428
_factory.Realize(uBlock, _cachedState.
Offset
, item, container);
1431
_factory.SetAlternationIndex(_cachedState.Block, _cachedState.
Offset
, _direction);
1439
container = rib.ContainerAt(_cachedState.
Offset
);
1517
if (block == _cachedState.Block && offset <= _cachedState.
Offset
&&
1518
_cachedState.
Offset
< offset + count)
1536
else if (offset < _cachedState.Count + _cachedState.
Offset
)
1542
else if (offset == _cachedState.Count + _cachedState.
Offset
)
1550
else if (_cachedState.
Offset
== _cachedState.Block.ItemCount)
2915
if (count < ItemCount - state.
Offset
)
2921
count = ItemCount - state.
Offset
;
2937
if (count <= state.
Offset
)
2943
count = state.
Offset
+ 1;