4 instantiations of WpfPayload
PresentationFramework (4)
src\Framework\System\Windows\Documents\WpfPayload.cs (4)
201
WpfPayload wpfPayload = new
WpfPayload
(/*package:*/null);
256
WpfPayload wpfPayload = new
WpfPayload
(/*package:*/null);
781
return new
WpfPayload
(package);
802
return new
WpfPayload
(package);
29 references to WpfPayload
PresentationFramework (29)
src\Framework\System\Windows\Documents\RtfToXamlReader.cs (2)
8003
internal
WpfPayload
WpfPayload
11857
private
WpfPayload
_wpfPayload;
src\Framework\System\windows\Documents\TextEditorCopyPaste.cs (8)
152
string xamlTextWithImages =
WpfPayload
.SaveRange(This.Selection, ref wpfContainerMemory, /*useFlowDocumentAsRoot:*/false);
552
xamlRtfConverter.WpfPayload =
WpfPayload
.OpenWpfPayload(wpfContainerMemory);
565
WpfPayload
wpfPayload =
WpfPayload
.CreateWpfPayload(memoryStream);
865
MemoryStream packagedImage =
WpfPayload
.SaveImage(bitmapSource,
WpfPayload
.ImageBmpContentType);
889
object element =
WpfPayload
.LoadElement(pastedMemoryStream);
966
TextElement textElement =
WpfPayload
.LoadElement(memoryStream) as TextElement;
src\Framework\System\Windows\Documents\TextRangeBase.cs (4)
1547
WpfPayload
.SaveRange(thisRange, ref stream, /*useFlowDocumentAsRoot:*/false, preserveTextElements);
1554
string xamlText =
WpfPayload
.SaveRange(thisRange, ref wpfPayloadMemory, /*useFlowDocumentAsRoot:*/false);
1601
object element =
WpfPayload
.LoadElement(stream);
1618
TextElement textElement =
WpfPayload
.LoadElement(memoryStream) as TextElement;
src\Framework\System\Windows\Documents\TextRangeSerialization.cs (5)
40
internal static void WriteXaml(XmlWriter xmlWriter, ITextRange range, bool useFlowDocumentAsRoot,
WpfPayload
wpfPayload)
65
internal static void WriteXaml(XmlWriter xmlWriter, ITextRange range, bool useFlowDocumentAsRoot,
WpfPayload
wpfPayload, bool preserveTextElements)
201
private static void WriteXamlTextSegment(XmlWriter xmlWriter, ITextPointer rangeStart, ITextPointer rangeEnd, XamlTypeMapper xamlTypeMapper, ref int elementLevel,
WpfPayload
wpfPayload, bool ignoreWriteHyperlinkEnd, List<int> ignoreList, bool preserveTextElements)
346
private static void WriteXamlTableCellRange(XmlWriter xmlWriter, ITextRange range, XamlTypeMapper xamlTypeMapper, ref int elementLevel,
WpfPayload
wpfPayload, bool preserveTextElements)
1178
private static void WriteEmbeddedObject(object embeddedObject, XmlWriter xmlWriter,
WpfPayload
wpfPayload)
src\Framework\System\Windows\Documents\WpfPayload.cs (6)
201
WpfPayload
wpfPayload = new WpfPayload(/*package:*/null);
256
WpfPayload
wpfPayload = new WpfPayload(/*package:*/null);
330
WpfPayload
wpfPayload =
WpfPayload
.OpenWpfPayload(stream);
778
internal static
WpfPayload
CreateWpfPayload(Stream stream)
799
internal static
WpfPayload
OpenWpfPayload(Stream stream)
src\Framework\System\Windows\Documents\XamlRtfConverter.cs (2)
154
internal
WpfPayload
WpfPayload
193
private
WpfPayload
_wpfPayload;
src\Framework\System\Windows\Documents\XamlToRtfWriter.cs (2)
122
internal
WpfPayload
WpfPayload
2324
private
WpfPayload
_wpfPayload;