VisualTargetPresentationSource 类

仅由 Microsoft 内部使用。

继承层次结构

System.Object
  System.Windows.Threading.DispatcherObject
    System.Windows.PresentationSource
      Microsoft.Internal.VisualStudio.PlatformUI.VisualTargetPresentationSource

命名空间:  Microsoft.Internal.VisualStudio.PlatformUI
程序集:  Microsoft.VisualStudio.Shell.11.0(在 Microsoft.VisualStudio.Shell.11.0.dll 中)

语法

声明
Public Class VisualTargetPresentationSource _
    Inherits PresentationSource _
    Implements IDisposable
public class VisualTargetPresentationSource : PresentationSource, 
    IDisposable

VisualTargetPresentationSource 类型公开以下成员。

构造函数

  名称 说明
公共方法 VisualTargetPresentationSource 仅由 Microsoft 内部使用。

页首

属性

  名称 说明
公共属性 CompositionTarget 获取源中存在的可视的可视化目标。 (继承自 PresentationSource。)
公共属性 Dispatcher 获取与此 DispatcherObject 关联的 Dispatcher。 (继承自 DispatcherObject。)
公共属性 IsDisposed 不支持。仅由 Microsoft 内部使用。 (重写 PresentationSource.IsDisposed。)
公共属性 RootVisual 仅由 Microsoft 内部使用。 (重写 PresentationSource.RootVisual。)

页首

方法

  名称 说明
受保护的方法 AddSource 添加 PresentationSource 派生类的实例到已知的表示源列表。 (继承自 PresentationSource。)
公共方法 CheckAccess 确定调用线程是否可以访问此 DispatcherObject。 (继承自 DispatcherObject。)
受保护的方法 ClearContentRenderedListeners 设置侦听器列表 ContentRendered 事件于 nullnull 引用(在 Visual Basic 中为 Nothing)。 (继承自 PresentationSource。)
公共方法 Dispose()
受保护的方法 Dispose(Boolean)
公共方法 Equals 确定指定的对象是否等于当前对象。 (继承自 Object。)
受保护的方法 Finalize (重写 Object.Finalize()。)
受保护的方法 GetCompositionTargetCore 仅由 Microsoft 内部使用。 (重写 PresentationSource.GetCompositionTargetCore()。)
公共方法 GetHashCode 用作特定类型的哈希函数。 (继承自 Object。)
公共方法 GetType 获取当前实例的 Type。 (继承自 Object。)
受保护的方法 MemberwiseClone 创建当前 Object 的浅表副本。 (继承自 Object。)
受保护的方法 RemoveSource 从已知的表示源列表中移除 PresentationSource 派生类的实例。 (继承自 PresentationSource。)
受保护的方法 RootChanged 提供根 Visual 更改的通知。 (继承自 PresentationSource。)
公共方法 ToString 返回表示当前对象的字符串。 (继承自 Object。)
公共方法 VerifyAccess 强制调用线程具有此 DispatcherObject 的访问权限。 (继承自 DispatcherObject。)

页首

事件

  名称 说明
公共事件 ContentRendered 发生,呈现内容时并为用户交互准备。 (继承自 PresentationSource。)

页首

线程安全

此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。但不保证所有实例成员都是线程安全的。

请参见

参考

Microsoft.Internal.VisualStudio.PlatformUI 命名空间