7 types derived from CollectionView
PresentationFramework (7)
MS\Internal\Controls\InnerItemCollectionView.cs (1)
24internal sealed class InnerItemCollectionView : CollectionView, IList
MS\Internal\Data\CollectionViewProxy.cs (1)
28internal class CollectionViewProxy : CollectionView, IEditableCollectionViewAddNewItem, ICollectionViewLiveShaping, IItemProperties
MS\Internal\Data\CompositeCollectionView.cs (1)
34internal sealed class CompositeCollectionView : CollectionView
MS\Internal\Data\EnumerableCollectionView.cs (1)
25internal class EnumerableCollectionView : CollectionView, IItemProperties
System\Windows\Controls\ItemCollection.cs (1)
54public sealed class ItemCollection : CollectionView, IList, IEditableCollectionViewAddNewItem, ICollectionViewLiveShaping, IItemProperties, IWeakEventListener
System\Windows\Data\BindingListCollectionView.cs (1)
29public sealed class BindingListCollectionView : CollectionView, IComparer, IEditableCollectionView, ICollectionViewLiveShaping, IItemProperties
System\Windows\Data\ListCollectionView.cs (1)
32public class ListCollectionView : CollectionView, IComparer, IEditableCollectionViewAddNewItem, ICollectionViewLiveShaping, IItemProperties
104 references to CollectionView
PresentationFramework (96)
MS\Internal\Controls\InnerItemCollectionView.cs (6)
440/// Move <seealso cref="CollectionView.CurrentItem"/> to the given item. 444/// <returns>true if <seealso cref="CollectionView.CurrentItem"/> points to an item within the view.</returns> 459/// Move <seealso cref="CollectionView.CurrentItem"/> to the item at the given index. 462/// <returns>true if <seealso cref="CollectionView.CurrentItem"/> points to an item within the view.</returns> 500/// Re-create the view, using any <seealso cref="CollectionView.SortDescriptions"/> and/or <seealso cref="CollectionView.Filter"/>.
MS\Internal\Data\CollectionViewGroupRoot.cs (3)
29internal CollectionViewGroupRoot(CollectionView view) : base("Root", null) 108internal CollectionView View 812CollectionView _view;
MS\Internal\Data\CompositeCollectionView.cs (7)
123/// Return true if <seealso cref="CollectionView.CurrentItem"/> is beyond the end or the collection is empty. 136/// Return true if <seealso cref="CollectionView.CurrentItem"/> is before the beginning or the collection is empty. 150/// When false, set <seealso cref="CollectionView.Filter"/> will throw an exception. 306/// Move <seealso cref="CollectionView.CurrentItem"/> to the item at the given index. 309/// <returns>true if <seealso cref="CollectionView.CurrentItem"/> points to an item within the view.</returns> 815CollectionView cv = cc.View as CollectionView;
MS\Internal\Data\IndexedEnumerable.cs (3)
290internal CollectionView CollectionView 486_collectionView = collection as CollectionView; 703private CollectionView _collectionView;
MS\Internal\Data\PropertyPathWorker.cs (1)
954else if (parent == CollectionView.NewItemPlaceholder ||
MS\Internal\Data\ViewManager.cs (13)
257CollectionView cv = vr.View as CollectionView; 537return CacheView(collection, cvs, (CollectionView)viewRecord.View, viewRecord); 607CollectionView cv = icv as CollectionView; 659CollectionView cv = vr.View as CollectionView; 692CollectionView cv = collection as CollectionView; 704cv = (CollectionView)vr.View; 733private ViewRecord CacheView(object collection, CollectionViewSource cvs, CollectionView cv, ViewRecord vr) 759cv = (CollectionView)vr.View; 835private void ValidateViewType(CollectionView cv, Type collectionViewType)
MS\Internal\Data\XmlBindingWorker.cs (1)
69CollectionView = DataItem as CollectionView;
System\Windows\Automation\Peers\DataGridCellItemAutomationPeer.cs (1)
841return (item == CollectionView.NewItemPlaceholder) || (item == DataGrid.NewItemPlaceholder);
System\Windows\Automation\Peers\DataGridItemAutomationPeer.cs (1)
572return (item == CollectionView.NewItemPlaceholder) || (item == DataGrid.NewItemPlaceholder);
System\Windows\Controls\DataGrid.cs (11)
830if (item == CollectionView.NewItemPlaceholder || 2144if (SelectedItems.Contains(CollectionView.NewItemPlaceholder)) 2147UnselectItem(NewItemInfo(CollectionView.NewItemPlaceholder)); 2245SelectItem(NewItemInfo(CollectionView.NewItemPlaceholder)); 2693if (itemToRemove != CollectionView.NewItemPlaceholder) 3692SetCurrentItem(CollectionView.NewItemPlaceholder); 3698SelectItem(NewItemInfo(CollectionView.NewItemPlaceholder)); 3811DataGridRow newItemPlaceholderRow = (DataGridRow)ItemContainerGenerator.ContainerFromItem(CollectionView.NewItemPlaceholder); 3860if (HasNewItemPlaceholder && SelectedItems.Contains(CollectionView.NewItemPlaceholder)) 3880return (item == CollectionView.NewItemPlaceholder) || (item == DataGrid.NewItemPlaceholder); 5622if (currentInfo.Item == CollectionView.NewItemPlaceholder)
System\Windows\Controls\DataGridRow.cs (3)
724var isRealItem = row.Item != CollectionView.NewItemPlaceholder; 752if (row.Item == CollectionView.NewItemPlaceholder && owningDataGrid != null) 768if (row.Item == CollectionView.NewItemPlaceholder)
System\Windows\Controls\ItemCollection.cs (5)
1557internal CollectionView CollectionView 1674void SetCollectionView(CollectionView view) 1798void HookCollectionView(CollectionView view) 1840void UnhookCollectionView(CollectionView view) 2467private CollectionView _collectionView; // delegate ICollectionView
System\Windows\Controls\ItemContainerGenerator.cs (1)
1962CollectionView cv = Host.View.CollectionView;
System\Windows\Controls\MultipleCopiesCollection.cs (1)
135if (value == CollectionView.NewItemPlaceholder)
System\Windows\Data\BindingGroup.cs (2)
825dataContextItem != CollectionView.NewItemPlaceholder && 1027mentor.GetValue(FrameworkElement.DataContextProperty) == CollectionView.NewItemPlaceholder)
System\Windows\Data\BindingListCollectionView.cs (3)
101/// Move <seealso cref="CollectionView.CurrentItem"/> to the item at the given index. 104/// <returns>true if <seealso cref="CollectionView.CurrentItem"/> points to an item within the view.</returns> 911if (item == CollectionView.NewItemPlaceholder)
System\Windows\Data\BindingOperations.cs (1)
500internal static void OnCollectionViewRegistering(CollectionView view)
System\Windows\Data\CollectionContainer.cs (8)
141CollectionView cv = View as CollectionView; 200CollectionView cv = View as CollectionView; 218CollectionView cv = View as CollectionView; 236CollectionView cv = _view as CollectionView;
System\Windows\Data\CollectionView.cs (6)
72if (this.GetType() == typeof(CollectionView)) 1638public PlaceholderAwareEnumerator(CollectionView collectionView, IEnumerator baseEnumerator, NewItemPlaceholderPosition placeholderPosition, object newItem) 1711return (_position == Position.OnPlaceholder) ? CollectionView.NewItemPlaceholder 1723CollectionView _collectionView; 2094public DeferHelper(CollectionView collectionView) 2110private CollectionView _collectionView;
System\Windows\Data\CollectionViewRegisteringEventArgs.cs (3)
17internal CollectionViewRegisteringEventArgs(CollectionView view) 22public CollectionView CollectionView 27CollectionView _view;
System\Windows\Data\CollectionViewSource.cs (6)
754internal CollectionView CollectionView 785return (CollectionView)view; 806static internal CollectionView GetDefaultCollectionView(object source, bool createView, Func<object, object> GetSourceItem=null) 814return (viewRecord != null) ? (CollectionView)viewRecord.View : null; 822internal static CollectionView GetDefaultCollectionView(object source, DependencyObject d, Func<object, object> GetSourceItem=null) 824CollectionView view = GetDefaultCollectionView(source, true, GetSourceItem);
System\Windows\Data\ListCollectionView.cs (7)
194/// Move <seealso cref="CollectionView.CurrentItem"/> to the item at the given index. 197/// <returns>true if <seealso cref="CollectionView.CurrentItem"/> points to an item within the view.</returns> 457/// an explicit <seealso cref="CollectionView.Refresh"/> call by the app is required. 458/// Note: Setting the custom comparer object will clear previously set <seealso cref="CollectionView.SortDescriptions"/>. 1090if (item == CollectionView.NewItemPlaceholder) 2449internal static IComparer PrepareComparer(IComparer customSort, SortDescriptionCollection sort, Func<object, CollectionView> lazyGetCollectionView, object state) 2458CollectionView view = lazyGetCollectionView(state);
System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
175case 79: t = () => typeof(CollectionView); break;
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
2607typeof(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)
1120internal CollectionView CollectionView 1126internal CollectionView SourceCollectionView 1224internal static CollectionView GetSourceCollectionView(ItemsControl itemsControl) 1230CollectionView cv = null; 1237cv = cvs.View as CollectionView; 1523private void MoveCurrentTo(CollectionView cv, object item) 1531private void MoveCurrentToPosition(CollectionView cv, int position)
Microsoft\Windows\Controls\Ribbon\RibbonGalleryCategory.cs (1)
476internal CollectionView CollectionView