Share via


IVisualElement2 Interface

Définition

Fournit une méthode qui récupère le visuel sous-jacent d’un objet.

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
Dérivé
Attributs

Remarques

Lorsqu’un objet, comme UIElement, implémente cette interface, le moteur de composition peut appeler GetVisualInternal pour obtenir son sous-jacent Visual.

Méthodes

GetVisualInternal()

Récupère le Visual auquel l’élément est résolu.

S’applique à

Voir aussi