4 instantiations of WpfPayload
PresentationFramework (4)
System\Windows\Documents\WpfPayload.cs (4)
192WpfPayload wpfPayload = new WpfPayload(/*package:*/null); 243WpfPayload wpfPayload = new WpfPayload(/*package:*/null); 739return new WpfPayload(package); 760return new WpfPayload(package);
29 references to WpfPayload
PresentationFramework (29)
System\Windows\Documents\RtfToXamlReader.cs (2)
7920internal WpfPayload WpfPayload 11756private WpfPayload _wpfPayload;
System\windows\Documents\TextEditorCopyPaste.cs (8)
102string xamlTextWithImages = WpfPayload.SaveRange(This.Selection, ref wpfContainerMemory, /*useFlowDocumentAsRoot:*/false); 424xamlRtfConverter.WpfPayload = WpfPayload.OpenWpfPayload(wpfContainerMemory); 437WpfPayload wpfPayload = WpfPayload.CreateWpfPayload(memoryStream); 684MemoryStream packagedImage = WpfPayload.SaveImage(bitmapSource, WpfPayload.ImageBmpContentType); 705object element = WpfPayload.LoadElement(pastedMemoryStream); 782TextElement textElement = WpfPayload.LoadElement(memoryStream) as TextElement;
System\Windows\Documents\TextRangeBase.cs (4)
1522WpfPayload.SaveRange(thisRange, ref stream, /*useFlowDocumentAsRoot:*/false, preserveTextElements); 1529string xamlText = WpfPayload.SaveRange(thisRange, ref wpfPayloadMemory, /*useFlowDocumentAsRoot:*/false); 1570object element = WpfPayload.LoadElement(stream); 1587TextElement textElement = WpfPayload.LoadElement(memoryStream) as TextElement;
System\Windows\Documents\TextRangeSerialization.cs (5)
32internal static void WriteXaml(XmlWriter xmlWriter, ITextRange range, bool useFlowDocumentAsRoot, WpfPayload wpfPayload) 57internal static void WriteXaml(XmlWriter xmlWriter, ITextRange range, bool useFlowDocumentAsRoot, WpfPayload wpfPayload, bool preserveTextElements) 189private static void WriteXamlTextSegment(XmlWriter xmlWriter, ITextPointer rangeStart, ITextPointer rangeEnd, XamlTypeMapper xamlTypeMapper, ref int elementLevel, WpfPayload wpfPayload, bool ignoreWriteHyperlinkEnd, List<int> ignoreList, bool preserveTextElements) 334private static void WriteXamlTableCellRange(XmlWriter xmlWriter, ITextRange range, XamlTypeMapper xamlTypeMapper, ref int elementLevel, WpfPayload wpfPayload, bool preserveTextElements) 1148private static void WriteEmbeddedObject(object embeddedObject, XmlWriter xmlWriter, WpfPayload wpfPayload)
System\Windows\Documents\WpfPayload.cs (6)
192WpfPayload wpfPayload = new WpfPayload(/*package:*/null); 243WpfPayload wpfPayload = new WpfPayload(/*package:*/null); 306WpfPayload wpfPayload = WpfPayload.OpenWpfPayload(stream); 736internal static WpfPayload CreateWpfPayload(Stream stream) 757internal static WpfPayload OpenWpfPayload(Stream stream)
System\Windows\Documents\XamlRtfConverter.cs (2)
142internal WpfPayload WpfPayload 181private WpfPayload _wpfPayload;
System\Windows\Documents\XamlToRtfWriter.cs (2)
120internal WpfPayload WpfPayload 2322private WpfPayload _wpfPayload;