EditingContext.Services 属性

更新:2007 年 11 月

获取此编辑上下文的服务管理器。

命名空间:  Microsoft.Windows.Design
程序集:  Microsoft.Windows.Design(在 Microsoft.Windows.Design.dll 中)

语法

声明
Public ReadOnly Property Services As ServiceManager
用法
Dim instance As EditingContext
Dim value As ServiceManager

value = instance.Services
public ServiceManager Services { get; }
public:
property ServiceManager^ Services {
    ServiceManager^ get ();
}
public function get Services () : ServiceManager

属性值

类型:Microsoft.Windows.Design.ServiceManager

此编辑上下文的 ServiceManager

异常

异常 条件
InvalidOperationException

CreateServiceManager 方法已返回 nullnull 引用(在 Visual Basic 中为 Nothing)ServiceManager

权限

另请参见

参考

EditingContext 类

EditingContext 成员

Microsoft.Windows.Design 命名空间

ServiceManager

ContextItemManager

ContextItem

FeatureManager

其他资源

编辑上下文体系结构

了解 WPF 设计器扩展性