Table of Contents

Class DisposableContentPage

Namespace
Alternet.UI
Assembly
Alternet.UI.Maui.dll

Extends ContentPage with IDisposable support.

public class DisposableContentPage : ContentPage, INotifyPropertyChanged, IVisualTreeElement, IEffectControlProvider, IToolTipElement, IContextFlyoutElement, IAnimatable, ILayout, IPageController, IVisualElementController, IElementController, IElementConfiguration<Page>, ITitledElement, IToolbarElement, ISafeAreaView, IContentView, IPadding, ICrossPlatformLayout, IHotReloadableView, IView, IElement, ITransform, IReplaceableView, IDisposableObject, IDisposable, IBaseObject
Inheritance
DisposableContentPage
Implements
Derived

Constructors

DisposableContentPage()

Initializes a new instance of the DisposableContentPage class.

Properties

Disposing

Gets whether object is currently disposing.

DisposingOrDisposed

Gets whether object is disposing or disposed.

IsDisposed

Gets whether object is disposed.

Methods

CheckDisposed()

Throws ObjectDisposedException if IsDisposed is true.

Dispose()
Dispose(bool)

Disposes object's resources.

DisposeResources()

Override to dispose resources. Here we dispose all used object references.

~DisposableContentPage()

Finalizes an instance of the DisposableContentPage class.

OnAppearing()

When overridden in a derived class, allows application developers to customize behavior immediately prior to the page becoming visible.

OnAppearingOnce()

Called once when the page appears for the first time.

Required()

Does nothing.

SafeDisposeObject<T>(ref T?)

Safely disposes specified object which supports IDisposableObject interface.

SafeDispose<T>(ref T?)

Safely disposes specified object which supports IDisposable interface.

Events

Disposed

Occurs when control is disposed.