Class INTERNAL_PagedCollectionView
Allows to split a data source into multiple paged sources and to expose only the current page
Inheritance
System.Object
INTERNAL_PagedCollectionView
Implements
System.Collections.IEnumerable
System.Collections.Specialized.INotifyCollectionChanged
System.ComponentModel.INotifyPropertyChanged
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Assembly: OpenSilver.dll
Syntax
public class INTERNAL_PagedCollectionView : IEnumerable, INotifyCollectionChanged, IPagedCollectionView, INotifyPropertyChanged
Constructors
|
Improve this Doc
View Source
INTERNAL_PagedCollectionView(IEnumerable)
Declaration
public INTERNAL_PagedCollectionView(IEnumerable source)
Parameters
Type |
Name |
Description |
System.Collections.IEnumerable |
source |
|
Properties
|
Improve this Doc
View Source
CanChangePage
Declaration
public bool CanChangePage { get; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
Count
Declaration
public int Count { get; }
Property Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
Filter
Declaration
public Predicate<object> Filter { get; set; }
Property Value
Type |
Description |
System.Predicate<System.Object> |
|
|
Improve this Doc
View Source
GroupDescriptions
Declaration
public ObservableCollection<INTERNAL_PropertyGroupDescription> GroupDescriptions { get; set; }
Property Value
|
Improve this Doc
View Source
Groups
Declaration
public Collection<IEnumerable> Groups { get; }
Property Value
Type |
Description |
System.Collections.ObjectModel.Collection<System.Collections.IEnumerable> |
|
|
Improve this Doc
View Source
IsPageChanging
Declaration
public bool IsPageChanging { get; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
ItemCount
Declaration
public int ItemCount { get; }
Property Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
PageIndex
Declaration
public int PageIndex { get; }
Property Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
PageSize
Declaration
public int PageSize { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
SortDescriptions
Declaration
public ObservableCollection<PropertySortDescription> SortDescriptions { get; set; }
Property Value
|
Improve this Doc
View Source
SourceCollection
Declaration
public IEnumerable SourceCollection { get; }
Property Value
Type |
Description |
System.Collections.IEnumerable |
|
|
Improve this Doc
View Source
TotalItemCount
Declaration
public int TotalItemCount { get; }
Property Value
Type |
Description |
System.Int32 |
|
Methods
|
Improve this Doc
View Source
GetEnumerator()
Declaration
public IEnumerator GetEnumerator()
Returns
Type |
Description |
System.Collections.IEnumerator |
|
|
Improve this Doc
View Source
MoveToFirstPage()
Declaration
public bool MoveToFirstPage()
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
MoveToLastPage()
Declaration
public bool MoveToLastPage()
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
MoveToNextPage()
Declaration
public bool MoveToNextPage()
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
MoveToPage(Int32)
Declaration
public bool MoveToPage(int index)
Parameters
Type |
Name |
Description |
System.Int32 |
index |
|
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
MoveToPreviousPage()
Declaration
public bool MoveToPreviousPage()
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
OnPropertyChanged(String)
Declaration
protected virtual void OnPropertyChanged(string propertyName)
Parameters
Type |
Name |
Description |
System.String |
propertyName |
|
|
Improve this Doc
View Source
PassesFilter(Object)
Declaration
public bool PassesFilter(object item)
Parameters
Type |
Name |
Description |
System.Object |
item |
|
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
Refresh()
Declaration
Events
|
Improve this Doc
View Source
CollectionChanged
Declaration
public event NotifyCollectionChangedEventHandler CollectionChanged
Event Type
Type |
Description |
System.Collections.Specialized.NotifyCollectionChangedEventHandler |
|
|
Improve this Doc
View Source
PageChanged
Declaration
public event EventHandler<EventArgs> PageChanged
Event Type
Type |
Description |
System.EventHandler<System.EventArgs> |
|
|
Improve this Doc
View Source
PageChanging
Declaration
public event EventHandler<PageChangingEventArgs> PageChanging
Event Type
|
Improve this Doc
View Source
PropertyChanged
Declaration
public event PropertyChangedEventHandler PropertyChanged
Event Type
Type |
Description |
System.ComponentModel.PropertyChangedEventHandler |
|
Implements
System.Collections.IEnumerable
System.Collections.Specialized.INotifyCollectionChanged
System.ComponentModel.INotifyPropertyChanged
Extension Methods