Dela via


DocumentLoadState Enumeration

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

Represents what was loaded.

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

Syntax

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

Members

Member name Description
InvalidMarkup The markup could not be parsed and the type of the root element could not be determined or was determined not to be a designable class.
ValidMarkup The markup could be parsed, but no designer view can be created because the class does not have a root-designable element. ResourceDictionary is an example of a class that can be a root, but is not designable.
InvalidView The markup could not be parsed, but it was parsed enough to determine that the file, if valid, would have a root-designable element.
ValidView The markup could be parsed and represents a root-designable element.
LoadCanceled The document load was canceled before it could be completed.

See Also

Reference

Microsoft.Windows.Design.Documents Namespace

Other Resources

WPF Designer Extensibility