Muokkaa

Jaa


ViewService Class

Definition

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 null if there is no model that matches the view.

GetType()

Gets the Type of the current instance.

(Inherited from Object)
GetView(ModelItem)

Returns the view corresponding to the given model, or null if there is no view for the model.

MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to