Summary
ReactiveCollectionViewSource is a Collection View Source that is
connected to a Read Only List that automatically updates the View based
on the contents of the list. The collection changes are buffered and
View items are animated in and out as items are added.
- Namespace
- ReactiveUI
- Interfaces
-
- I
Reactive Notify Property Changed <Reactive Collection View Source <TSource> > - I
Handle Observable Errors - IReactiveObject
- I
Notify Property Changed - I
Notify Property Changing - IEnableLogger
- I
- Base Types
-
- U
I Collection View Source
- U
graph BT
Type-->Base0["UICollectionViewSource"]
Type-.->Interface0["IReactiveNotifyPropertyChanged<ReactiveCollectionViewSource<TSource>>"]
Type-.->Interface1["IHandleObservableErrors"]
click Interface1 "/api/ReactiveUI/IHandleObservableErrors"
Type-.->Interface2["IReactiveObject"]
click Interface2 "/api/ReactiveUI/IReactiveObject"
Type-.->Interface3["INotifyPropertyChanged"]
Type-.->Interface4["INotifyPropertyChanging"]
Type-.->Interface5["IEnableLogger"]
Type["ReactiveCollectionViewSource<TSource>"]
class Type type-node
Syntax
public class ReactiveCollectionViewSource<TSource> : UICollectionViewSource,
IReactiveNotifyPropertyChanged<ReactiveCollectionViewSource<TSource>>, IHandleObservableErrors,
IReactiveObject, INotifyPropertyChanged, INotifyPropertyChanging, IEnableLogger
Type Parameters
Name | Description |
---|---|
TSource | The source type. |
Constructors
Name | Summary |
---|---|
Reactive |
Initializes a new instance of the ReactiveCollectionViewSource<TSource> class.
|
Reactive |
Initializes a new instance of the ReactiveCollectionViewSource<TSource> class.
|
Reactive |
Initializes a new instance of the ReactiveCollectionViewSource<TSource> class.
|
Events
Name | Type | Summary |
---|---|---|
PropertyChanged | Property |
|
PropertyChanging | Property |
Properties
Name | Value | Summary |
---|---|---|
Changed | IObservable |
Gets an Observable that signals *after* a property has changed.
|
Changing | IObservable |
Gets an Observable that signals *before* a property is about to
be changed.
|
Data | IReadOnlyList |
Gets or sets the data that should be displayed by this
ReactiveCollectionViewSource<TSource> . You should
probably bind your view model to this property.
If the list implements INotifyCollectionChanged ,
then the source will react to changes to the contents of the list as well.
|
ElementSelected | IObservable |
Gets an IObservable that is a hook to
ReactiveUI.ReactiveCollectionViewSource`1.ItemSelected(UICollectionView,NSIndexPath) calls.
|
ThrownExceptions | IObservable |
Gets a observable which will fire whenever an exception would normally terminate ReactiveUI
internal state.
|
Methods
Name | Value | Summary |
---|---|---|
Dispose |
void | |
GetCell |
UICollectionViewCell | |
GetItemsCount |
nint | |
ItemAt |
object |
Returns the Item at the specified index path.
|
ItemSelected |
void | |
NumberOfSections |
nint | |
Suppress |
IDisposable |
When this method is called, an object will not fire change
notifications (neither traditional nor Observable notifications)
until the return value is disposed.
|