Summary
ReactiveTableViewSource is a Table View Source that is connected to
a 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 Table View Source <TSource> > - I
Handle Observable Errors - IReactiveObject
- I
Notify Property Changed - I
Notify Property Changing - IEnableLogger
- I
- Base Types
-
- UITableViewSource
graph BT
Type-->Base0["UITableViewSource"]
Type-.->Interface0["IReactiveNotifyPropertyChanged<ReactiveTableViewSource<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["ReactiveTableViewSource<TSource>"]
class Type type-node
Syntax
public class ReactiveTableViewSource<TSource> : UITableViewSource,
IReactiveNotifyPropertyChanged<ReactiveTableViewSource<TSource>>, IHandleObservableErrors,
IReactiveObject, INotifyPropertyChanged, INotifyPropertyChanging, IEnableLogger
Type Parameters
Name | Description |
---|---|
TSource | The source type. |
Constructors
Name | Summary |
---|---|
Reactive |
Initializes a new instance of the ReactiveTableViewSource<TSource> class.
|
Reactive |
Initializes a new instance of the ReactiveTableViewSource<TSource> class.
|
Reactive |
Initializes a new instance of the ReactiveTableViewSource<TSource> class.
|
Events
Name | Type | Summary |
---|---|---|
PropertyChanged | Property |
|
PropertyChanging | Property |
Properties
Name | Value | Summary |
---|---|---|
Changed | IObservable |
Gets an Observable that fires *after* a property has changed.
Note that this should not fire duplicate change notifications if a
property is set to the same value multiple times.
|
Changing | IObservable |
Gets an observable that fires *before* a property is about to
be changed. Note that this should not fire duplicate change notifications if a
property is set to the same value multiple times.
|
Data | IReadOnlyList |
Gets or sets the data that should be displayed by this
ReactiveTableViewSource<TSource> . You should
probably bind your view model to this property.
|
DeleteRowsAnimation | U |
Gets or sets the row animation to use when UITableView.DeleteRows is invoked.
|
Delete |
U |
Gets or sets the row animation to use when UITableView.DeleteSections is invoked.
|
ElementSelected | IObservable |
Gets an IObservable that is a hook to
ReactiveUI.ReactiveTableViewSource`1.RowSelected(UITableView,NSIndexPath) calls.
|
InsertRowsAnimation | U |
Gets or sets the row animation to use when UITableView.InsertRows is invoked.
|
Insert |
U |
Gets or sets the row animation to use when UITableView.InsertSections is invoked.
|
ReloadRowsAnimation | U |
Gets or sets the row animation to use when UITableView.ReloadRows is invoked.
|
Reload |
U |
Gets or sets the row animation to use when UITableView.ReloadSections is invoked.
|
ThrownExceptions | IObservable |
Gets a observable which will fire whenever an exception would normally terminate ReactiveUI
internal state.
|
Methods
Name | Value | Summary |
---|---|---|
CanEditRow |
bool | |
CanMoveRow |
bool | |
Dispose |
void | |
GetCell |
UITableViewCell | |
GetHeightForFooter |
nfloat | |
GetHeightForHeader |
nfloat | |
GetHeightForRow |
nfloat | |
GetViewForFooter |
UIView | |
GetViewForHeader |
UIView | |
ItemAt |
object |
Items at.
|
NumberOfSections |
nint | |
RowSelected |
void | |
RowsInSection |
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.
|
TitleForFooter |
string | |
TitleForHeader |
string |