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