Share via


IVisualElement2 Interface

Definition

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

public interface class IVisualElement2
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.Foundation.LiftedContract, 65536)]
/// [Windows.Foundation.Metadata.Guid(3163884685, 7600, 21418, 157, 238, 52, 39, 28, 209, 140, 230)]
struct IVisualElement2
/// [Windows.Foundation.Metadata.Guid(3163884685, 7600, 21418, 157, 238, 52, 39, 28, 209, 140, 230)]
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.Foundation.WindowsAppSDKContract, 65536)]
struct IVisualElement2
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.Foundation.LiftedContract), 65536)]
[Windows.Foundation.Metadata.Guid(3163884685, 7600, 21418, 157, 238, 52, 39, 28, 209, 140, 230)]
public interface IVisualElement2
[Windows.Foundation.Metadata.Guid(3163884685, 7600, 21418, 157, 238, 52, 39, 28, 209, 140, 230)]
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.Foundation.WindowsAppSDKContract), 65536)]
public interface IVisualElement2
Public Interface IVisualElement2
Derived
Attributes

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

See also