Class ReactiveTextItemView<TViewModel>
- Namespace
- ReactiveUI.Maui
- Assembly
- ReactiveUI.Maui.dll
A ReactiveContentView<TViewModel> that displays text content similar to a TextCell, but designed for use with CollectionView and DataTemplates. This serves as a modern replacement for ReactiveTextCell which relied on the deprecated ListView.
[RequiresDynamicCode("ReactiveTextItemView uses methods that require dynamic code generation")]
[RequiresUnreferencedCode("ReactiveTextItemView uses methods that may require unreferenced code")]
public class ReactiveTextItemView<TViewModel> : ReactiveContentView<TViewModel>, INotifyPropertyChanged, IEffectControlProvider, IToolTipElement, IContextFlyoutElement, IAnimatable, IViewController, IVisualElementController, IElementController, IGestureController, IGestureRecognizers, IPropertyMapperView, IHotReloadableView, IReplaceableView, ILayout, ILayoutController, IVisualTreeElement, IContentView, IView, IElement, ITransform, IPadding, ICrossPlatformLayout, IViewFor<TViewModel>, IViewFor, IActivatableView where TViewModel : class
Type Parameters
TViewModelThe type of the view model.
- Inheritance
-
Reactive
Content <TViewModel>View ReactiveTextItemView<TViewModel>
- Implements
-
IView
For <TViewModel>
- Inherited Members
- Extension Methods
Constructors
ReactiveTextItemView()
Initializes a new instance of the ReactiveTextItemView<TViewModel> class.
Fields
DetailColorProperty
The detail color bindable property.
Field Value
DetailProperty
The detail bindable property for the secondary text.
Field Value
TextColorProperty
The text color bindable property.
Field Value
TextProperty
The text bindable property for the primary text.
Field Value
Properties
Detail
Gets or sets the detail text to display.
Property Value
DetailColor
Gets or sets the color of the detail text.
Property Value
Text
Gets or sets the primary text to display.
Property Value
TextColor
Gets or sets the color of the primary text.
Property Value
See Also
ReactiveContentView <TViewModel>