Class ReactiveImageItemView<TViewModel>
- Namespace
- ReactiveUI.Maui
- Assembly
- ReactiveUI.Maui.dll
A ReactiveContentView<TViewModel> that displays an image with text content similar to an ImageCell, but designed for use with CollectionView and DataTemplates. This serves as a modern replacement for ReactiveImageCell which relied on the deprecated ListView.
[RequiresDynamicCode("ReactiveImageItemView uses methods that require dynamic code generation")]
[RequiresUnreferencedCode("ReactiveImageItemView uses methods that may require unreferenced code")]
public class ReactiveImageItemView<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 ReactiveImageItemView<TViewModel>
- Implements
-
IView
For <TViewModel>
- Inherited Members
- Extension Methods
Constructors
ReactiveImageItemView()
Initializes a new instance of the ReactiveImageItemView<TViewModel> class.
Fields
DetailColorProperty
The detail color bindable property.
Field Value
DetailProperty
The detail bindable property for the secondary text.
Field Value
ImageSourceProperty
The image source bindable property.
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
ImageSource
Gets or sets the image source to display.
Property Value
Text
Gets or sets the primary text to display.
Property Value
TextColor
Gets or sets the color of the primary text.