Enumeration that controls whether properties should be written as elements or attributes.
Namespace: yWorks.yFiles.GraphML.XamlAssembly: yWorks.yFilesSilverlight.Viewer (in yWorks.yFilesSilverlight.Viewer.dll) Version: 2.1.0.2
Syntax
| C# |
|---|
public enum XamlAttributeWriteMode |
| Visual Basic |
|---|
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. |