ViewService Class
The ViewService class maps visuals to underlying model items.
Assembly: System.Activities.Presentation (in System.Activities.Presentation.dll)
System.Activities.Presentation.Services::ViewService
System.Activities.Presentation.View::WorkflowViewService
| Name | Description | |
|---|---|---|
![]() | ViewService() | Creates a new ViewService. |
| Name | Description | |
|---|---|---|
![]() | Equals(Object^) | Determines whether the specified object is equal to the current object.(Inherited from Object.) |
![]() | Finalize() | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.) |
![]() | GetHashCode() | Serves as the default hash function. (Inherited from Object.) |
![]() | GetModel(DependencyObject^) | Returns the model corresponding to the view, or null if there is no model that matches the view. |
![]() | GetType() | |
![]() | GetView(ModelItem^) | Returns the view corresponding to the given model, or null if there is no view for the model. |
![]() | MemberwiseClone() | |
![]() | ToString() | Returns a string that represents the current object.(Inherited from Object.) |
The ModelService and ViewService classes are required for the designer to function. The T:System.Activities.Design.View.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.
Available since 4.0
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

