Share via


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 const& element);
public static Visual GetElementChildVisual(UIElement element);
function getElementChildVisual(element)
Public Shared Function GetElementChildVisual (element As UIElement) As Visual

Parameters

element
UIElement

The element to retrieve the Visual for.

Returns

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

Applies to