13 references to XamlPackage
PresentationFramework (13)
MS\Internal\Controls\StickyNote\StickyNoteContentControl.cs (1)
325
else if (e.FormatToApply == DataFormats.
XamlPackage
)
System\windows\Documents\TextEditorCopyPaste.cs (8)
120
if (wpfContainerMemory != null && ConfirmDataFormatSetting(This.UiScope, dataObject, DataFormats.
XamlPackage
))
122
dataObject.SetData(DataFormats.
XamlPackage
, wpfContainerMemory);
246
if (This.AcceptsRichContent && dataObject.GetDataPresent(DataFormats.
XamlPackage
))
248
formatToApply = DataFormats.
XamlPackage
;
701
formatToApply = DataFormats.
XamlPackage
;
702
dataObjectToApply.SetData(DataFormats.
XamlPackage
, packagedImage);
707
if (formatToApply == DataFormats.
XamlPackage
)
713
object pastedData = GetPasteData(dataObjectToApply, DataFormats.
XamlPackage
);
System\Windows\Documents\TextRangeBase.cs (4)
1479
((dataFormat == DataFormats.
XamlPackage
||
1492
((dataFormat == DataFormats.
XamlPackage
||
1521
else if (dataFormat == DataFormats.
XamlPackage
)
1571
else if (dataFormat == DataFormats.
XamlPackage
)