Table of Contents

Class ChainDropShadowsEffect

Namespace
DrawnUi.Draw
Assembly
DrawnUi.Maui.dll
[ContentProperty("Shadows")]
public class ChainDropShadowsEffect : BaseChainedEffect, INotifyPropertyChanged, IDisposable, IRenderEffect, ISkiaEffect, ICanBeUpdatedWithContext, ICanBeUpdated
Inheritance
ChainDropShadowsEffect
Implements
Inherited Members
Extension Methods

Fields

ShadowsProperty

public static readonly BindableProperty ShadowsProperty

Field Value

BindableProperty

Properties

NeedApply

public override bool NeedApply { get; }

Property Value

bool

Shadows

public IList<SkiaShadow> Shadows { get; set; }

Property Value

IList<SkiaShadow>

Methods

Draw(DrawingContext, Action<DrawingContext>)

Returns true if has drawn control itsself, otherwise it will be drawn over it

public override ChainEffectResult Draw(DrawingContext ctx, Action<DrawingContext> drawControl)

Parameters

ctx DrawingContext
drawControl Action<DrawingContext>

Returns

ChainEffectResult

OnBindingContextChanged()

Raises the BindingContextChanged event.

protected override void OnBindingContextChanged()

OnDisposing()

protected override void OnDisposing()

Update()

You MUST clear any cached resources as soon as this is called. Not on next draw!

public override void Update()