Enumeration that controls whether properties should be written as elements or attributes.
Namespace: yWorks.yFiles.GraphML.XamlAssembly: yWorks.yFilesWPF.Viewer (in yWorks.yFilesWPF.Viewer.dll) Version: 2.2.0.2 (2.2.0.2)
Syntax
| C# |
|---|
[ObfuscationAttribute(StripAfterObfuscation = false, Exclude = true)] public enum XamlAttributeWriteMode |
| Visual Basic |
|---|
<ObfuscationAttribute(StripAfterObfuscation := False, Exclude := True)> _ Public Enumeration XamlAttributeWriteMode |
Members
| Member name | Description | ||
|---|---|---|---|
| Auto | 0 | Specifies that the write mode of a member should be determined automatically according to the current property value and the presence of TypeConverters, ValueSerializers and the like. | |
| Never | 1 | Never write as a XML attribute, even if a possible conversion exists. | |
| Always | 2 | Always write as XML attribute. |