17 references to XamlWriter
PresentationFramework (7)
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);
System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
847case 753: t = () => typeof(System.Windows.Markup.XamlWriter); break; // ambiguous
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
12731typeof(System.Windows.Markup.XamlWriter),
System\Windows\Markup\KnownTypes.cs (1)
6301case KnownElements.XamlWriter: t = typeof(System.Windows.Markup.XamlWriter); break;
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));