Effects.SetShadow(FrameworkElement, AttachedShadowBase) Method

Definition

Attaches a shadow to an element by setting the ShadowProperty property.

public static void SetShadow (Windows.UI.Xaml.FrameworkElement obj, Microsoft.Toolkit.Uwp.UI.AttachedShadowBase value);
static member SetShadow : Windows.UI.Xaml.FrameworkElement * Microsoft.Toolkit.Uwp.UI.AttachedShadowBase -> unit
Public Shared Sub SetShadow (obj As FrameworkElement, value As AttachedShadowBase)

Parameters

obj
Windows.UI.Xaml.FrameworkElement

The Windows.UI.Xaml.FrameworkElement to attach the shadow to.

value
AttachedShadowBase

The AttachedShadowBase that will be attached to the element

Applies to