Udostępnij za pośrednictwem


ViewService Class

Associates visuals and editing model items.

Namespace:  Microsoft.Windows.Design.Services
Assembly:  Microsoft.Windows.Design.Interaction (in Microsoft.Windows.Design.Interaction.dll)

Syntax

'Declaration
Public MustInherit Class ViewService
'Usage
Dim instance As ViewService
public abstract class ViewService
public ref class ViewService abstract
public abstract class ViewService

Remarks

The ViewService class maps visuals to underlying model items. The ModelService and ViewService classes are required for the designer to function. The DesignerView class, which is responsible for processing user input and routing it to commands, requires both of these services to map user input back to the model.

Inheritance Hierarchy

System.Object
  Microsoft.Windows.Design.Services.ViewService

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

ViewService Members

Microsoft.Windows.Design.Services Namespace

ModelItem

DesignerView

ModelService

Other Resources

Editing Model Architecture

WPF Designer Extensibility