ElementCompositionPreview.GetContainerVisual(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 the Windows.UI.Composition.Visual object that backs a XAML container in the XAML composition tree.
public:
static Platform::Object ^ GetContainerVisual(UIElement ^ element);
static IInspectable GetContainerVisual(UIElement const& element);
public static object GetContainerVisual(UIElement element);
function getContainerVisual(element)
Public Shared Function GetContainerVisual (element As UIElement) As Object
Parameters
Returns
The Windows.UI.Composition.Visual object that backs the XAML element container.