Share via


ModelService Members

Include Protected Members
Include Inherited Members

Provides the main entry point that the designer uses to obtain the editing model.

The ModelService type exposes the following members.

Constructors

 

Name

Description

Protected method

ModelService

Initializes a new instance of the ModelService class.

Top

Methods

 

Name

Description

Protected method

CreateItem

Overloaded. When overridden in a derived class, creates a model item that is a deep copy of the specified instance.

Protected method

CreateStaticMemberItem

When overridden in a derived class, creates a new model item that represents the value of a static member of the specified class.

Public method

Equals

Determines whether the specified Object is equal to the current Object. (Inherited from Object.)

Protected method

Finalize

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)

Public method

Find

Overloaded. When overridden in a derived class, finds matching model items for a specified starting point.

Public method

FromName

Overloaded. Finds the model item in the specified scope with the specified name.

Public method

GetHashCode

Serves as a hash function for a particular type. (Inherited from Object.)

Public method

GetType

Gets the type of the current instance. (Inherited from Object.)

Protected method

MemberwiseClone

Creates a shallow copy of the current Object. (Inherited from Object.)

Public method

ToString

Returns a string that represents the current object. (Inherited from Object.)

Top

Properties

 

Name

Description

Public property

Root

When overridden in a derived class, gets the root of the object hierarchy.

Top

Events

 

Name

Description

Public event

ModelChanged

When overridden in a derived class, occurs when an item in the model has changed.

Top

See Also

Reference

ModelService Class

Microsoft.Windows.Design.Services Namespace