Share via


BaseLazyView Class

Definition

Abstract base class for LazyView<TView>

[Xamarin.Forms.Internals.Preserve(Conditional=true)]
public abstract class BaseLazyView : Xamarin.Forms.ContentView, IDisposable
Inheritance
BaseLazyView
Derived
Attributes
Implements
System.IDisposable

Constructors

BaseLazyView()

Fields

IsLoadedProperty

This is a read-only BindableProperty that indicates when the view is loaded.

Properties

IsLoaded

This is a read-only property that indicates when the view is loaded.

Methods

Dispose()

This method dispose the Content if it's System.IDisposable.

LoadViewAsync()

Use this method to do the initialization of the View and change the status IsLoaded value here.

OnBindingContextChanged()
SetIsLoaded(Boolean)

This method change the value of the IsLoaded property.

Applies to