Effects.GetShadow(FrameworkElement) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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