38 references to CollectionViewFlags
PresentationFramework (38)
System\Windows\Data\CollectionView.cs (38)
82SetFlag(CollectionViewFlags.AllowsCrossThreadChanges, syncInfo.IsSynchronized); 107SetFlag(CollectionViewFlags.IsDynamic, true); 136SetFlag(CollectionViewFlags.IsCurrentBeforeFirst, _currentPosition < 0); 137SetFlag(CollectionViewFlags.IsCurrentAfterLast, _currentPosition < 0); 138SetFlag(CollectionViewFlags.CachedIsEmpty, _currentPosition < 0); 144SetFlag(CollectionViewFlags.ShouldProcessCollectionChanged, shouldProcessCollectionChanged); 317SetFlag(CollectionViewFlags.NeedsRefresh, false); 388return CheckFlag(CollectionViewFlags.IsCurrentAfterLast); 402return CheckFlag(CollectionViewFlags.IsCurrentBeforeFirst); 739get { return CheckFlag(CollectionViewFlags.NeedsRefresh); } 844bool oldIsCurrentAfterLast = CheckFlag(CollectionViewFlags.IsCurrentAfterLast); 845bool oldIsCurrentBeforeFirst = CheckFlag(CollectionViewFlags.IsCurrentBeforeFirst); 930if (isEmpty != CheckFlag(CollectionViewFlags.CachedIsEmpty)) 932SetFlag(CollectionViewFlags.CachedIsEmpty, isEmpty); 967SetFlag(CollectionViewFlags.IsCurrentBeforeFirst, false); 968SetFlag(CollectionViewFlags.IsCurrentAfterLast, false); 973SetFlag(CollectionViewFlags.IsCurrentBeforeFirst, true); 974SetFlag(CollectionViewFlags.IsCurrentAfterLast, true); 980SetFlag(CollectionViewFlags.IsCurrentBeforeFirst, newPosition < 0); 981SetFlag(CollectionViewFlags.IsCurrentAfterLast, newPosition >= count); 1077bool oldIsCurrentAfterLast = CheckFlag(CollectionViewFlags.IsCurrentAfterLast); 1078bool oldIsCurrentBeforeFirst = CheckFlag(CollectionViewFlags.IsCurrentBeforeFirst); 1164if (CheckFlag(CollectionViewFlags.ShouldProcessCollectionChanged)) 1266SetFlag(CollectionViewFlags.NeedsRefresh, true); 1292return CheckFlag(CollectionViewFlags.IsDynamic); 1309get { return CheckFlag(CollectionViewFlags.AllowsCrossThreadChanges); } 1314bool oldValue = CheckFlag(CollectionViewFlags.AllowsCrossThreadChanges); 1318SetFlag(CollectionViewFlags.AllowsCrossThreadChanges, value); 1775SetFlag(CollectionViewFlags.IsCurrentBeforeFirst, true); 1780SetFlag(CollectionViewFlags.IsCurrentAfterLast, true); 1785SetFlag(CollectionViewFlags.IsCurrentBeforeFirst | CollectionViewFlags.IsCurrentAfterLast, false); 1806if (_deferLevel == 0 && CheckFlag(CollectionViewFlags.NeedsRefresh)) 1890private bool CheckFlag(CollectionViewFlags flags) 1895private void SetFlag(CollectionViewFlags flags, bool value) 2169CollectionViewFlags _flags = CollectionViewFlags.ShouldProcessCollectionChanged | 2170CollectionViewFlags.NeedsRefresh;