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