IVisualElement2 接口

定义

提供检索对象的基础 视觉对象的方法。

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
派生
属性

注解

当对象(如 UIElement)实现此接口时,组合引擎可以调用 GetVisualInternal 来获取其基础 Visual

方法

GetVisualInternal()

检索 Visual 元素解析到的 。

适用于

另请参阅