Table of Contents

Class BasePageReloadable

Namespace
DrawnUi.Views
Assembly
DrawnUi.Maui.dll

Base class for a page with canvas, supports C# HotReload for building UI with code (not XAML). Override Build(), see examples.

public class BasePageReloadable : DrawnUiBasePage, INotifyPropertyChanged, IVisualTreeElement, IEffectControlProvider, IToolTipElement, IContextFlyoutElement, IAnimatable, ILayout, IPageController, IVisualElementController, IElementController, IElementConfiguration<Page>, ISafeAreaView, ITitledElement, IToolbarElement, IContentView, IPadding, ICrossPlatformLayout, IHotReloadableView, IView, IElement, ITransform, IReplaceableView, IDisposable
Inheritance
BasePageReloadable
Implements
Derived
Inherited Members
Extension Methods

Constructors

BasePageReloadable()

public BasePageReloadable()

Properties

CountReloads

public int CountReloads { get; protected set; }

Property Value

int

IsDisposed

public bool IsDisposed { get; protected set; }

Property Value

bool

Methods

Build()

Build code-behind constructed page

public virtual void Build()

Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

public void Dispose()

Dispose(bool)

protected virtual void Dispose(bool isDisposing)

Parameters

isDisposing bool

OnHandlerChanged()

When overridden in a derived class, should raise the HandlerChanged event.

protected override void OnHandlerChanged()

Remarks

It is the implementor's responsibility to raise the HandlerChanged event.

ReloadUi(Type[])

Reload code-behind constructed page

protected virtual void ReloadUi(Type[] obj)

Parameters

obj Type[]