ElementCompositionPreview.GetElementChildVisual(UIElement) ElementCompositionPreview.GetElementChildVisual(UIElement) ElementCompositionPreview.GetElementChildVisual(UIElement) ElementCompositionPreview.GetElementChildVisual(UIElement) Method

Definition

Retrieves a Windows.UI.Composition.Visual object previously set by a call to SetElementChildVisual.

public : static Visual GetElementChildVisual(UIElement element)
static Visual GetElementChildVisual(UIElement element) const;
public static Visual GetElementChildVisual(UIElement element)
Public Shared Function GetElementChildVisual(element As UIElement) As Visual

Parameters

element
UIElement UIElement

The element to retrieve the Visual for.

Returns

A Windows.UI.Composition.Visual object previously set by a call to SetElementChildVisual.

Additional features and requirements

Device family
Windows 10 (introduced v10.0.10586.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v2)