Edit

Share via


Effects.GetShadow(FrameworkElement) Method

Definition

Gets the shadow attached to a Windows.UI.Xaml.FrameworkElement by getting the value of the ShadowProperty property.

public static Microsoft.Toolkit.Uwp.UI.AttachedShadowBase GetShadow (Windows.UI.Xaml.FrameworkElement obj);
static member GetShadow : Windows.UI.Xaml.FrameworkElement -> Microsoft.Toolkit.Uwp.UI.AttachedShadowBase
Public Shared Function GetShadow (obj As FrameworkElement) As AttachedShadowBase

Parameters

obj
Windows.UI.Xaml.FrameworkElement

The Windows.UI.Xaml.FrameworkElement the AttachedShadowBase is attached to.

Returns

The AttachedShadowBase that is attached to the obj

Applies to