14 references to Save
PresentationFramework (4)
MS\Internal\Ink\ClipboardProcessor.cs (1)
339string xml = XamlWriter.Save(elements[i]);
MS\Internal\Ink\XamlClipboardData.cs (1)
77xml = XamlWriter.Save(element);
System\Windows\Documents\TextRangeSerialization.cs (1)
1074string complexPropertyXml = System.Windows.Markup.XamlWriter.Save(propertyEntry.Value);
System\Windows\Documents\TextTreeDeleteContentUndoUnit.cs (1)
257string xml = XamlWriter.Save(objectNode.EmbeddedElement);
WindowsBase.Tests (10)
System\Windows\Markup\Primitives\MarkupPropertyTests.cs (10)
434Assert.NotEmpty(XamlWriter.Save(instance)); 443Assert.NotEmpty(XamlWriter.Save(instance)); 452Assert.Throws<InvalidOperationException>(() => XamlWriter.Save(instance)); 466Assert.Throws<InvalidOperationException>(() => XamlWriter.Save(instance)); 476Assert.NotEmpty(XamlWriter.Save(instance)); 488Assert.NotEmpty(XamlWriter.Save(instance)); 501Assert.NotEmpty(XamlWriter.Save(instance)); 514Assert.Throws<InvalidOperationException>(() => XamlWriter.Save(instance)); 532Assert.Throws<InvalidOperationException>(() => XamlWriter.Save(instance)); 541Assert.NotEmpty(XamlWriter.Save(instance));