26 references to Xaml
PresentationCore (5)
System\Windows\DataFormats.cs (3)
319dataFormat = DataFormats.Xaml; 430int xamlFormatId = UnsafeNativeMethods.RegisterClipboardFormat(Xaml); 433_formatList.Add(new DataFormat(Xaml,xamlFormatId));
System\Windows\dataobject.cs (2)
1479|| IsFormatEqual(format, DataFormats.Xaml)) 2775|| IsFormatEqual(format, DataFormats.Xaml))
PresentationFramework (21)
MS\Internal\Controls\StickyNote\StickyNoteContentControl.cs (6)
214rtbRange.Save(buffer, DataFormats.Xaml); 240rtbRange.Load(buffer, DataFormats.Xaml); 311range.Save(buffer, DataFormats.Xaml); 313dataObject.SetData(DataFormats.Xaml, encoding.GetString(buffer.GetBuffer())); 315e.FormatToApply = DataFormats.Xaml; 328e.FormatToApply = DataFormats.Xaml;
MS\Internal\Ink\XamlClipboardData.cs (3)
48bool hasXamlData = dataObject.GetDataPresent(DataFormats.Xaml, false); 90dataObject.SetData(DataFormats.Xaml, xmlData.ToString()); 99string xml = dataObject.GetData(DataFormats.Xaml) as string;
System\windows\Documents\TextEditorCopyPaste.cs (8)
156if (ConfirmDataFormatSetting(This.UiScope, dataObject, DataFormats.Xaml)) 159dataObject.SetData(DataFormats.Xaml, xamlText, false); 250else if (This.AcceptsRichContent && dataObject.GetDataPresent(DataFormats.Xaml)) 252formatToApply = DataFormats.Xaml; 733if (dataObjectToApply.GetDataPresent(DataFormats.Xaml)) 735formatToApply = DataFormats.Xaml; 751if (formatToApply == DataFormats.Xaml) 755object pastedData = GetPasteData(dataObjectToApply, DataFormats.Xaml);
System\Windows\Documents\TextRangeBase.cs (4)
1478dataFormat == DataFormats.Xaml || 1491dataFormat == DataFormats.Xaml || 1512else if (dataFormat == DataFormats.Xaml) 1565else if (dataFormat == DataFormats.Xaml)