Class ChainDropShadowsEffect
[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
Properties
NeedApply
public override bool NeedApply { get; }
Property Value
Shadows
public IList<SkiaShadow> Shadows { get; set; }
Property Value
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
ctxDrawingContextdrawControlAction<DrawingContext>
Returns
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()