Table of Contents

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

TViewModel

The type of the view model.

Inheritance
ReactiveImageItemView<TViewModel>
Implements
IViewFor<TViewModel>
Inherited Members
Extension Methods
WhenAnyMixin.WhenAny<TSender, TRet, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12>(TSender?, Expression<Func<TSender, T1>>, Expression<Func<TSender, T2>>, Expression<Func<TSender, T3>>, Expression<Func<TSender, T4>>, Expression<Func<TSender, T5>>, Expression<Func<TSender, T6>>, Expression<Func<TSender, T7>>, Expression<Func<TSender, T8>>, Expression<Func<TSender, T9>>, Expression<Func<TSender, T10>>, Expression<Func<TSender, T11>>, Expression<Func<TSender, T12>>, Func<IObservedChange<TSender, T1>, IObservedChange<TSender, T2>, IObservedChange<TSender, T3>, IObservedChange<TSender, T4>, IObservedChange<TSender, T5>, IObservedChange<TSender, T6>, IObservedChange<TSender, T7>, IObservedChange<TSender, T8>, IObservedChange<TSender, T9>, IObservedChange<TSender, T10>, IObservedChange<TSender, T11>, IObservedChange<TSender, T12>, TRet>)
WhenAnyMixin.WhenAny<TSender, TRet, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12>(TSender?, Expression<Func<TSender, T1>>, Expression<Func<TSender, T2>>, Expression<Func<TSender, T3>>, Expression<Func<TSender, T4>>, Expression<Func<TSender, T5>>, Expression<Func<TSender, T6>>, Expression<Func<TSender, T7>>, Expression<Func<TSender, T8>>, Expression<Func<TSender, T9>>, Expression<Func<TSender, T10>>, Expression<Func<TSender, T11>>, Expression<Func<TSender, T12>>, Func<IObservedChange<TSender, T1>, IObservedChange<TSender, T2>, IObservedChange<TSender, T3>, IObservedChange<TSender, T4>, IObservedChange<TSender, T5>, IObservedChange<TSender, T6>, IObservedChange<TSender, T7>, IObservedChange<TSender, T8>, IObservedChange<TSender, T9>, IObservedChange<TSender, T10>, IObservedChange<TSender, T11>, IObservedChange<TSender, T12>, TRet>, bool)

Constructors

ReactiveImageItemView()

Initializes a new instance of the ReactiveImageItemView<TViewModel> class.

public ReactiveImageItemView()

Fields

DetailColorProperty

The detail color bindable property.

public static readonly BindableProperty DetailColorProperty

Field Value

BindableProperty

DetailProperty

The detail bindable property for the secondary text.

public static readonly BindableProperty DetailProperty

Field Value

BindableProperty

ImageSourceProperty

The image source bindable property.

public static readonly BindableProperty ImageSourceProperty

Field Value

BindableProperty

TextColorProperty

The text color bindable property.

public static readonly BindableProperty TextColorProperty

Field Value

BindableProperty

TextProperty

The text bindable property for the primary text.

public static readonly BindableProperty TextProperty

Field Value

BindableProperty

Properties

Detail

Gets or sets the detail text to display.

public string? Detail { get; set; }

Property Value

string

DetailColor

Gets or sets the color of the detail text.

public Color DetailColor { get; set; }

Property Value

Color

ImageSource

Gets or sets the image source to display.

public ImageSource? ImageSource { get; set; }

Property Value

ImageSource

Text

Gets or sets the primary text to display.

public string? Text { get; set; }

Property Value

string

TextColor

Gets or sets the color of the primary text.

public Color TextColor { get; set; }

Property Value

Color

See Also

ReactiveContentView<TViewModel>