Dela via


ModelDocumentTreeManager Members

Include Protected Members
Include Inherited Members

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

A manager for model document trees.

The ModelDocumentTreeManager type exposes the following members.

Constructors

 

Name

Description

Public method

ModelDocumentTreeManager

Overloaded. Initializes a new instance of the ModelDocumentTreeManager class.

Top

Methods

 

Name

Description

Public method

ApplyDelta

Applies the changes returned from the ProduceDelta method to this document. (Inherited from DocumentTreeManager.)

Public method

ApplyEditingScopeDelta

Applies the changes that were accumulated in an editing scope.

Public method

CreateDocumentItem

Creates a document item representing the specified model item.

Public method

CreateModelItem

Creates a model item representing the specified document item.

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.)

Protected method

FindChildIdentitiesBetween

Searches the tree for identities between a specified range. (Inherited from DocumentTreeManager.)

Public method

FindDocumentNode

Returns the document node associated with the specified identity. (Inherited from DocumentTreeManager.)

Protected method

FindNode

Locates a node with the specified identity. (Overrides DocumentTreeManager.FindNode(Identity).)

Public method

FromIdentity

Returns the model item associated with the specified identity.

Public method

GetHashCode

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

Public method

GetIdentity

Returns the identity of the specified item.

Protected method

GetItemContainer

Returns the property that refers to this item. (Inherited from DocumentTreeManager.)

Protected method

GetPropertyContainer

Returns the item that contains this property. (Inherited from DocumentTreeManager.)

Protected method

GetService

Returns the services that are used by this document tree manager.

Public method

GetType

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

Protected method

Initialize

Initializes the DocumentTreeManager class. (Inherited from DocumentTreeManager.)

Public method

Load

Overloaded. Loads the content of the document manager's document.

Protected method

MemberwiseClone

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

Protected method

OnDamaged

Raises the Damaged event. (Inherited from DocumentTreeManager.)

Protected method

OnEditingScopeAborted

Raises the EditingScopeAborted event.

Protected method

OnEditingScopeCommitted

Raises the EditingScopeCommitted event.

Protected method

OnEditingScopeCreated

Raises the EditingScopeCreated event.

Protected method

ProcessCommitResult

Processes the CommitResult object. (Overrides DocumentTreeManager.ProcessCommitResult(CommitResult).)

Public method

ProduceDelta

Overloaded. Produces an object that represents the differences between documents.

Public method

ReportDamage

Records a change made to the underlying document tree. (Inherited from DocumentTreeManager.)

Protected method

StartTrackingDamage

Indicates to star tracking damage. (Inherited from DocumentTreeManager.)

Protected method

StopTrackingDamage

Indicates to stop tracking damage. (Inherited from DocumentTreeManager.)

Public method

SynchronizeWith

Overloaded. Synchronize changes between documents.

Public method

ToString

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

Public method

TrackDamage

Tracks changes recorded for the document. (Inherited from DocumentTreeManager.)

Public method

Update

Updates the model with any changes from external model resources.

Top

Properties

 

Name

Description

Public property

DocumentTree

Gets the document tree associated with this document tree manager. (Inherited from DocumentTreeManager.)

Public property

Root

Gets the root item in the model document tree.

Top

Events

 

Name

Description

Public event

Damaged

Occurs when a change is recorded. (Inherited from DocumentTreeManager.)

Public event

EditingScopeAborted

Occurs when an editing scope is aborted.

Public event

EditingScopeCommitted

Occurs when an editing scope is committed.

Public event

EditingScopeCreated

Occurs when a new editing scope is created.

Top

Explicit Interface Implementations

 

Name

Description

Explicit interface implemetationPrivate method

IServiceProvider.GetService

Provides the identity provider service for other document tree managers. For a description of this member, see IServiceProvider.GetService.

Top

See Also

Reference

ModelDocumentTreeManager Class

Microsoft.Windows.Design.Documents.Trees Namespace