Edit

Share via


IAttachedShadow.GetElementContext(FrameworkElement) Method

Definition

Get the associated AttachedShadowElementContext for the specified Windows.UI.Xaml.FrameworkElement.

public Microsoft.Toolkit.Uwp.UI.AttachedShadowElementContext GetElementContext (Windows.UI.Xaml.FrameworkElement element);
abstract member GetElementContext : Windows.UI.Xaml.FrameworkElement -> Microsoft.Toolkit.Uwp.UI.AttachedShadowElementContext
Public Function GetElementContext (element As FrameworkElement) As AttachedShadowElementContext

Parameters

element
Windows.UI.Xaml.FrameworkElement

Returns

The AttachedShadowElementContext for the element.

Applies to