2 writes to _factory
PresentationFramework (2)
src\Framework\System\Windows\Controls\ItemContainerGenerator.cs (2)
1339_factory = factory; 1489_factory = null;
20 references to _factory
PresentationFramework (20)
src\Framework\System\Windows\Controls\ItemContainerGenerator.cs (20)
1342_factory.MapChanged += new MapChangedHandler(OnMapChanged); 1344_factory.MoveToPosition(position, direction, allowStartAtRealizedItem, ref _cachedState); 1345_done = (_factory.ItemsInternal.Count == 0); 1347_factory.SetStatus(GeneratorStatus.GeneratingContainers); 1385IList items = _factory.ItemsInternal; 1389if (_cachedState.Block == _factory._itemMap) 1416bool isNewItemPlaceHolderWhenGrouping = (_factory._generatesGroupItems && group == null); 1418if (_factory._recyclableContainers.Count > 0 && !_factory.Host.IsItemItsOwnContainer(item) && !isNewItemPlaceHolderWhenGrouping) 1420container = _factory._recyclableContainers.Dequeue(); 1425if (group == null || !_factory.IsGrouping) 1428container = _factory.Host.GetContainerForItem(item); 1433container = _factory.ContainerForGroup(group); 1442_factory.Realize(uBlock, _cachedState.Offset, item, container); 1445_factory.SetAlternationIndex(_cachedState.Block, _cachedState.Offset, _direction); 1480if (_factory != null) 1482_factory.MapChanged -= new MapChangedHandler(OnMapChanged); 1484if (!_factory._isGeneratingBatches) 1486_factory.SetStatus(GeneratorStatus.ContainersGenerated); 1488_factory._generator = null;