2 writes to _factory
PresentationFramework (2)
System\Windows\Controls\ItemContainerGenerator.cs (2)
1325_factory = factory; 1475_factory = null;
20 references to _factory
PresentationFramework (20)
System\Windows\Controls\ItemContainerGenerator.cs (20)
1328_factory.MapChanged += new MapChangedHandler(OnMapChanged); 1330_factory.MoveToPosition(position, direction, allowStartAtRealizedItem, ref _cachedState); 1331_done = (_factory.ItemsInternal.Count == 0); 1333_factory.SetStatus(GeneratorStatus.GeneratingContainers); 1371IList items = _factory.ItemsInternal; 1375if (_cachedState.Block == _factory._itemMap) 1402bool isNewItemPlaceHolderWhenGrouping = (_factory._generatesGroupItems && group == null); 1404if (_factory._recyclableContainers.Count > 0 && !_factory.Host.IsItemItsOwnContainer(item) && !isNewItemPlaceHolderWhenGrouping) 1406container = _factory._recyclableContainers.Dequeue(); 1411if (group == null || !_factory.IsGrouping) 1414container = _factory.Host.GetContainerForItem(item); 1419container = _factory.ContainerForGroup(group); 1428_factory.Realize(uBlock, _cachedState.Offset, item, container); 1431_factory.SetAlternationIndex(_cachedState.Block, _cachedState.Offset, _direction); 1466if (_factory != null) 1468_factory.MapChanged -= new MapChangedHandler(OnMapChanged); 1470if (!_factory._isGeneratingBatches) 1472_factory.SetStatus(GeneratorStatus.ContainersGenerated); 1474_factory._generator = null;