3 instantiations of CollectionViewSource
PresentationFramework (3)
System\Windows\Data\CollectionViewSource.cs (1)
1288internal static readonly CollectionViewSource DefaultSource = new CollectionViewSource();
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
2620bamlType.DefaultConstructor = delegate() { return new System.Windows.Data.CollectionViewSource(); };
System\Windows\Markup\KnownTypes.cs (1)
1166case KnownElements.CollectionViewSource: o = new System.Windows.Data.CollectionViewSource(); break;
66 references to CollectionViewSource
Microsoft.VisualStudio.LanguageServices (1)
DocumentOutline\DocumentOutlineView.xaml.cs (1)
223var collectionView = ((CollectionViewSource)FindResource("DocumentSymbolItems")).View;
Microsoft.VisualStudio.LanguageServices.CSharp (1)
Options\Formatting\StyleViewModel.cs (1)
2192var collectionView = (ListCollectionView)CollectionViewSource.GetDefaultView(CodeStyleItems);
Microsoft.VisualStudio.LanguageServices.VisualBasic (1)
Options\StyleViewModel.vb (1)
795Dim collectionView = DirectCast(CollectionViewSource.GetDefaultView(CodeStyleItems), ListCollectionView)
PresentationFramework (61)
MS\Internal\Data\ClrBindingWorker.cs (1)
82targetDP == CollectionViewSource.SourceProperty)
MS\Internal\Data\DataBindEngine.cs (1)
338internal ViewRecord GetViewRecord(object collection, CollectionViewSource key, Type collectionViewType, bool createView, Func<object, object> GetSourceItem)
MS\Internal\Data\PropertyPathWorker.cs (1)
797view = CollectionViewSource.GetDefaultCollectionView(parent, TreeContext,
MS\Internal\Data\ViewManager.cs (4)
235internal ViewRecord this[CollectionViewSource cvs] 499internal ViewRecord GetViewRecord(object collection, CollectionViewSource cvs, Type collectionViewType, bool createView, Func<object, object> GetSourceItem) 689private ViewRecord GetExistingView(object collection, CollectionViewSource cvs, Type collectionViewType, Func<object, object> GetSourceItem) 733private ViewRecord CacheView(object collection, CollectionViewSource cvs, CollectionView cv, ViewRecord vr)
MS\Internal\Data\XmlBindingWorker.cs (1)
73CollectionView = CollectionViewSource.GetDefaultCollectionView(DataItem, TargetElement);
System\Windows\Controls\ItemCollection.cs (1)
1520SetCollectionView(CollectionViewSource.GetDefaultCollectionView(_itemsSource, ModelParent, GetSourceItem));
System\Windows\Controls\Primitives\Selector.cs (1)
295!CollectionViewSource.IsDefaultView(Items.CollectionView);
System\Windows\Data\BindingExpression.cs (14)
234else if (dp == CollectionViewSource.ViewProperty && d == CollectionViewSource) 318internal CollectionViewSource CollectionViewSource 323return (wr == null) ? null : (CollectionViewSource)wr.Target; 712CollectionViewSource cvs; 717(cvs = target as CollectionViewSource) != null && 964CollectionViewSource cvs = item as CollectionViewSource; 1214CollectionViewSource cvs = CollectionViewSource; 1235(wr != null) ? new WeakDependencySource(wr, CollectionViewSource.ViewProperty) 1236: new WeakDependencySource(cvs, CollectionViewSource.ViewProperty); 2299CollectionViewSource cvs; 2302if ((cvs = item as CollectionViewSource) != null) 2679if (dp == CollectionViewSource.ViewProperty) 2681CollectionViewSource cvs = this.CollectionViewSource;
System\Windows\Data\CollectionContainer.cs (1)
365_view = CollectionViewSource.GetDefaultCollectionView(newCollection, this);
System\Windows\Data\CollectionViewSource.cs (29)
62typeof(CollectionViewSource), 97typeof(CollectionViewSource), 119CollectionViewSource ctrl = (CollectionViewSource) d; 160typeof(CollectionViewSource), 180CollectionViewSource ctrl = (CollectionViewSource) d; 246typeof(CollectionViewSource), 278typeof(CollectionViewSource), 299CollectionViewSource cvs = (CollectionViewSource)d; 310typeof(CollectionViewSource), 369typeof(CollectionViewSource), 401typeof(CollectionViewSource), 422CollectionViewSource cvs = (CollectionViewSource)d; 433typeof(CollectionViewSource), 490typeof(CollectionViewSource), 522typeof(CollectionViewSource), 543CollectionViewSource cvs = (CollectionViewSource)d; 554typeof(CollectionViewSource), 1203public DeferHelper(CollectionViewSource target) 1213CollectionViewSource target = _target; 1220private CollectionViewSource _target; 1230public FilterStub(CollectionViewSource parent) 1243CollectionViewSource parent = (CollectionViewSource)_parent.Target; 1288internal static readonly CollectionViewSource DefaultSource = new CollectionViewSource();
System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
176case 80: t = () => typeof(CollectionViewSource); break;
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
2618typeof(System.Windows.Data.CollectionViewSource),
System\Windows\Markup\KnownTypes.cs (1)
5634case KnownElements.CollectionViewSource: t = typeof(System.Windows.Data.CollectionViewSource); break;
System\Windows\TemplateContent.cs (4)
1103else if (value is CollectionViewSource) 1105CollectionViewSource viewSource = value as CollectionViewSource; 1182typeof(System.Windows.Data.CollectionViewSource).IsAssignableFrom(type)
System.Windows.Controls.Ribbon (2)
Microsoft\Windows\Controls\Ribbon\RibbonGallery.cs (2)
1229CollectionViewSource cvs = null; 1234cvs = binding.Source as CollectionViewSource;