IVisualElement2 Interface

Definition

Provides a method that retrieves an object's underlying Visual.

public interface class IVisualElement2
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 786432)]
/// [Windows.Foundation.Metadata.Guid(2570774688, 24663, 24128, 145, 140, 224, 110, 11, 126, 124, 100)]
struct IVisualElement2
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 786432)]
[Windows.Foundation.Metadata.Guid(2570774688, 24663, 24128, 145, 140, 224, 110, 11, 126, 124, 100)]
public interface IVisualElement2
Public Interface IVisualElement2
Attributes

Windows requirements

Device family
Windows 10, version 2104 (introduced in 10.0.20348.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v12.0)

Remarks

When an object, like UIElement, implements this interface, the composition engine can call GetVisualInternal to get its underlying Visual.

Methods

GetVisualInternal()

Retrieves the Visual that the element resolves to.

Applies to