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