38 references to CollectionViewFlags
PresentationFramework (38)
System\Windows\Data\CollectionView.cs (38)
86SetFlag(CollectionViewFlags.AllowsCrossThreadChanges, syncInfo.IsSynchronized); 111SetFlag(CollectionViewFlags.IsDynamic, true); 140SetFlag(CollectionViewFlags.IsCurrentBeforeFirst, _currentPosition < 0); 141SetFlag(CollectionViewFlags.IsCurrentAfterLast, _currentPosition < 0); 142SetFlag(CollectionViewFlags.CachedIsEmpty, _currentPosition < 0); 148SetFlag(CollectionViewFlags.ShouldProcessCollectionChanged, shouldProcessCollectionChanged); 321SetFlag(CollectionViewFlags.NeedsRefresh, false); 392return CheckFlag(CollectionViewFlags.IsCurrentAfterLast); 406return CheckFlag(CollectionViewFlags.IsCurrentBeforeFirst); 743get { return CheckFlag(CollectionViewFlags.NeedsRefresh); } 848bool oldIsCurrentAfterLast = CheckFlag(CollectionViewFlags.IsCurrentAfterLast); 849bool oldIsCurrentBeforeFirst = CheckFlag(CollectionViewFlags.IsCurrentBeforeFirst); 934if (isEmpty != CheckFlag(CollectionViewFlags.CachedIsEmpty)) 936SetFlag(CollectionViewFlags.CachedIsEmpty, isEmpty); 971SetFlag(CollectionViewFlags.IsCurrentBeforeFirst, false); 972SetFlag(CollectionViewFlags.IsCurrentAfterLast, false); 977SetFlag(CollectionViewFlags.IsCurrentBeforeFirst, true); 978SetFlag(CollectionViewFlags.IsCurrentAfterLast, true); 984SetFlag(CollectionViewFlags.IsCurrentBeforeFirst, newPosition < 0); 985SetFlag(CollectionViewFlags.IsCurrentAfterLast, newPosition >= count); 1081bool oldIsCurrentAfterLast = CheckFlag(CollectionViewFlags.IsCurrentAfterLast); 1082bool oldIsCurrentBeforeFirst = CheckFlag(CollectionViewFlags.IsCurrentBeforeFirst); 1168if (CheckFlag(CollectionViewFlags.ShouldProcessCollectionChanged)) 1270SetFlag(CollectionViewFlags.NeedsRefresh, true); 1296return CheckFlag(CollectionViewFlags.IsDynamic); 1313get { return CheckFlag(CollectionViewFlags.AllowsCrossThreadChanges); } 1318bool oldValue = CheckFlag(CollectionViewFlags.AllowsCrossThreadChanges); 1322SetFlag(CollectionViewFlags.AllowsCrossThreadChanges, value); 1779SetFlag(CollectionViewFlags.IsCurrentBeforeFirst, true); 1784SetFlag(CollectionViewFlags.IsCurrentAfterLast, true); 1789SetFlag(CollectionViewFlags.IsCurrentBeforeFirst | CollectionViewFlags.IsCurrentAfterLast, false); 1810if (_deferLevel == 0 && CheckFlag(CollectionViewFlags.NeedsRefresh)) 1894private bool CheckFlag(CollectionViewFlags flags) 1899private void SetFlag(CollectionViewFlags flags, bool value) 2173CollectionViewFlags _flags = CollectionViewFlags.ShouldProcessCollectionChanged | 2174CollectionViewFlags.NeedsRefresh;