EditingContext.CreateServiceManager Method

Creates an instance of the service manager to be returned from the Services property.

Namespace:  Microsoft.Windows.Design
Assembly:  Microsoft.Windows.Design.Extensibility (in Microsoft.Windows.Design.Extensibility.dll)

Syntax

'Declaration
Protected Overridable Function CreateServiceManager As ServiceManager
protected virtual ServiceManager CreateServiceManager()
protected:
virtual ServiceManager^ CreateServiceManager()
abstract CreateServiceManager : unit -> ServiceManager 
override CreateServiceManager : unit -> ServiceManager 
protected function CreateServiceManager() : ServiceManager

Return Value

Type: Microsoft.Windows.Design.ServiceManager
An implementation of the ServiceManager class.

Remarks

The default implementation creates a ServiceManager that supports delayed activation of design editor managers through the declaration of a SubscribeServiceCallback<TServiceType>.

.NET Framework Security

See Also

Reference

EditingContext Class

Microsoft.Windows.Design Namespace

ServiceManager

ContextItemManager

ContextItem

FeatureManager

Other Resources

Editing Context Architecture

Understanding WPF Designer Extensibility