7 types derived from CollectionView
PresentationFramework (7)
src\Framework\MS\Internal\Controls\InnerItemCollectionView.cs (1)
26internal sealed class InnerItemCollectionView : CollectionView, IList
src\Framework\MS\Internal\Data\CollectionViewProxy.cs (1)
31internal class CollectionViewProxy : CollectionView, IEditableCollectionViewAddNewItem, ICollectionViewLiveShaping, IItemProperties
src\Framework\MS\Internal\Data\CompositeCollectionView.cs (1)
41internal sealed class CompositeCollectionView : CollectionView
src\Framework\MS\Internal\Data\EnumerableCollectionView.cs (1)
28internal class EnumerableCollectionView : CollectionView, IItemProperties
src\Framework\System\Windows\Controls\ItemCollection.cs (1)
61public sealed class ItemCollection : CollectionView, IList, IEditableCollectionViewAddNewItem, ICollectionViewLiveShaping, IItemProperties, IWeakEventListener
src\Framework\System\Windows\Data\BindingListCollectionView.cs (1)
36public sealed class BindingListCollectionView : CollectionView, IComparer, IEditableCollectionView, ICollectionViewLiveShaping, IItemProperties
src\Framework\System\Windows\Data\ListCollectionView.cs (1)
39public class ListCollectionView : CollectionView, IComparer, IEditableCollectionViewAddNewItem, ICollectionViewLiveShaping, IItemProperties
1 instantiation of CollectionView
System.Activities.Presentation (1)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\FromExpression\Framework\ValueEditors\ChoiceEditor.cs (1)
483this.collectionView = new CollectionView(this.ItemsSource);
103 references to CollectionView
PresentationFramework (96)
src\Framework\MS\Internal\Controls\InnerItemCollectionView.cs (6)
442/// Move <seealso cref="CollectionView.CurrentItem"/> to the given item. 446/// <returns>true if <seealso cref="CollectionView.CurrentItem"/> points to an item within the view.</returns> 461/// Move <seealso cref="CollectionView.CurrentItem"/> to the item at the given index. 464/// <returns>true if <seealso cref="CollectionView.CurrentItem"/> points to an item within the view.</returns> 502/// Re-create the view, using any <seealso cref="CollectionView.SortDescriptions"/> and/or <seealso cref="CollectionView.Filter"/>.
src\Framework\MS\Internal\Data\CollectionViewGroupRoot.cs (3)
33internal CollectionViewGroupRoot(CollectionView view) : base("Root", null) 113internal CollectionView View 817CollectionView _view;
src\Framework\MS\Internal\Data\CompositeCollectionView.cs (7)
130/// Return true if <seealso cref="CollectionView.CurrentItem"/> is beyond the end or the collection is empty. 143/// Return true if <seealso cref="CollectionView.CurrentItem"/> is before the beginning or the collection is empty. 157/// When false, set <seealso cref="CollectionView.Filter"/> will throw an exception. 315/// Move <seealso cref="CollectionView.CurrentItem"/> to the item at the given index. 318/// <returns>true if <seealso cref="CollectionView.CurrentItem"/> points to an item within the view.</returns> 832CollectionView cv = cc.View as CollectionView;
src\Framework\MS\Internal\Data\IndexedEnumerable.cs (3)
299internal CollectionView CollectionView 495_collectionView = collection as CollectionView; 712private CollectionView _collectionView;
src\Framework\MS\Internal\Data\PropertyPathWorker.cs (1)
951else if (parent == CollectionView.NewItemPlaceholder ||
src\Framework\MS\Internal\Data\ViewManager.cs (13)
259CollectionView cv = vr.View as CollectionView; 540return CacheView(collection, cvs, (CollectionView)viewRecord.View, viewRecord); 610CollectionView cv = icv as CollectionView; 662CollectionView cv = vr.View as CollectionView; 695CollectionView cv = collection as CollectionView; 707cv = (CollectionView)vr.View; 736private ViewRecord CacheView(object collection, CollectionViewSource cvs, CollectionView cv, ViewRecord vr) 761cv = (CollectionView)vr.View; 837private void ValidateViewType(CollectionView cv, Type collectionViewType)
src\Framework\MS\Internal\Data\XmlBindingWorker.cs (1)
72CollectionView = DataItem as CollectionView;
src\Framework\System\Windows\Automation\Peers\DataGridCellItemAutomationPeer.cs (1)
815return (item == CollectionView.NewItemPlaceholder) || (item == DataGrid.NewItemPlaceholder);
src\Framework\System\Windows\Automation\Peers\DataGridItemAutomationPeer.cs (1)
582return (item == CollectionView.NewItemPlaceholder) || (item == DataGrid.NewItemPlaceholder);
src\Framework\System\Windows\Controls\DataGrid.cs (11)
831if (item == CollectionView.NewItemPlaceholder || 2148if (SelectedItems.Contains(CollectionView.NewItemPlaceholder)) 2151UnselectItem(NewItemInfo(CollectionView.NewItemPlaceholder)); 2249SelectItem(NewItemInfo(CollectionView.NewItemPlaceholder)); 2698if (itemToRemove != CollectionView.NewItemPlaceholder) 3697SetCurrentItem(CollectionView.NewItemPlaceholder); 3703SelectItem(NewItemInfo(CollectionView.NewItemPlaceholder)); 3816DataGridRow newItemPlaceholderRow = (DataGridRow)ItemContainerGenerator.ContainerFromItem(CollectionView.NewItemPlaceholder); 3865if (HasNewItemPlaceholder && SelectedItems.Contains(CollectionView.NewItemPlaceholder)) 3885return (item == CollectionView.NewItemPlaceholder) || (item == DataGrid.NewItemPlaceholder); 5627if (currentInfo.Item == CollectionView.NewItemPlaceholder)
src\Framework\System\Windows\Controls\DataGridRow.cs (3)
725var isRealItem = row.Item != CollectionView.NewItemPlaceholder; 753if (row.Item == CollectionView.NewItemPlaceholder && owningDataGrid != null) 769if (row.Item == CollectionView.NewItemPlaceholder)
src\Framework\System\Windows\Controls\ItemCollection.cs (5)
1568internal CollectionView CollectionView 1685void SetCollectionView(CollectionView view) 1809void HookCollectionView(CollectionView view) 1851void UnhookCollectionView(CollectionView view) 2475private CollectionView _collectionView; // delegate ICollectionView
src\Framework\System\Windows\Controls\ItemContainerGenerator.cs (1)
1970CollectionView cv = Host.View.CollectionView;
src\Framework\System\Windows\Controls\MultipleCopiesCollection.cs (1)
136if (value == CollectionView.NewItemPlaceholder)
src\Framework\System\Windows\Data\BindingGroup.cs (2)
827dataContextItem != CollectionView.NewItemPlaceholder && 1029mentor.GetValue(FrameworkElement.DataContextProperty) == CollectionView.NewItemPlaceholder)
src\Framework\System\Windows\Data\BindingListCollectionView.cs (3)
108/// Move <seealso cref="CollectionView.CurrentItem"/> to the item at the given index. 111/// <returns>true if <seealso cref="CollectionView.CurrentItem"/> points to an item within the view.</returns> 918if (item == CollectionView.NewItemPlaceholder)
src\Framework\System\Windows\Data\BindingOperations.cs (1)
516internal static void OnCollectionViewRegistering(CollectionView view)
src\Framework\System\Windows\Data\CollectionContainer.cs (8)
148CollectionView cv = View as CollectionView; 207CollectionView cv = View as CollectionView; 225CollectionView cv = View as CollectionView; 243CollectionView cv = _view as CollectionView;
src\Framework\System\Windows\Data\CollectionView.cs (6)
79if (this.GetType() == typeof(CollectionView)) 1649public PlaceholderAwareEnumerator(CollectionView collectionView, IEnumerator baseEnumerator, NewItemPlaceholderPosition placeholderPosition, object newItem) 1722return (_position == Position.OnPlaceholder) ? CollectionView.NewItemPlaceholder 1734CollectionView _collectionView; 2107public DeferHelper(CollectionView collectionView) 2123private CollectionView _collectionView;
src\Framework\System\Windows\Data\CollectionViewRegisteringEventArgs.cs (3)
19internal CollectionViewRegisteringEventArgs(CollectionView view) 24public CollectionView CollectionView 29CollectionView _view;
src\Framework\System\Windows\Data\CollectionViewSource.cs (6)
756internal CollectionView CollectionView 787return (CollectionView)view; 808static internal CollectionView GetDefaultCollectionView(object source, bool createView, Func<object, object> GetSourceItem=null) 816return (viewRecord != null) ? (CollectionView)viewRecord.View : null; 824internal static CollectionView GetDefaultCollectionView(object source, DependencyObject d, Func<object, object> GetSourceItem=null) 826CollectionView view = GetDefaultCollectionView(source, true, GetSourceItem);
src\Framework\System\Windows\Data\ListCollectionView.cs (7)
202/// Move <seealso cref="CollectionView.CurrentItem"/> to the item at the given index. 205/// <returns>true if <seealso cref="CollectionView.CurrentItem"/> points to an item within the view.</returns> 465/// an explicit <seealso cref="CollectionView.Refresh"/> call by the app is required. 466/// Note: Setting the custom comparer object will clear previously set <seealso cref="CollectionView.SortDescriptions"/>. 1098if (item == CollectionView.NewItemPlaceholder) 2461internal static IComparer PrepareComparer(IComparer customSort, SortDescriptionCollection sort, Func<CollectionView> lazyGetCollectionView) 2470CollectionView view = lazyGetCollectionView();
src\Framework\System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
171case 79: t = () => typeof(CollectionView); break;
src\Framework\System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
2603typeof(System.Windows.Data.CollectionView),
src\Framework\System\Windows\Markup\KnownTypes.cs (1)
5623case KnownElements.CollectionView: t = typeof(System.Windows.Data.CollectionView); break;
System.Activities.Core.Presentation (1)
System\Activities\Presentation\DynamicArgumentDesigner.xaml.cs (1)
640if (e.Row.Item != CollectionView.NewItemPlaceholder)
System.Activities.Presentation (6)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\FromExpression\Framework\ValueEditors\ChoiceEditor.cs (2)
108private CollectionView collectionView = null; 475private CollectionView CollectionView
System.Activities.Presentation\System\Activities\Presentation\ContextMenuUtilities.cs (1)
89if (dataGrid.SelectedItems.Count == 1 && dataGrid.SelectedItems[0] == CollectionView.NewItemPlaceholder)
System.Activities.Presentation\System\Activities\Presentation\View\DataGridHelper.cs (3)
213if (items[index] == CollectionView.NewItemPlaceholder) 452if (e.Row.Item == CollectionView.NewItemPlaceholder) 1023if (dataGrid.SelectedItems[0] == CollectionView.NewItemPlaceholder)