7 types derived from CollectionView
PresentationFramework (7)
src\Framework\MS\Internal\Controls\InnerItemCollectionView.cs (1)
26
internal sealed class InnerItemCollectionView :
CollectionView
, IList
src\Framework\MS\Internal\Data\CollectionViewProxy.cs (1)
31
internal class CollectionViewProxy :
CollectionView
, IEditableCollectionViewAddNewItem, ICollectionViewLiveShaping, IItemProperties
src\Framework\MS\Internal\Data\CompositeCollectionView.cs (1)
41
internal sealed class CompositeCollectionView :
CollectionView
src\Framework\MS\Internal\Data\EnumerableCollectionView.cs (1)
28
internal class EnumerableCollectionView :
CollectionView
, IItemProperties
src\Framework\System\Windows\Controls\ItemCollection.cs (1)
61
public sealed class ItemCollection :
CollectionView
, IList, IEditableCollectionViewAddNewItem, ICollectionViewLiveShaping, IItemProperties, IWeakEventListener
src\Framework\System\Windows\Data\BindingListCollectionView.cs (1)
36
public sealed class BindingListCollectionView :
CollectionView
, IComparer, IEditableCollectionView, ICollectionViewLiveShaping, IItemProperties
src\Framework\System\Windows\Data\ListCollectionView.cs (1)
39
public 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)
483
this.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)
33
internal CollectionViewGroupRoot(
CollectionView
view) : base("Root", null)
113
internal
CollectionView
View
817
CollectionView
_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>
832
CollectionView
cv = cc.View as
CollectionView
;
src\Framework\MS\Internal\Data\IndexedEnumerable.cs (3)
299
internal
CollectionView
CollectionView
495
_collectionView = collection as
CollectionView
;
712
private
CollectionView
_collectionView;
src\Framework\MS\Internal\Data\PropertyPathWorker.cs (1)
951
else if (parent ==
CollectionView
.NewItemPlaceholder ||
src\Framework\MS\Internal\Data\ViewManager.cs (13)
259
CollectionView
cv = vr.View as
CollectionView
;
540
return CacheView(collection, cvs, (
CollectionView
)viewRecord.View, viewRecord);
610
CollectionView
cv = icv as
CollectionView
;
662
CollectionView
cv = vr.View as
CollectionView
;
695
CollectionView
cv = collection as
CollectionView
;
707
cv = (
CollectionView
)vr.View;
736
private ViewRecord CacheView(object collection, CollectionViewSource cvs,
CollectionView
cv, ViewRecord vr)
761
cv = (
CollectionView
)vr.View;
837
private void ValidateViewType(
CollectionView
cv, Type collectionViewType)
src\Framework\MS\Internal\Data\XmlBindingWorker.cs (1)
72
CollectionView = DataItem as
CollectionView
;
src\Framework\System\Windows\Automation\Peers\DataGridCellItemAutomationPeer.cs (1)
815
return (item ==
CollectionView
.NewItemPlaceholder) || (item == DataGrid.NewItemPlaceholder);
src\Framework\System\Windows\Automation\Peers\DataGridItemAutomationPeer.cs (1)
582
return (item ==
CollectionView
.NewItemPlaceholder) || (item == DataGrid.NewItemPlaceholder);
src\Framework\System\Windows\Controls\DataGrid.cs (11)
831
if (item ==
CollectionView
.NewItemPlaceholder ||
2148
if (SelectedItems.Contains(
CollectionView
.NewItemPlaceholder))
2151
UnselectItem(NewItemInfo(
CollectionView
.NewItemPlaceholder));
2249
SelectItem(NewItemInfo(
CollectionView
.NewItemPlaceholder));
2698
if (itemToRemove !=
CollectionView
.NewItemPlaceholder)
3697
SetCurrentItem(
CollectionView
.NewItemPlaceholder);
3703
SelectItem(NewItemInfo(
CollectionView
.NewItemPlaceholder));
3816
DataGridRow newItemPlaceholderRow = (DataGridRow)ItemContainerGenerator.ContainerFromItem(
CollectionView
.NewItemPlaceholder);
3865
if (HasNewItemPlaceholder && SelectedItems.Contains(
CollectionView
.NewItemPlaceholder))
3885
return (item ==
CollectionView
.NewItemPlaceholder) || (item == DataGrid.NewItemPlaceholder);
5627
if (currentInfo.Item ==
CollectionView
.NewItemPlaceholder)
src\Framework\System\Windows\Controls\DataGridRow.cs (3)
725
var isRealItem = row.Item !=
CollectionView
.NewItemPlaceholder;
753
if (row.Item ==
CollectionView
.NewItemPlaceholder && owningDataGrid != null)
769
if (row.Item ==
CollectionView
.NewItemPlaceholder)
src\Framework\System\Windows\Controls\ItemCollection.cs (5)
1568
internal
CollectionView
CollectionView
1685
void SetCollectionView(
CollectionView
view)
1809
void HookCollectionView(
CollectionView
view)
1851
void UnhookCollectionView(
CollectionView
view)
2475
private
CollectionView
_collectionView; // delegate ICollectionView
src\Framework\System\Windows\Controls\ItemContainerGenerator.cs (1)
1970
CollectionView
cv = Host.View.CollectionView;
src\Framework\System\Windows\Controls\MultipleCopiesCollection.cs (1)
136
if (value ==
CollectionView
.NewItemPlaceholder)
src\Framework\System\Windows\Data\BindingGroup.cs (2)
827
dataContextItem !=
CollectionView
.NewItemPlaceholder &&
1029
mentor.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>
918
if (item ==
CollectionView
.NewItemPlaceholder)
src\Framework\System\Windows\Data\BindingOperations.cs (1)
516
internal static void OnCollectionViewRegistering(
CollectionView
view)
src\Framework\System\Windows\Data\CollectionContainer.cs (8)
148
CollectionView
cv = View as
CollectionView
;
207
CollectionView
cv = View as
CollectionView
;
225
CollectionView
cv = View as
CollectionView
;
243
CollectionView
cv = _view as
CollectionView
;
src\Framework\System\Windows\Data\CollectionView.cs (6)
79
if (this.GetType() == typeof(
CollectionView
))
1649
public PlaceholderAwareEnumerator(
CollectionView
collectionView, IEnumerator baseEnumerator, NewItemPlaceholderPosition placeholderPosition, object newItem)
1722
return (_position == Position.OnPlaceholder) ?
CollectionView
.NewItemPlaceholder
1734
CollectionView
_collectionView;
2107
public DeferHelper(
CollectionView
collectionView)
2123
private
CollectionView
_collectionView;
src\Framework\System\Windows\Data\CollectionViewRegisteringEventArgs.cs (3)
19
internal CollectionViewRegisteringEventArgs(
CollectionView
view)
24
public
CollectionView
CollectionView
29
CollectionView
_view;
src\Framework\System\Windows\Data\CollectionViewSource.cs (6)
756
internal
CollectionView
CollectionView
787
return (
CollectionView
)view;
808
static internal
CollectionView
GetDefaultCollectionView(object source, bool createView, Func<object, object> GetSourceItem=null)
816
return (viewRecord != null) ? (
CollectionView
)viewRecord.View : null;
824
internal static
CollectionView
GetDefaultCollectionView(object source, DependencyObject d, Func<object, object> GetSourceItem=null)
826
CollectionView
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"/>.
1098
if (item ==
CollectionView
.NewItemPlaceholder)
2461
internal static IComparer PrepareComparer(IComparer customSort, SortDescriptionCollection sort, Func<
CollectionView
> lazyGetCollectionView)
2470
CollectionView
view = lazyGetCollectionView();
src\Framework\System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
171
case 79: t = () => typeof(
CollectionView
); break;
src\Framework\System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
2603
typeof(System.Windows.Data.
CollectionView
),
src\Framework\System\Windows\Markup\KnownTypes.cs (1)
5623
case KnownElements.CollectionView: t = typeof(System.Windows.Data.
CollectionView
); break;
System.Activities.Core.Presentation (1)
System\Activities\Presentation\DynamicArgumentDesigner.xaml.cs (1)
640
if (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)
108
private
CollectionView
collectionView = null;
475
private
CollectionView
CollectionView
System.Activities.Presentation\System\Activities\Presentation\ContextMenuUtilities.cs (1)
89
if (dataGrid.SelectedItems.Count == 1 && dataGrid.SelectedItems[0] ==
CollectionView
.NewItemPlaceholder)
System.Activities.Presentation\System\Activities\Presentation\View\DataGridHelper.cs (3)
213
if (items[index] ==
CollectionView
.NewItemPlaceholder)
452
if (e.Row.Item ==
CollectionView
.NewItemPlaceholder)
1023
if (dataGrid.SelectedItems[0] ==
CollectionView
.NewItemPlaceholder)