29 references to Xaml
PresentationCore (8)
Core\CSharp\MS\Internal\ConstrainedDataObject.cs (1)
318
return (IsFormatEqual(format, DataFormats.
Xaml
) ||
Core\CSharp\System\Windows\Clipboard.cs (1)
809
(dataObject.GetDataPresent(DataFormats.
Xaml
, /*autoConvert:*/false) ||
Core\CSharp\System\Windows\DataFormats.cs (3)
337
dataFormat = DataFormats.
Xaml
;
461
int xamlFormatId = UnsafeNativeMethods.RegisterClipboardFormat(
Xaml
);
464
_formatList.Add(new DataFormat(
Xaml
,xamlFormatId));
Core\CSharp\System\Windows\DataObject.cs (3)
1784
|| IsFormatEqual(format, DataFormats.
Xaml
))
2437
&& !IsFormatEqual(format, DataFormats.
Xaml
)
3155
|| IsFormatEqual(format, DataFormats.
Xaml
))
PresentationFramework (21)
src\Framework\MS\Internal\Controls\StickyNote\StickyNoteContentControl.cs (6)
220
rtbRange.Save(buffer, DataFormats.
Xaml
);
246
rtbRange.Load(buffer, DataFormats.
Xaml
);
317
range.Save(buffer, DataFormats.
Xaml
);
319
dataObject.SetData(DataFormats.
Xaml
, encoding.GetString(buffer.GetBuffer()));
321
e.FormatToApply = DataFormats.
Xaml
;
334
e.FormatToApply = DataFormats.
Xaml
;
src\Framework\MS\Internal\Ink\XamlClipboardData.cs (3)
56
hasXamlData = dataObject.GetDataPresent(DataFormats.
Xaml
, false);
114
dataObject.SetData(DataFormats.
Xaml
, xmlData.ToString());
133
string xml = dataObject.GetData(DataFormats.
Xaml
) as string;
src\Framework\System\windows\Documents\TextEditorCopyPaste.cs (8)
194
if (ConfirmDataFormatSetting(This.UiScope, dataObject, DataFormats.
Xaml
))
197
CriticalSetDataWrapper(dataObject, DataFormats.
Xaml
, xamlText);
309
else if (This.AcceptsRichContent && dataObject.GetDataPresent(DataFormats.
Xaml
))
311
formatToApply = DataFormats.
Xaml
;
904
if (dataObjectToApply.GetDataPresent(DataFormats.
Xaml
))
906
formatToApply = DataFormats.
Xaml
;
922
if (formatToApply == DataFormats.
Xaml
)
926
object pastedData = GetPasteData(dataObjectToApply, DataFormats.
Xaml
);
src\Framework\System\Windows\Documents\TextRangeBase.cs (4)
1492
dataFormat == DataFormats.
Xaml
||
1506
dataFormat == DataFormats.
Xaml
||
1534
else if (dataFormat == DataFormats.
Xaml
)
1593
else if (dataFormat == DataFormats.
Xaml
)