internal override void AddNodeTo(XamlProperty property) { if (!UpdateXmlAttribute(true)) { property.AddChildNodeToProperty(element); } UpdateMarkupExtensionChain(); }
internal override void AddNodeTo(XamlProperty property) { if (attribute != null) { property.ParentObject.XmlElement.Attributes.Append(attribute); } else if (textValue != null) { attribute = property.SetAttribute(textValue); textValue = null; } else if (cDataSection != null) { property.AddChildNodeToProperty(cDataSection); } else { property.AddChildNodeToProperty(textNode); } }
internal override void AddNodeTo(XamlProperty property) { XamlObject holder; if (!UpdateXmlAttribute(true, out holder)) { property.AddChildNodeToProperty(element); } UpdateMarkupExtensionChain(); }
internal override void AddNodeTo(XamlProperty property) { if (attribute != null) { property.ParentObject.XmlElement.Attributes.Append(attribute); } else if (textValue != null) { attribute = property.SetAttribute(textValue); textValue = null; } else if (cDataSection != null) { property.AddChildNodeToProperty(cDataSection); } else { property.AddChildNodeToProperty(textNode); } }