IAttachedShadow.GetElementContext(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.
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.