Table of Contents

Class SkiaShell.ModalWrapper

Namespace
DrawnUi.Controls
Assembly
DrawnUi.Maui.dll
public class SkiaShell.ModalWrapper : ContentLayout, INotifyPropertyChanged, IEffectControlProvider, IToolTipElement, IContextFlyoutElement, IAnimatable, IVisualElementController, IElementController, IView, ITransform, IElement, IVisualTreeElement, IContainer, IList<IView>, ICollection<IView>, IEnumerable<IView>, IEnumerable, IHasAfterEffects, ISkiaDisposable, ISkiaGridLayout, ISkiaLayout, ISkiaControl, IDrawnBase, ICanBeUpdatedWithContext, ICanBeUpdated, ILayoutInsideViewport, IInsideViewport, IDisposable, IVisibilityAware, ISkiaGestureListener, IWithContent
Inheritance
SkiaShell.ModalWrapper
Implements
Inherited Members
Extension Methods

Constructors

ModalWrapper(bool, bool, bool, Color, SkiaShell)

public ModalWrapper(bool useGestures, bool animated, bool willFreeze, Color backgroundColor, SkiaShell shell)

Parameters

useGestures bool
animated bool
willFreeze bool
backgroundColor Color
shell SkiaShell

Properties

Backdrop

public SkiaBackdrop Backdrop { get; protected set; }

Property Value

SkiaBackdrop

Drawer

public SkiaDrawer Drawer { get; }

Property Value

SkiaDrawer

IsFrozen

public bool IsFrozen { get; set; }

Property Value

bool

Methods

Draw(DrawingContext)

protected override void Draw(DrawingContext context)

Parameters

context DrawingContext

DrawViews(DrawingContext)

Base method will call RenderViewsList. Return number of drawn views.

protected override int DrawViews(DrawingContext context)

Parameters

context DrawingContext

Returns

int

OnWillDisposeWithChildren()

The OnDisposing might come with a delay to avoid disposing resources at use. This method will be called without delay when Dispose() is invoked. Disposed will set to True and for Views their OnWillDisposeWithChildren will be called.

public override void OnWillDisposeWithChildren()

SetContent(SkiaControl)

protected override void SetContent(SkiaControl view)

Parameters

view SkiaControl

SetupAppearingAnimation(SkiaControl)

public virtual void SetupAppearingAnimation(SkiaControl content)

Parameters

content SkiaControl

WrapContent(SkiaControl)

public virtual void WrapContent(SkiaControl content)

Parameters

content SkiaControl