Table of Contents

Class BaseContentView

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

Represents a base class for content views in the library.

public class BaseContentView : ContentView, INotifyPropertyChanged, IEffectControlProvider, IToolTipElement, IContextFlyoutElement, IAnimatable, IViewController, IVisualElementController, IElementController, IGestureController, IGestureRecognizers, IPropertyMapperView, IHotReloadableView, IReplaceableView, ILayout, ILayoutController, IVisualTreeElement, IContentView, IView, IElement, ITransform, IPadding, ICrossPlatformLayout, IRaiseSystemColorsChanged
Inheritance
BaseContentView
Implements
Derived

Constructors

BaseContentView()

Initializes a new instance of the BaseContentView class.

Properties

IsDark

Gets a value indicating whether the current theme is dark.

ParentPage

Gets the parent page of the current view.

UniqueId

Gets the unique identifier associated with this object.

Methods

OnParentChanging(ParentChangingEventArgs)

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

OnParentSizeChanged(object?, EventArgs)

Handles the event when the size of the parent element changes.

OnPropertyChanged(string?)

Method that is called when a bound property is changed.

RaiseSystemColorsChanged()

Updates visual style of the control when the system colors are changed.

Required()

Marks object as required.