7 types derived from CollectionView
PresentationFramework (7)
MS\Internal\Controls\InnerItemCollectionView.cs (1)
24
internal sealed class InnerItemCollectionView :
CollectionView
, IList
MS\Internal\Data\CollectionViewProxy.cs (1)
28
internal class CollectionViewProxy :
CollectionView
, IEditableCollectionViewAddNewItem, ICollectionViewLiveShaping, IItemProperties
MS\Internal\Data\CompositeCollectionView.cs (1)
34
internal sealed class CompositeCollectionView :
CollectionView
MS\Internal\Data\EnumerableCollectionView.cs (1)
25
internal class EnumerableCollectionView :
CollectionView
, IItemProperties
System\Windows\Controls\ItemCollection.cs (1)
54
public sealed class ItemCollection :
CollectionView
, IList, IEditableCollectionViewAddNewItem, ICollectionViewLiveShaping, IItemProperties, IWeakEventListener
System\Windows\Data\BindingListCollectionView.cs (1)
29
public sealed class BindingListCollectionView :
CollectionView
, IComparer, IEditableCollectionView, ICollectionViewLiveShaping, IItemProperties
System\Windows\Data\ListCollectionView.cs (1)
32
public class ListCollectionView :
CollectionView
, IComparer, IEditableCollectionViewAddNewItem, ICollectionViewLiveShaping, IItemProperties
104 references to CollectionView
PresentationFramework (96)
MS\Internal\Controls\InnerItemCollectionView.cs (6)
440
/// Move <seealso cref="
CollectionView
.CurrentItem"/> to the given item.
444
/// <returns>true if <seealso cref="
CollectionView
.CurrentItem"/> points to an item within the view.</returns>
459
/// Move <seealso cref="
CollectionView
.CurrentItem"/> to the item at the given index.
462
/// <returns>true if <seealso cref="
CollectionView
.CurrentItem"/> points to an item within the view.</returns>
500
/// Re-create the view, using any <seealso cref="
CollectionView
.SortDescriptions"/> and/or <seealso cref="
CollectionView
.Filter"/>.
MS\Internal\Data\CollectionViewGroupRoot.cs (3)
29
internal CollectionViewGroupRoot(
CollectionView
view) : base("Root", null)
108
internal
CollectionView
View
812
CollectionView
_view;
MS\Internal\Data\CompositeCollectionView.cs (7)
123
/// Return true if <seealso cref="
CollectionView
.CurrentItem"/> is beyond the end or the collection is empty.
136
/// Return true if <seealso cref="
CollectionView
.CurrentItem"/> is before the beginning or the collection is empty.
150
/// When false, set <seealso cref="
CollectionView
.Filter"/> will throw an exception.
306
/// Move <seealso cref="
CollectionView
.CurrentItem"/> to the item at the given index.
309
/// <returns>true if <seealso cref="
CollectionView
.CurrentItem"/> points to an item within the view.</returns>
815
CollectionView
cv = cc.View as
CollectionView
;
MS\Internal\Data\IndexedEnumerable.cs (3)
290
internal
CollectionView
CollectionView
486
_collectionView = collection as
CollectionView
;
703
private
CollectionView
_collectionView;
MS\Internal\Data\PropertyPathWorker.cs (1)
954
else if (parent ==
CollectionView
.NewItemPlaceholder ||
MS\Internal\Data\ViewManager.cs (13)
257
CollectionView
cv = vr.View as
CollectionView
;
537
return CacheView(collection, cvs, (
CollectionView
)viewRecord.View, viewRecord);
607
CollectionView
cv = icv as
CollectionView
;
659
CollectionView
cv = vr.View as
CollectionView
;
692
CollectionView
cv = collection as
CollectionView
;
704
cv = (
CollectionView
)vr.View;
733
private ViewRecord CacheView(object collection, CollectionViewSource cvs,
CollectionView
cv, ViewRecord vr)
759
cv = (
CollectionView
)vr.View;
835
private void ValidateViewType(
CollectionView
cv, Type collectionViewType)
MS\Internal\Data\XmlBindingWorker.cs (1)
69
CollectionView = DataItem as
CollectionView
;
System\Windows\Automation\Peers\DataGridCellItemAutomationPeer.cs (1)
841
return (item ==
CollectionView
.NewItemPlaceholder) || (item == DataGrid.NewItemPlaceholder);
System\Windows\Automation\Peers\DataGridItemAutomationPeer.cs (1)
572
return (item ==
CollectionView
.NewItemPlaceholder) || (item == DataGrid.NewItemPlaceholder);
System\Windows\Controls\DataGrid.cs (11)
830
if (item ==
CollectionView
.NewItemPlaceholder ||
2144
if (SelectedItems.Contains(
CollectionView
.NewItemPlaceholder))
2147
UnselectItem(NewItemInfo(
CollectionView
.NewItemPlaceholder));
2245
SelectItem(NewItemInfo(
CollectionView
.NewItemPlaceholder));
2693
if (itemToRemove !=
CollectionView
.NewItemPlaceholder)
3692
SetCurrentItem(
CollectionView
.NewItemPlaceholder);
3698
SelectItem(NewItemInfo(
CollectionView
.NewItemPlaceholder));
3811
DataGridRow newItemPlaceholderRow = (DataGridRow)ItemContainerGenerator.ContainerFromItem(
CollectionView
.NewItemPlaceholder);
3860
if (HasNewItemPlaceholder && SelectedItems.Contains(
CollectionView
.NewItemPlaceholder))
3880
return (item ==
CollectionView
.NewItemPlaceholder) || (item == DataGrid.NewItemPlaceholder);
5622
if (currentInfo.Item ==
CollectionView
.NewItemPlaceholder)
System\Windows\Controls\DataGridRow.cs (3)
724
var isRealItem = row.Item !=
CollectionView
.NewItemPlaceholder;
752
if (row.Item ==
CollectionView
.NewItemPlaceholder && owningDataGrid != null)
768
if (row.Item ==
CollectionView
.NewItemPlaceholder)
System\Windows\Controls\ItemCollection.cs (5)
1557
internal
CollectionView
CollectionView
1674
void SetCollectionView(
CollectionView
view)
1798
void HookCollectionView(
CollectionView
view)
1840
void UnhookCollectionView(
CollectionView
view)
2467
private
CollectionView
_collectionView; // delegate ICollectionView
System\Windows\Controls\ItemContainerGenerator.cs (1)
1962
CollectionView
cv = Host.View.CollectionView;
System\Windows\Controls\MultipleCopiesCollection.cs (1)
135
if (value ==
CollectionView
.NewItemPlaceholder)
System\Windows\Data\BindingGroup.cs (2)
825
dataContextItem !=
CollectionView
.NewItemPlaceholder &&
1027
mentor.GetValue(FrameworkElement.DataContextProperty) ==
CollectionView
.NewItemPlaceholder)
System\Windows\Data\BindingListCollectionView.cs (3)
101
/// Move <seealso cref="
CollectionView
.CurrentItem"/> to the item at the given index.
104
/// <returns>true if <seealso cref="
CollectionView
.CurrentItem"/> points to an item within the view.</returns>
911
if (item ==
CollectionView
.NewItemPlaceholder)
System\Windows\Data\BindingOperations.cs (1)
500
internal static void OnCollectionViewRegistering(
CollectionView
view)
System\Windows\Data\CollectionContainer.cs (8)
141
CollectionView
cv = View as
CollectionView
;
200
CollectionView
cv = View as
CollectionView
;
218
CollectionView
cv = View as
CollectionView
;
236
CollectionView
cv = _view as
CollectionView
;
System\Windows\Data\CollectionView.cs (6)
72
if (this.GetType() == typeof(
CollectionView
))
1638
public PlaceholderAwareEnumerator(
CollectionView
collectionView, IEnumerator baseEnumerator, NewItemPlaceholderPosition placeholderPosition, object newItem)
1711
return (_position == Position.OnPlaceholder) ?
CollectionView
.NewItemPlaceholder
1723
CollectionView
_collectionView;
2094
public DeferHelper(
CollectionView
collectionView)
2110
private
CollectionView
_collectionView;
System\Windows\Data\CollectionViewRegisteringEventArgs.cs (3)
17
internal CollectionViewRegisteringEventArgs(
CollectionView
view)
22
public
CollectionView
CollectionView
27
CollectionView
_view;
System\Windows\Data\CollectionViewSource.cs (6)
754
internal
CollectionView
CollectionView
785
return (
CollectionView
)view;
806
static internal
CollectionView
GetDefaultCollectionView(object source, bool createView, Func<object, object> GetSourceItem=null)
814
return (viewRecord != null) ? (
CollectionView
)viewRecord.View : null;
822
internal static
CollectionView
GetDefaultCollectionView(object source, DependencyObject d, Func<object, object> GetSourceItem=null)
824
CollectionView
view = GetDefaultCollectionView(source, true, GetSourceItem);
System\Windows\Data\ListCollectionView.cs (7)
194
/// Move <seealso cref="
CollectionView
.CurrentItem"/> to the item at the given index.
197
/// <returns>true if <seealso cref="
CollectionView
.CurrentItem"/> points to an item within the view.</returns>
457
/// an explicit <seealso cref="
CollectionView
.Refresh"/> call by the app is required.
458
/// Note: Setting the custom comparer object will clear previously set <seealso cref="
CollectionView
.SortDescriptions"/>.
1090
if (item ==
CollectionView
.NewItemPlaceholder)
2449
internal static IComparer PrepareComparer(IComparer customSort, SortDescriptionCollection sort, Func<object,
CollectionView
> lazyGetCollectionView, object state)
2458
CollectionView
view = lazyGetCollectionView(state);
System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
175
case 79: t = () => typeof(
CollectionView
); break;
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
2607
typeof(System.Windows.Data.
CollectionView
),
System\Windows\Markup\KnownTypes.cs (1)
5633
case KnownElements.CollectionView: t = typeof(System.Windows.Data.
CollectionView
); break;
System.Windows.Controls.Ribbon (8)
Microsoft\Windows\Controls\Ribbon\RibbonGallery.cs (7)
1120
internal
CollectionView
CollectionView
1126
internal
CollectionView
SourceCollectionView
1224
internal static
CollectionView
GetSourceCollectionView(ItemsControl itemsControl)
1230
CollectionView
cv = null;
1237
cv = cvs.View as
CollectionView
;
1523
private void MoveCurrentTo(
CollectionView
cv, object item)
1531
private void MoveCurrentToPosition(
CollectionView
cv, int position)
Microsoft\Windows\Controls\Ribbon\RibbonGalleryCategory.cs (1)
476
internal
CollectionView
CollectionView