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