Class ReactiveTextCell<TViewModel>
- Namespace
- ReactiveUI.Maui
- Assembly
- ReactiveUI.Maui.dll
This is an Microsoft.Maui.Controls.TextCell that is also an IViewFor<T>.
public class ReactiveTextCell<TViewModel> : TextCell, IViewFor<TViewModel>, IViewFor, IActivatableView where TViewModel : class
Type Parameters
TViewModel
The type of the view model.
- Inheritance
-
ReactiveTextCell<TViewModel>
- Implements
-
IViewFor<TViewModel>
- Extension Methods
Constructors
ReactiveTextCell()
public ReactiveTextCell()
Fields
ViewModelProperty
The view model bindable property.
public static readonly BindableProperty ViewModelProperty
Field Value
- BindableProperty
Properties
ViewModel
Gets or sets the ViewModel corresponding to this specific View. This should be a DependencyProperty if you're using XAML.
public TViewModel? ViewModel { get; set; }
Property Value
- TViewModel
Methods
OnBindingContextChanged()
protected override void OnBindingContextChanged()
See Also
Microsoft.Maui.Controls.TextCell
IViewFor<T>