[]
Serializes Brush in XML.
public static void WriteBrush(this XmlWriter writer, Brush brush, string propertyName = null)
| Type | Name | Description |
|---|---|---|
| XmlWriter | writer | The System.Xml.XmlWriter stream to which the object is serialized. |
| Brush | brush | The Brush to serialize. |
| string | propertyName |
| Type | Condition |
|---|---|
| ArgumentNullException | |
| NotSupportedException |