Dela via


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

Handles reading and writing markup (XAML) documents.

The MarkupDocumentManager type exposes the following members.

Constructors

 

Name

Description

Public method

MarkupDocumentManager

Overloaded. Initializes a new instance of the MarkupDocumentManager class.

Top

Methods

 

Name

Description

Protected method

CreateMarkupTree

Creates the MarkupDocumentTreeManager that is used to load and save the document.

Protected method

CreateModelTree

Creates the ModelDocumentTreeManager that is used to create and maintain the editing model for the designer.

Protected method

CreateViewManager

Creates the ViewManager that is used to create and maintain the view for the designer.

Public method

Dispose

Releases all resources used by the MarkupDocumentManager.

Public method

Equals

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

Protected method

Finalize

Finalizer for MarkupDocumentManager. (Overrides Object.Finalize().)

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.

Public method

GetType

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

Protected method

IsViewManagerSupported

Returns whether there is a valid ViewManager and view that is supported.

Public method

Load

Overloaded. Loads the specified document.

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

Public method

Update

Updates the model based on changes that are made to the source.

Top

Properties

 

Name

Description

Protected property

Context

Gets access to the editing context of the designer.

Protected property

FeatureManager

Gets access to the extension manager provided in the constructor.

Public property

LoadState

Gets the load state of this document.

Public property

MarkupFormatting

Gets or sets formatting rules that are used when formatting markup changes are made to the document.

Public property

Root

Gets the root ModelItem of the model.

Public property

View

Gets the root visual of the view.

Top

Events

 

Name

Description

Public event

UndoUnitAborted

Occurs when an undo unit is aborted.

Public event

UndoUnitCreated

Occurs when an undo unit is created.

Public event

UndoUnitOpened

Occurs when an undo unit is opened.

Top

See Also

Reference

MarkupDocumentManager Class

Microsoft.Windows.Design.Documents Namespace