ViewService 类
更新:2007 年 11 月
将可视对象与编辑模型项相关联。
命名空间: Microsoft.Windows.Design.Services
程序集: Microsoft.Windows.Design.Interaction(在 Microsoft.Windows.Design.Interaction.dll 中)
语法
声明
Public MustInherit Class ViewService
用法
Dim instance As ViewService
public abstract class ViewService
public ref class ViewService abstract
public abstract class ViewService
备注
ViewService 类将可视对象映射到基础模型项。设计器需要 ModelService 和 ViewService 类才能发挥作用。DesignerView 类负责处理用户输入并将用户输入传送到命令,该类需要这两种服务才能将用户输入映射回模型。
继承层次结构
System.Object
Microsoft.Windows.Design.Services.ViewService
线程安全
此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。但不保证所有实例成员都是线程安全的。
另请参见
参考
Microsoft.Windows.Design.Services 命名空间