ViewService Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The ViewService class maps visuals to underlying model items.
public ref class ViewService abstract
public abstract class ViewService
type ViewService = class
Public MustInherit Class ViewService
- Inheritance
-
ViewService
- Derived
Remarks
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.
Constructors
ViewService() |
Creates a new ViewService. |
Methods
Equals(Object) |
Determines whether the specified object is equal to the current object. (Inherited from Object) |
GetHashCode() |
Serves as the default hash function. (Inherited from Object) |
GetModel(DependencyObject) |
Returns the model corresponding to the view, or |
GetType() |
Gets the Type of the current instance. (Inherited from Object) |
GetView(ModelItem) |
Returns the view corresponding to the given model, or |
MemberwiseClone() |
Creates a shallow copy of the current Object. (Inherited from Object) |
ToString() |
Returns a string that represents the current object. (Inherited from Object) |