Effects.SetShadow(FrameworkElement, AttachedShadowBase) 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.
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