ElementCompositionPreview.SetElementChildVisual(UIElement, Visual) 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.
Sets a custom Windows.UI.Composition.Visual as the last child of the element’s visual tree.
public:
static void SetElementChildVisual(UIElement ^ element, Visual ^ visual);
static void SetElementChildVisual(UIElement const& element, Visual const& visual);
public static void SetElementChildVisual(UIElement element, Visual visual);
function setElementChildVisual(element, visual)
Public Shared Sub SetElementChildVisual (element As UIElement, visual As Visual)
Parameters
Remarks
The Visual is added as the last child, therefore on top of the rest of the element in z-order.