Click or drag to resize

CommonHelperTextToXmlAttribute(XmlWriter, String, String, String) Method

Only persist the provided name/value pair as an Xml attribute if the value is not null/empty and not the default.

Namespace: Internal.ComponentFactory.Krypton.Toolkit
Assembly: NeoAxis.Core.Editor (in NeoAxis.Core.Editor.dll) Version: 2026.1.1.0 (2026.1.1.0)
Syntax
C#
public static void TextToXmlAttribute(
	XmlWriter xmlWriter,
	string name,
	string value,
	string def
)

Parameters

xmlWriter  XmlWriter
Xml writer to save information into.
name  String
Attribute name.
value  String
Attribute value.
def  String
Default value.
See Also