3 instantiations of CollectionViewSource
PresentationFramework (3)
System\Windows\Data\CollectionViewSource.cs (1)
1287internal static readonly CollectionViewSource DefaultSource = new CollectionViewSource();
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
2618bamlType.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)
224var collectionView = ((CollectionViewSource)FindResource("DocumentSymbolItems")).View;
Microsoft.VisualStudio.LanguageServices.CSharp (1)
Options\Formatting\StyleViewModel.cs (1)
2194var 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)
73targetDP == CollectionViewSource.SourceProperty)
MS\Internal\Data\DataBindEngine.cs (1)
330internal ViewRecord GetViewRecord(object collection, CollectionViewSource key, Type collectionViewType, bool createView, Func<object, object> GetSourceItem)
MS\Internal\Data\PropertyPathWorker.cs (1)
791view = CollectionViewSource.GetDefaultCollectionView(parent, TreeContext,
MS\Internal\Data\ViewManager.cs (4)
233internal ViewRecord this[CollectionViewSource cvs] 497internal ViewRecord GetViewRecord(object collection, CollectionViewSource cvs, Type collectionViewType, bool createView, Func<object, object> GetSourceItem) 687private ViewRecord GetExistingView(object collection, CollectionViewSource cvs, Type collectionViewType, Func<object, object> GetSourceItem) 731private ViewRecord CacheView(object collection, CollectionViewSource cvs, CollectionView cv, ViewRecord vr)
MS\Internal\Data\XmlBindingWorker.cs (1)
67CollectionView = CollectionViewSource.GetDefaultCollectionView(DataItem, TargetElement);
System\Windows\Controls\ItemCollection.cs (1)
1511SetCollectionView(CollectionViewSource.GetDefaultCollectionView(_itemsSource, ModelParent, GetSourceItem));
System\Windows\Controls\Primitives\Selector.cs (1)
286!CollectionViewSource.IsDefaultView(Items.CollectionView);
System\Windows\Data\BindingExpression.cs (14)
225else if (dp == CollectionViewSource.ViewProperty && d == CollectionViewSource) 309internal CollectionViewSource CollectionViewSource 314return (wr == null) ? null : (CollectionViewSource)wr.Target; 703CollectionViewSource cvs; 708(cvs = target as CollectionViewSource) != null && 955CollectionViewSource cvs = item as CollectionViewSource; 1205CollectionViewSource cvs = CollectionViewSource; 1226(wr != null) ? new WeakDependencySource(wr, CollectionViewSource.ViewProperty) 1227: new WeakDependencySource(cvs, CollectionViewSource.ViewProperty); 2290CollectionViewSource cvs; 2293if ((cvs = item as CollectionViewSource) != null) 2670if (dp == CollectionViewSource.ViewProperty) 2672CollectionViewSource cvs = this.CollectionViewSource;
System\Windows\Data\CollectionContainer.cs (1)
357_view = CollectionViewSource.GetDefaultCollectionView(newCollection, this);
System\Windows\Data\CollectionViewSource.cs (29)
61typeof(CollectionViewSource), 96typeof(CollectionViewSource), 118CollectionViewSource ctrl = (CollectionViewSource) d; 159typeof(CollectionViewSource), 179CollectionViewSource ctrl = (CollectionViewSource) d; 245typeof(CollectionViewSource), 277typeof(CollectionViewSource), 298CollectionViewSource cvs = (CollectionViewSource)d; 309typeof(CollectionViewSource), 368typeof(CollectionViewSource), 400typeof(CollectionViewSource), 421CollectionViewSource cvs = (CollectionViewSource)d; 432typeof(CollectionViewSource), 489typeof(CollectionViewSource), 521typeof(CollectionViewSource), 542CollectionViewSource cvs = (CollectionViewSource)d; 553typeof(CollectionViewSource), 1202public DeferHelper(CollectionViewSource target) 1212CollectionViewSource target = _target; 1219private CollectionViewSource _target; 1229public FilterStub(CollectionViewSource parent) 1242CollectionViewSource parent = (CollectionViewSource)_parent.Target; 1287internal static readonly CollectionViewSource DefaultSource = new CollectionViewSource();
System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
174case 80: t = () => typeof(CollectionViewSource); break;
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
2616typeof(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)
1100else if (value is CollectionViewSource) 1102CollectionViewSource viewSource = value as CollectionViewSource; 1179typeof(System.Windows.Data.CollectionViewSource).IsAssignableFrom(type)
System.Windows.Controls.Ribbon (2)
Microsoft\Windows\Controls\Ribbon\RibbonGallery.cs (2)
1227CollectionViewSource cvs = null; 1232cvs = binding.Source as CollectionViewSource;