7 types derived from CollectionView
PresentationFramework (7)
MS\Internal\Controls\InnerItemCollectionView.cs (1)
23internal sealed class InnerItemCollectionView : CollectionView, IList
MS\Internal\Data\CollectionViewProxy.cs (1)
26internal class CollectionViewProxy : CollectionView, IEditableCollectionViewAddNewItem, ICollectionViewLiveShaping, IItemProperties
MS\Internal\Data\CompositeCollectionView.cs (1)
28internal sealed class CompositeCollectionView : CollectionView
MS\Internal\Data\EnumerableCollectionView.cs (1)
21internal class EnumerableCollectionView : CollectionView, IItemProperties
System\Windows\Controls\ItemCollection.cs (1)
45public sealed class ItemCollection : CollectionView, IList, IEditableCollectionViewAddNewItem, ICollectionViewLiveShaping, IItemProperties, IWeakEventListener
System\Windows\Data\BindingListCollectionView.cs (1)
24public sealed class BindingListCollectionView : CollectionView, IComparer, IEditableCollectionView, ICollectionViewLiveShaping, IItemProperties
System\Windows\Data\ListCollectionView.cs (1)
26public class ListCollectionView : CollectionView, IComparer, IEditableCollectionViewAddNewItem, ICollectionViewLiveShaping, IItemProperties
104 references to CollectionView
PresentationFramework (96)
MS\Internal\Controls\InnerItemCollectionView.cs (6)
439/// Move <seealso cref="CollectionView.CurrentItem"/> to the given item. 443/// <returns>true if <seealso cref="CollectionView.CurrentItem"/> points to an item within the view.</returns> 458/// Move <seealso cref="CollectionView.CurrentItem"/> to the item at the given index. 461/// <returns>true if <seealso cref="CollectionView.CurrentItem"/> points to an item within the view.</returns> 499/// Re-create the view, using any <seealso cref="CollectionView.SortDescriptions"/> and/or <seealso cref="CollectionView.Filter"/>.
MS\Internal\Data\CollectionViewGroupRoot.cs (3)
26internal CollectionViewGroupRoot(CollectionView view) : base("Root", null) 105internal CollectionView View 809CollectionView _view;
MS\Internal\Data\CompositeCollectionView.cs (7)
117/// Return true if <seealso cref="CollectionView.CurrentItem"/> is beyond the end or the collection is empty. 130/// Return true if <seealso cref="CollectionView.CurrentItem"/> is before the beginning or the collection is empty. 144/// When false, set <seealso cref="CollectionView.Filter"/> will throw an exception. 300/// Move <seealso cref="CollectionView.CurrentItem"/> to the item at the given index. 303/// <returns>true if <seealso cref="CollectionView.CurrentItem"/> points to an item within the view.</returns> 809CollectionView cv = cc.View as CollectionView;
MS\Internal\Data\IndexedEnumerable.cs (3)
285internal CollectionView CollectionView 481_collectionView = collection as CollectionView; 698private CollectionView _collectionView;
MS\Internal\Data\PropertyPathWorker.cs (1)
948else if (parent == CollectionView.NewItemPlaceholder ||
MS\Internal\Data\ViewManager.cs (13)
255CollectionView cv = vr.View as CollectionView; 535return CacheView(collection, cvs, (CollectionView)viewRecord.View, viewRecord); 605CollectionView cv = icv as CollectionView; 657CollectionView cv = vr.View as CollectionView; 690CollectionView cv = collection as CollectionView; 702cv = (CollectionView)vr.View; 731private ViewRecord CacheView(object collection, CollectionViewSource cvs, CollectionView cv, ViewRecord vr) 757cv = (CollectionView)vr.View; 833private void ValidateViewType(CollectionView cv, Type collectionViewType)
MS\Internal\Data\XmlBindingWorker.cs (1)
63CollectionView = DataItem as CollectionView;
System\Windows\Automation\Peers\DataGridCellItemAutomationPeer.cs (1)
835return (item == CollectionView.NewItemPlaceholder) || (item == DataGrid.NewItemPlaceholder);
System\Windows\Automation\Peers\DataGridItemAutomationPeer.cs (1)
567return (item == CollectionView.NewItemPlaceholder) || (item == DataGrid.NewItemPlaceholder);
System\Windows\Controls\DataGrid.cs (11)
827if (item == CollectionView.NewItemPlaceholder || 2141if (SelectedItems.Contains(CollectionView.NewItemPlaceholder)) 2144UnselectItem(NewItemInfo(CollectionView.NewItemPlaceholder)); 2242SelectItem(NewItemInfo(CollectionView.NewItemPlaceholder)); 2690if (itemToRemove != CollectionView.NewItemPlaceholder) 3689SetCurrentItem(CollectionView.NewItemPlaceholder); 3695SelectItem(NewItemInfo(CollectionView.NewItemPlaceholder)); 3808DataGridRow newItemPlaceholderRow = (DataGridRow)ItemContainerGenerator.ContainerFromItem(CollectionView.NewItemPlaceholder); 3857if (HasNewItemPlaceholder && SelectedItems.Contains(CollectionView.NewItemPlaceholder)) 3877return (item == CollectionView.NewItemPlaceholder) || (item == DataGrid.NewItemPlaceholder); 5619if (currentInfo.Item == CollectionView.NewItemPlaceholder)
System\Windows\Controls\DataGridRow.cs (3)
720var isRealItem = row.Item != CollectionView.NewItemPlaceholder; 748if (row.Item == CollectionView.NewItemPlaceholder && owningDataGrid != null) 764if (row.Item == CollectionView.NewItemPlaceholder)
System\Windows\Controls\ItemCollection.cs (5)
1548internal CollectionView CollectionView 1665void SetCollectionView(CollectionView view) 1789void HookCollectionView(CollectionView view) 1831void UnhookCollectionView(CollectionView view) 2458private CollectionView _collectionView; // delegate ICollectionView
System\Windows\Controls\ItemContainerGenerator.cs (1)
1956CollectionView cv = Host.View.CollectionView;
System\Windows\Controls\MultipleCopiesCollection.cs (1)
132if (value == CollectionView.NewItemPlaceholder)
System\Windows\Data\BindingGroup.cs (2)
820dataContextItem != CollectionView.NewItemPlaceholder && 1022mentor.GetValue(FrameworkElement.DataContextProperty) == CollectionView.NewItemPlaceholder)
System\Windows\Data\BindingListCollectionView.cs (3)
96/// Move <seealso cref="CollectionView.CurrentItem"/> to the item at the given index. 99/// <returns>true if <seealso cref="CollectionView.CurrentItem"/> points to an item within the view.</returns> 906if (item == CollectionView.NewItemPlaceholder)
System\Windows\Data\BindingOperations.cs (1)
491internal static void OnCollectionViewRegistering(CollectionView view)
System\Windows\Data\CollectionContainer.cs (8)
133CollectionView cv = View as CollectionView; 192CollectionView cv = View as CollectionView; 210CollectionView cv = View as CollectionView; 228CollectionView cv = _view as CollectionView;
System\Windows\Data\CollectionView.cs (6)
68if (this.GetType() == typeof(CollectionView)) 1634public PlaceholderAwareEnumerator(CollectionView collectionView, IEnumerator baseEnumerator, NewItemPlaceholderPosition placeholderPosition, object newItem) 1707return (_position == Position.OnPlaceholder) ? CollectionView.NewItemPlaceholder 1719CollectionView _collectionView; 2090public DeferHelper(CollectionView collectionView) 2106private CollectionView _collectionView;
System\Windows\Data\CollectionViewRegisteringEventArgs.cs (3)
15internal CollectionViewRegisteringEventArgs(CollectionView view) 20public CollectionView CollectionView 25CollectionView _view;
System\Windows\Data\CollectionViewSource.cs (6)
753internal CollectionView CollectionView 784return (CollectionView)view; 805static internal CollectionView GetDefaultCollectionView(object source, bool createView, Func<object, object> GetSourceItem=null) 813return (viewRecord != null) ? (CollectionView)viewRecord.View : null; 821internal static CollectionView GetDefaultCollectionView(object source, DependencyObject d, Func<object, object> GetSourceItem=null) 823CollectionView view = GetDefaultCollectionView(source, true, GetSourceItem);
System\Windows\Data\ListCollectionView.cs (7)
188/// Move <seealso cref="CollectionView.CurrentItem"/> to the item at the given index. 191/// <returns>true if <seealso cref="CollectionView.CurrentItem"/> points to an item within the view.</returns> 451/// an explicit <seealso cref="CollectionView.Refresh"/> call by the app is required. 452/// Note: Setting the custom comparer object will clear previously set <seealso cref="CollectionView.SortDescriptions"/>. 1084if (item == CollectionView.NewItemPlaceholder) 2443internal static IComparer PrepareComparer(IComparer customSort, SortDescriptionCollection sort, Func<object, CollectionView> lazyGetCollectionView, object state) 2452CollectionView view = lazyGetCollectionView(state);
System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
173case 79: t = () => typeof(CollectionView); break;
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
2605typeof(System.Windows.Data.CollectionView),
System\Windows\Markup\KnownTypes.cs (1)
5633case KnownElements.CollectionView: t = typeof(System.Windows.Data.CollectionView); break;
System.Windows.Controls.Ribbon (8)
Microsoft\Windows\Controls\Ribbon\RibbonGallery.cs (7)
1118internal CollectionView CollectionView 1124internal CollectionView SourceCollectionView 1222internal static CollectionView GetSourceCollectionView(ItemsControl itemsControl) 1228CollectionView cv = null; 1235cv = cvs.View as CollectionView; 1521private void MoveCurrentTo(CollectionView cv, object item) 1529private void MoveCurrentToPosition(CollectionView cv, int position)
Microsoft\Windows\Controls\Ribbon\RibbonGalleryCategory.cs (1)
471internal CollectionView CollectionView