7 types derived from CollectionView
PresentationFramework (7)
MS\Internal\Controls\InnerItemCollectionView.cs (1)
23
internal sealed class InnerItemCollectionView :
CollectionView
, IList
MS\Internal\Data\CollectionViewProxy.cs (1)
26
internal class CollectionViewProxy :
CollectionView
, IEditableCollectionViewAddNewItem, ICollectionViewLiveShaping, IItemProperties
MS\Internal\Data\CompositeCollectionView.cs (1)
28
internal sealed class CompositeCollectionView :
CollectionView
MS\Internal\Data\EnumerableCollectionView.cs (1)
21
internal class EnumerableCollectionView :
CollectionView
, IItemProperties
System\Windows\Controls\ItemCollection.cs (1)
45
public sealed class ItemCollection :
CollectionView
, IList, IEditableCollectionViewAddNewItem, ICollectionViewLiveShaping, IItemProperties, IWeakEventListener
System\Windows\Data\BindingListCollectionView.cs (1)
24
public sealed class BindingListCollectionView :
CollectionView
, IComparer, IEditableCollectionView, ICollectionViewLiveShaping, IItemProperties
System\Windows\Data\ListCollectionView.cs (1)
26
public class ListCollectionView :
CollectionView
, IComparer, IEditableCollectionViewAddNewItem, ICollectionViewLiveShaping, IItemProperties
104 references to CollectionView
PresentationFramework (96)
MS\Internal\Controls\InnerItemCollectionView.cs (6)
439
/// Move <seealso cref="
CollectionView
.CurrentItem"/> to the given item.
443
/// <returns>true if <seealso cref="
CollectionView
.CurrentItem"/> points to an item within the view.</returns>
458
/// Move <seealso cref="
CollectionView
.CurrentItem"/> to the item at the given index.
461
/// <returns>true if <seealso cref="
CollectionView
.CurrentItem"/> points to an item within the view.</returns>
499
/// Re-create the view, using any <seealso cref="
CollectionView
.SortDescriptions"/> and/or <seealso cref="
CollectionView
.Filter"/>.
MS\Internal\Data\CollectionViewGroupRoot.cs (3)
26
internal CollectionViewGroupRoot(
CollectionView
view) : base("Root", null)
105
internal
CollectionView
View
809
CollectionView
_view;
MS\Internal\Data\CompositeCollectionView.cs (7)
117
/// Return true if <seealso cref="
CollectionView
.CurrentItem"/> is beyond the end or the collection is empty.
130
/// Return true if <seealso cref="
CollectionView
.CurrentItem"/> is before the beginning or the collection is empty.
144
/// When false, set <seealso cref="
CollectionView
.Filter"/> will throw an exception.
300
/// Move <seealso cref="
CollectionView
.CurrentItem"/> to the item at the given index.
303
/// <returns>true if <seealso cref="
CollectionView
.CurrentItem"/> points to an item within the view.</returns>
809
CollectionView
cv = cc.View as
CollectionView
;
MS\Internal\Data\IndexedEnumerable.cs (3)
285
internal
CollectionView
CollectionView
481
_collectionView = collection as
CollectionView
;
698
private
CollectionView
_collectionView;
MS\Internal\Data\PropertyPathWorker.cs (1)
948
else if (parent ==
CollectionView
.NewItemPlaceholder ||
MS\Internal\Data\ViewManager.cs (13)
255
CollectionView
cv = vr.View as
CollectionView
;
535
return CacheView(collection, cvs, (
CollectionView
)viewRecord.View, viewRecord);
605
CollectionView
cv = icv as
CollectionView
;
657
CollectionView
cv = vr.View as
CollectionView
;
690
CollectionView
cv = collection as
CollectionView
;
702
cv = (
CollectionView
)vr.View;
731
private ViewRecord CacheView(object collection, CollectionViewSource cvs,
CollectionView
cv, ViewRecord vr)
757
cv = (
CollectionView
)vr.View;
833
private void ValidateViewType(
CollectionView
cv, Type collectionViewType)
MS\Internal\Data\XmlBindingWorker.cs (1)
63
CollectionView = DataItem as
CollectionView
;
System\Windows\Automation\Peers\DataGridCellItemAutomationPeer.cs (1)
835
return (item ==
CollectionView
.NewItemPlaceholder) || (item == DataGrid.NewItemPlaceholder);
System\Windows\Automation\Peers\DataGridItemAutomationPeer.cs (1)
567
return (item ==
CollectionView
.NewItemPlaceholder) || (item == DataGrid.NewItemPlaceholder);
System\Windows\Controls\DataGrid.cs (11)
827
if (item ==
CollectionView
.NewItemPlaceholder ||
2141
if (SelectedItems.Contains(
CollectionView
.NewItemPlaceholder))
2144
UnselectItem(NewItemInfo(
CollectionView
.NewItemPlaceholder));
2242
SelectItem(NewItemInfo(
CollectionView
.NewItemPlaceholder));
2690
if (itemToRemove !=
CollectionView
.NewItemPlaceholder)
3689
SetCurrentItem(
CollectionView
.NewItemPlaceholder);
3695
SelectItem(NewItemInfo(
CollectionView
.NewItemPlaceholder));
3808
DataGridRow newItemPlaceholderRow = (DataGridRow)ItemContainerGenerator.ContainerFromItem(
CollectionView
.NewItemPlaceholder);
3857
if (HasNewItemPlaceholder && SelectedItems.Contains(
CollectionView
.NewItemPlaceholder))
3877
return (item ==
CollectionView
.NewItemPlaceholder) || (item == DataGrid.NewItemPlaceholder);
5619
if (currentInfo.Item ==
CollectionView
.NewItemPlaceholder)
System\Windows\Controls\DataGridRow.cs (3)
720
var isRealItem = row.Item !=
CollectionView
.NewItemPlaceholder;
748
if (row.Item ==
CollectionView
.NewItemPlaceholder && owningDataGrid != null)
764
if (row.Item ==
CollectionView
.NewItemPlaceholder)
System\Windows\Controls\ItemCollection.cs (5)
1548
internal
CollectionView
CollectionView
1665
void SetCollectionView(
CollectionView
view)
1789
void HookCollectionView(
CollectionView
view)
1831
void UnhookCollectionView(
CollectionView
view)
2458
private
CollectionView
_collectionView; // delegate ICollectionView
System\Windows\Controls\ItemContainerGenerator.cs (1)
1956
CollectionView
cv = Host.View.CollectionView;
System\Windows\Controls\MultipleCopiesCollection.cs (1)
132
if (value ==
CollectionView
.NewItemPlaceholder)
System\Windows\Data\BindingGroup.cs (2)
820
dataContextItem !=
CollectionView
.NewItemPlaceholder &&
1022
mentor.GetValue(FrameworkElement.DataContextProperty) ==
CollectionView
.NewItemPlaceholder)
System\Windows\Data\BindingListCollectionView.cs (3)
96
/// Move <seealso cref="
CollectionView
.CurrentItem"/> to the item at the given index.
99
/// <returns>true if <seealso cref="
CollectionView
.CurrentItem"/> points to an item within the view.</returns>
906
if (item ==
CollectionView
.NewItemPlaceholder)
System\Windows\Data\BindingOperations.cs (1)
491
internal static void OnCollectionViewRegistering(
CollectionView
view)
System\Windows\Data\CollectionContainer.cs (8)
133
CollectionView
cv = View as
CollectionView
;
192
CollectionView
cv = View as
CollectionView
;
210
CollectionView
cv = View as
CollectionView
;
228
CollectionView
cv = _view as
CollectionView
;
System\Windows\Data\CollectionView.cs (6)
68
if (this.GetType() == typeof(
CollectionView
))
1634
public PlaceholderAwareEnumerator(
CollectionView
collectionView, IEnumerator baseEnumerator, NewItemPlaceholderPosition placeholderPosition, object newItem)
1707
return (_position == Position.OnPlaceholder) ?
CollectionView
.NewItemPlaceholder
1719
CollectionView
_collectionView;
2090
public DeferHelper(
CollectionView
collectionView)
2106
private
CollectionView
_collectionView;
System\Windows\Data\CollectionViewRegisteringEventArgs.cs (3)
15
internal CollectionViewRegisteringEventArgs(
CollectionView
view)
20
public
CollectionView
CollectionView
25
CollectionView
_view;
System\Windows\Data\CollectionViewSource.cs (6)
753
internal
CollectionView
CollectionView
784
return (
CollectionView
)view;
805
static internal
CollectionView
GetDefaultCollectionView(object source, bool createView, Func<object, object> GetSourceItem=null)
813
return (viewRecord != null) ? (
CollectionView
)viewRecord.View : null;
821
internal static
CollectionView
GetDefaultCollectionView(object source, DependencyObject d, Func<object, object> GetSourceItem=null)
823
CollectionView
view = GetDefaultCollectionView(source, true, GetSourceItem);
System\Windows\Data\ListCollectionView.cs (7)
188
/// Move <seealso cref="
CollectionView
.CurrentItem"/> to the item at the given index.
191
/// <returns>true if <seealso cref="
CollectionView
.CurrentItem"/> points to an item within the view.</returns>
451
/// an explicit <seealso cref="
CollectionView
.Refresh"/> call by the app is required.
452
/// Note: Setting the custom comparer object will clear previously set <seealso cref="
CollectionView
.SortDescriptions"/>.
1084
if (item ==
CollectionView
.NewItemPlaceholder)
2443
internal static IComparer PrepareComparer(IComparer customSort, SortDescriptionCollection sort, Func<object,
CollectionView
> lazyGetCollectionView, object state)
2452
CollectionView
view = lazyGetCollectionView(state);
System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
173
case 79: t = () => typeof(
CollectionView
); break;
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
2605
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)
1118
internal
CollectionView
CollectionView
1124
internal
CollectionView
SourceCollectionView
1222
internal static
CollectionView
GetSourceCollectionView(ItemsControl itemsControl)
1228
CollectionView
cv = null;
1235
cv = cvs.View as
CollectionView
;
1521
private void MoveCurrentTo(
CollectionView
cv, object item)
1529
private void MoveCurrentToPosition(
CollectionView
cv, int position)
Microsoft\Windows\Controls\Ribbon\RibbonGalleryCategory.cs (1)
471
internal
CollectionView
CollectionView