3 instantiations of CollectionViewSource
PresentationFramework (3)
src\Framework\System\Windows\Data\CollectionViewSource.cs (1)
1290internal static readonly CollectionViewSource DefaultSource = new CollectionViewSource();
src\Framework\System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
2616bamlType.DefaultConstructor = delegate() { return new System.Windows.Data.CollectionViewSource(); };
src\Framework\System\Windows\Markup\KnownTypes.cs (1)
1167case KnownElements.CollectionViewSource: o = new System.Windows.Data.CollectionViewSource(); break;
68 references to CollectionViewSource
PresentationFramework (61)
src\Framework\MS\Internal\Data\ClrBindingWorker.cs (1)
84targetDP == CollectionViewSource.SourceProperty)
src\Framework\MS\Internal\Data\DataBindEngine.cs (1)
346internal ViewRecord GetViewRecord(object collection, CollectionViewSource key, Type collectionViewType, bool createView, Func<object, object> GetSourceItem)
src\Framework\MS\Internal\Data\PropertyPathWorker.cs (1)
796view = CollectionViewSource.GetDefaultCollectionView(parent, TreeContext,
src\Framework\MS\Internal\Data\ViewManager.cs (4)
237internal ViewRecord this[CollectionViewSource cvs] 502internal ViewRecord GetViewRecord(object collection, CollectionViewSource cvs, Type collectionViewType, bool createView, Func<object, object> GetSourceItem) 692private ViewRecord GetExistingView(object collection, CollectionViewSource cvs, Type collectionViewType, Func<object, object> GetSourceItem) 736private ViewRecord CacheView(object collection, CollectionViewSource cvs, CollectionView cv, ViewRecord vr)
src\Framework\MS\Internal\Data\XmlBindingWorker.cs (1)
76CollectionView = CollectionViewSource.GetDefaultCollectionView(DataItem, TargetElement);
src\Framework\System\Windows\Controls\ItemCollection.cs (1)
1531SetCollectionView(CollectionViewSource.GetDefaultCollectionView(_itemsSource, ModelParent, GetSourceItem));
src\Framework\System\Windows\Controls\Primitives\Selector.cs (1)
305!CollectionViewSource.IsDefaultView(Items.CollectionView);
src\Framework\System\Windows\Data\BindingExpression.cs (14)
239else if (dp == CollectionViewSource.ViewProperty && d == CollectionViewSource) 323internal CollectionViewSource CollectionViewSource 328return (wr == null) ? null : (CollectionViewSource)wr.Target; 711CollectionViewSource cvs; 716(cvs = target as CollectionViewSource) != null && 961CollectionViewSource cvs = item as CollectionViewSource; 1207CollectionViewSource cvs = CollectionViewSource; 1228(wr != null) ? new WeakDependencySource(wr, CollectionViewSource.ViewProperty) 1229: new WeakDependencySource(cvs, CollectionViewSource.ViewProperty); 2279CollectionViewSource cvs; 2282if ((cvs = item as CollectionViewSource) != null) 2654if (dp == CollectionViewSource.ViewProperty) 2656CollectionViewSource cvs = this.CollectionViewSource;
src\Framework\System\Windows\Data\CollectionContainer.cs (1)
372_view = CollectionViewSource.GetDefaultCollectionView(newCollection, this);
src\Framework\System\Windows\Data\CollectionViewSource.cs (29)
64typeof(CollectionViewSource), 99typeof(CollectionViewSource), 121CollectionViewSource ctrl = (CollectionViewSource) d; 162typeof(CollectionViewSource), 182CollectionViewSource ctrl = (CollectionViewSource) d; 248typeof(CollectionViewSource), 280typeof(CollectionViewSource), 301CollectionViewSource cvs = (CollectionViewSource)d; 312typeof(CollectionViewSource), 371typeof(CollectionViewSource), 403typeof(CollectionViewSource), 424CollectionViewSource cvs = (CollectionViewSource)d; 435typeof(CollectionViewSource), 492typeof(CollectionViewSource), 524typeof(CollectionViewSource), 545CollectionViewSource cvs = (CollectionViewSource)d; 556typeof(CollectionViewSource), 1205public DeferHelper(CollectionViewSource target) 1215CollectionViewSource target = _target; 1222private CollectionViewSource _target; 1232public FilterStub(CollectionViewSource parent) 1245CollectionViewSource parent = (CollectionViewSource)_parent.Target; 1290internal static readonly CollectionViewSource DefaultSource = new CollectionViewSource();
src\Framework\System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
172case 80: t = () => typeof(CollectionViewSource); break;
src\Framework\System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
2614typeof(System.Windows.Data.CollectionViewSource),
src\Framework\System\Windows\Markup\KnownTypes.cs (1)
5624case KnownElements.CollectionViewSource: t = typeof(System.Windows.Data.CollectionViewSource); break;
src\Framework\System\Windows\TemplateContent.cs (4)
1168else if (value is CollectionViewSource) 1170CollectionViewSource viewSource = value as CollectionViewSource; 1247typeof(System.Windows.Data.CollectionViewSource).IsAssignableFrom(type)
System.Activities.Presentation (7)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Editors\SubPropertyEditor.cs (1)
82_quickTypeView = CollectionViewSource.GetDefaultView(_quickTypeCollection);
System.Activities.Presentation\System\Activities\Presentation\View\DataGridHelper.cs (3)
407ICollectionView items = CollectionViewSource.GetDefaultView(this.dataGrid.ItemsSource); 732ICollectionView view = CollectionViewSource.GetDefaultView(this.dataGrid.ItemsSource); 783ICollectionView view = CollectionViewSource.GetDefaultView(this.dataGrid.ItemsSource);
System.Activities.Presentation\System\Activities\Presentation\View\ImportDesigner.xaml.cs (3)
389CollectionViewSource.GetDefaultView(this.inputComboBox.ItemsSource).Refresh(); 394foreach (object item in CollectionViewSource.GetDefaultView(this.inputComboBox.ItemsSource)) 595CollectionViewSource.GetDefaultView(this.inputComboBox.ItemsSource).Refresh();