Delen via


UpdateState Enumeration

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

Used to indicate to the markup source provider the update state of a document.

Namespace:  Microsoft.Windows.Design.Documents
Assembly:  Microsoft.Windows.Design.Markup (in Microsoft.Windows.Design.Markup.dll)

Syntax

'Declaration
Public Enumeration UpdateState
'Usage
Dim instance As UpdateState
public enum UpdateState
public enum class UpdateState
public enum UpdateState

Members

Member name Description
Success The changes that were made to the document resulted in a valid document and the listening document trees have been updated.
Failed The changes that were made to the document resulted in an invalid document and the listening documents do not represent the source.
Reload The changes that were made to the document require the document to be reinterpreted. This reinterpretation can be caused by a change to the root element type or by an internal error when trying to process the document change.

Remarks

The UpdateState enumeration indicates to the markup source provider whether changes that were made to the document successfully produced a new document or failed to produce a new document. UpdateState also indicates whether the changes require the document to be reinterpreted, such as the root type being changed.

See Also

Reference

Microsoft.Windows.Design.Documents Namespace

Other Resources

WPF Designer Extensibility