Share via


ExternalMarkupService Class

Defines methods for converting model items to markup text and for parsing markup text into model items.

Inheritance Hierarchy

System.Object
  Microsoft.Windows.Design.Services.ExternalMarkupService

Namespace:  Microsoft.Windows.Design.Services
Assembly:  Microsoft.Windows.Design.Interaction (in Microsoft.Windows.Design.Interaction.dll)

Syntax

'Declaration
Public MustInherit Class ExternalMarkupService
public abstract class ExternalMarkupService
public ref class ExternalMarkupService abstract
[<AbstractClass>]
type ExternalMarkupService =  class end
public abstract class ExternalMarkupService

The ExternalMarkupService type exposes the following members.

Constructors

  Name Description
Protected method ExternalMarkupService Initializes a new instance of the ExternalMarkupService class.

Top

Methods

  Name Description
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 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.)
Public method Load When overridden in a derived class, parses the specified markup text and returns a model item representing that text.
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method Save When overridden in a derived class, serializes the specified model item into well-formed markup text representing that model item.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)

Top

Remarks

By providing markup services, you can keep the design view and the XAML view of a model synchronized.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.Windows.Design.Services Namespace

ModelItem

Other Resources

WPF Designer Extensibility Architecture

XAML Parser Architecture