Dela via


Microsoft.Windows.Design.Documents Namespace

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

Provides an infrastructure for handling XAML documents in the Windows Presentation Foundation (WPF) Designer for Visual Studio.

Classes

  Class Description
Public class DocumentUndoUnitCreatedEventArgs Infrastructure. Provides data for the UndoUnitCreated event.
Public class ImplicitKeyAttribute Infrastructure. An attribute to assign to a class if the class that should be used as an implicit key when it is added to a dictionary during serialization.
Public class InstanceExtension Infrastructure. Holds a list of weak references to instances.
Public class MarkupDocumentManager Infrastructure. Handles reading and writing markup (XAML) documents.
Public class MarkupFormatting Infrastructure. Provides a way to access external formatting options that can be used for serializing changes that were made in the designer.
Public class SourceTextChangeEventArgs Infrastructure. Provides data regarding a source modification.
Public class ViewManager Infrastructure. Manages and provides the view for the designer.
Public class ViewManagerAttribute Infrastructure. An attribute that can be added on the root of a model object graph to specify what view manager should be used to present the view.

Interfaces

  Interface Description
Public interface IDocumentUndoUnit Infrastructure. An undo unit which can be produced by a DocumentTreeManager.
Public interface IIdentityProviderService Infrastructure. Service that is used to produce unique identities for instances.
Public interface ILoadStateProvider Infrastructure. Provides a load state.
Public interface IMarkupErrorMessage Infrastructure. An interface for reporting error messages in markup source files.
Public interface IMarkupLocation Infrastructure. Represents the location of a range of characters in a markup source file.
Public interface IMarkupLocationProvider Infrastructure. Represents the source location for a node.
Public interface IMarkupProjectContext Infrastructure. Provides additional project-level information when parsing a markup file.
Public interface IMarkupSourceProvider Infrastructure. Interface to the host provider of source to the MarkupDocumentTreeManager class.

Enumerations

  Enumeration Description
Public enumeration DocumentLoadState Infrastructure. Represents what was loaded.
Public enumeration MarkupErrorMessageCategory Infrastructure. Represents a collection of values that identify types or severity of error messages.
Public enumeration UpdateState Infrastructure. Used to indicate to the markup source provider the update state of a document.