Table of Contents

Enum FormXamlDiagnosticKind

Namespace
RDCore.Forms.Xaml
Assembly
RDCore.Forms.dll

What a read of an RDForms document reports.

public enum FormXamlDiagnosticKind

Fields

InvalidValue = 8

A property's value cannot be read as its type, or is outside its range, so it is kept as an UnmodelledProperty.

MalformedDocument = 0

The document is not well-formed XML, declares a DTD, or is larger than MaxDocumentCharacters, so it holds no form.

MisplacedComponent = 6

A component is placed in one that cannot hold it, such as a control in a CommandButton, so it is placed in the nearest enclosing component that can.

NamelessComponent = 3

A component has no Name, so it is kept as an UnmodelledComponent. A root with no name leaves the document with no form.

NestingTooDeep = 4

A component is nested deeper than MaxNestingDepth components, so it is kept as an UnmodelledComponent, its own contents included.

NewerFormatVersion = 2

The document's FormatVersion is later than FormatVersion. It is read anyway: what this version does not know is reported as it is met.

NotAForm = 1

The document's root element is not a Form, an MDIForm, a UserControl or a PropertyPage in the Namespace namespace, so it holds no form.

UnknownProperty = 7

An attribute or a property element names no property of the component's class, so it is kept as an UnmodelledProperty.

UnmodelledElement = 5

An element is not a class of the model, nor an element the format has in that place, so it is kept as an UnmodelledComponent.

UnplaceableComponent = 9

A component can be placed in none of the components it is written in, such as a Page outside a MultiPage, so it is kept as an UnmodelledComponent, its own contents included.