Summary
This is a UICollectionViewCell that is both an UICollectionViewCell and has ReactiveObject powers
(i.e. you can call RaiseAndSetIfChanged).
- Namespace
- ReactiveUI
- Interfaces
-
- I
Reactive Notify Property Changed <Reactive Collection >View Cell - I
Handle Observable Errors - IReactiveObject
- I
Notify Property Changed - I
Notify Property Changing - IEnableLogger
- ICanActivate
- IViewFor
<TViewModel> - IViewFor
- IActivatableView
- I
- Base Types
-
- UICollectionViewCell
- Reactive
Collection View Cell
graph BT
Type-->Base0["ReactiveCollectionViewCell"]
click Base0 "/api/ReactiveUI/ReactiveCollectionViewCell"
Base0-->Base1["UICollectionViewCell"]
Type-.->Interface0["IReactiveNotifyPropertyChanged<ReactiveCollectionViewCell>"]
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-.->Interface6["ICanActivate"]
click Interface6 "/api/ReactiveUI/ICanActivate"
Type-.->Interface7["IViewFor<TViewModel>"]
Type-.->Interface8["IViewFor"]
click Interface8 "/api/ReactiveUI/IViewFor"
Type-.->Interface9["IActivatableView"]
click Interface9 "/api/ReactiveUI/IActivatableView"
Type["ReactiveCollectionViewCell<TViewModel>"]
class Type type-node
Syntax
[SuppressMessage("Design", "CA1010: Implement generic IEnumerable", Justification = "UI Kit exposes IEnumerable")]
[SuppressMessage("StyleCop.CSharp.MaintainabilityRules", "SA1402:FileMayOnlyContainASingleType", Justification = "Classes with the same class names within.")]
public abstract class ReactiveCollectionViewCell<TViewModel> : ReactiveCollectionViewCell,
IReactiveNotifyPropertyChanged<ReactiveCollectionViewCell>, IHandleObservableErrors,
IReactiveObject, INotifyPropertyChanged, INotifyPropertyChanging, IEnableLogger, ICanActivate,
IViewFor<TViewModel>, IViewFor, IActivatableView
where TViewModel : class
Attributes
Type | Description |
---|---|
Suppress |
|
Suppress |
Type Parameters
Name | Description |
---|---|
TViewModel | The view model type. |
Constructors
Name | Summary |
---|---|
Reactive |
Initializes a new instance of the ReactiveCollectionViewCell<TViewModel> class.
|
Reactive |
Initializes a new instance of the ReactiveCollectionViewCell<TViewModel> class.
|
Reactive |
Initializes a new instance of the ReactiveCollectionViewCell<TViewModel> class.
|
Reactive |
Initializes a new instance of the ReactiveCollectionViewCell<TViewModel> class.
|
Reactive |
Initializes a new instance of the ReactiveCollectionViewCell<TViewModel> class.
|
Events
Name | Type | Summary |
---|---|---|
PropertyChanged | Property |
Inherited from Reactive
|
PropertyChanging | Property |
Inherited from Reactive
|
Properties
Name | Value | Summary |
---|---|---|
Activated | IObservable |
Gets a observable which is triggered when the ViewModel is activated.
Inherited from Reactive
|
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.
Inherited from Reactive
|
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.
Inherited from Reactive
|
Deactivated | IObservable |
Gets a observable which is triggered when the ViewModel is deactivated.
Inherited from Reactive
|
ThrownExceptions | IObservable |
Gets a observable which will fire whenever an exception would normally terminate ReactiveUI
internal state.
Inherited from Reactive
|
ViewModel | TViewModel |
Gets or sets the ViewModel corresponding to this specific View. This should be
a DependencyProperty if you're using XAML.
|
Methods
Name | Value | Summary |
---|---|---|
Dispose |
void |
Inherited from Reactive
|
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.
Inherited from Reactive
|
WillMoveToSuperview |
void |
Inherited from Reactive
|