ElementCompositionPreview.GetElementChildVisual(UIElement) 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.
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
Returns
A Windows.UI.Composition.Visual object previously set by a call to SetElementChildVisual.
Windows requirements
Device family |
Windows 10 (introduced in 10.0.10586.0)
|
API contract |
Windows.Foundation.UniversalApiContract (introduced in v2.0)
|