4 instantiations of WpfPayload
PresentationFramework (4)
System\Windows\Documents\WpfPayload.cs (4)
198WpfPayload wpfPayload = new WpfPayload(/*package:*/null); 249WpfPayload wpfPayload = new WpfPayload(/*package:*/null); 745return new WpfPayload(package); 766return new WpfPayload(package);
29 references to WpfPayload
PresentationFramework (29)
System\Windows\Documents\RtfToXamlReader.cs (2)
7921internal WpfPayload WpfPayload 11757private WpfPayload _wpfPayload;
System\windows\Documents\TextEditorCopyPaste.cs (8)
115string xamlTextWithImages = WpfPayload.SaveRange(This.Selection, ref wpfContainerMemory, /*useFlowDocumentAsRoot:*/false); 437xamlRtfConverter.WpfPayload = WpfPayload.OpenWpfPayload(wpfContainerMemory); 450WpfPayload wpfPayload = WpfPayload.CreateWpfPayload(memoryStream); 697MemoryStream packagedImage = WpfPayload.SaveImage(bitmapSource, WpfPayload.ImageBmpContentType); 718object element = WpfPayload.LoadElement(pastedMemoryStream); 795TextElement textElement = WpfPayload.LoadElement(memoryStream) as TextElement;
System\Windows\Documents\TextRangeBase.cs (4)
1525WpfPayload.SaveRange(thisRange, ref stream, /*useFlowDocumentAsRoot:*/false, preserveTextElements); 1532string xamlText = WpfPayload.SaveRange(thisRange, ref wpfPayloadMemory, /*useFlowDocumentAsRoot:*/false); 1573object element = WpfPayload.LoadElement(stream); 1590TextElement textElement = WpfPayload.LoadElement(memoryStream) as TextElement;
System\Windows\Documents\TextRangeSerialization.cs (5)
38internal static void WriteXaml(XmlWriter xmlWriter, ITextRange range, bool useFlowDocumentAsRoot, WpfPayload wpfPayload) 63internal static void WriteXaml(XmlWriter xmlWriter, ITextRange range, bool useFlowDocumentAsRoot, WpfPayload wpfPayload, bool preserveTextElements) 195private static void WriteXamlTextSegment(XmlWriter xmlWriter, ITextPointer rangeStart, ITextPointer rangeEnd, XamlTypeMapper xamlTypeMapper, ref int elementLevel, WpfPayload wpfPayload, bool ignoreWriteHyperlinkEnd, List<int> ignoreList, bool preserveTextElements) 340private static void WriteXamlTableCellRange(XmlWriter xmlWriter, ITextRange range, XamlTypeMapper xamlTypeMapper, ref int elementLevel, WpfPayload wpfPayload, bool preserveTextElements) 1154private static void WriteEmbeddedObject(object embeddedObject, XmlWriter xmlWriter, WpfPayload wpfPayload)
System\Windows\Documents\WpfPayload.cs (6)
198WpfPayload wpfPayload = new WpfPayload(/*package:*/null); 249WpfPayload wpfPayload = new WpfPayload(/*package:*/null); 312WpfPayload wpfPayload = WpfPayload.OpenWpfPayload(stream); 742internal static WpfPayload CreateWpfPayload(Stream stream) 763internal static WpfPayload OpenWpfPayload(Stream stream)
System\Windows\Documents\XamlRtfConverter.cs (2)
145internal WpfPayload WpfPayload 184private WpfPayload _wpfPayload;
System\Windows\Documents\XamlToRtfWriter.cs (2)
121internal WpfPayload WpfPayload 2323private WpfPayload _wpfPayload;