Udostępnij za pośrednictwem


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 (in Microsoft.Windows.Design.dll)

Syntax

'Declaration
Protected Overridable Function CreateServiceManager As ServiceManager
'Usage
Dim returnValue As ServiceManager 

returnValue = Me.CreateServiceManager()
protected virtual ServiceManager CreateServiceManager()
protected:
virtual ServiceManager^ CreateServiceManager()
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<ServiceType>.

.NET Framework Security

See Also

Reference

EditingContext Class

EditingContext Members

Microsoft.Windows.Design Namespace

ServiceManager

ContextItemManager

ContextItem

FeatureManager

Other Resources

Editing Context Architecture

Understanding WPF Designer Extensibility