Enum FormXamlDiagnosticKind
- Namespace
- RDCore.Forms.Xaml
- Assembly
- RDCore.Forms.dll
What a read of an RDForms document reports.
public enum FormXamlDiagnosticKind
Fields
InvalidValue = 8A property's value cannot be read as its type, or is outside its range, so it is kept as an UnmodelledProperty.
MalformedDocument = 0The document is not well-formed XML, declares a DTD, or is larger than MaxDocumentCharacters, so it holds no form.
MisplacedComponent = 6A 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 = 3A component has no
Name, so it is kept as an UnmodelledComponent. A root with no name leaves the document with no form.NestingTooDeep = 4A component is nested deeper than MaxNestingDepth components, so it is kept as an UnmodelledComponent, its own contents included.
NewerFormatVersion = 2The document's
FormatVersionis later than FormatVersion. It is read anyway: what this version does not know is reported as it is met.NotAForm = 1The 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 = 7An attribute or a property element names no property of the component's class, so it is kept as an UnmodelledProperty.
UnmodelledElement = 5An 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 = 9A 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.