26 references to Xaml
PresentationCore (5)
System\Windows\DataFormats.cs (3)
319
dataFormat = DataFormats.
Xaml
;
430
int 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)
214
rtbRange.Save(buffer, DataFormats.
Xaml
);
240
rtbRange.Load(buffer, DataFormats.
Xaml
);
311
range.Save(buffer, DataFormats.
Xaml
);
313
dataObject.SetData(DataFormats.
Xaml
, encoding.GetString(buffer.GetBuffer()));
315
e.FormatToApply = DataFormats.
Xaml
;
328
e.FormatToApply = DataFormats.
Xaml
;
MS\Internal\Ink\XamlClipboardData.cs (3)
48
bool hasXamlData = dataObject.GetDataPresent(DataFormats.
Xaml
, false);
90
dataObject.SetData(DataFormats.
Xaml
, xmlData.ToString());
99
string xml = dataObject.GetData(DataFormats.
Xaml
) as string;
System\windows\Documents\TextEditorCopyPaste.cs (8)
156
if (ConfirmDataFormatSetting(This.UiScope, dataObject, DataFormats.
Xaml
))
159
dataObject.SetData(DataFormats.
Xaml
, xamlText, false);
250
else if (This.AcceptsRichContent && dataObject.GetDataPresent(DataFormats.
Xaml
))
252
formatToApply = DataFormats.
Xaml
;
733
if (dataObjectToApply.GetDataPresent(DataFormats.
Xaml
))
735
formatToApply = DataFormats.
Xaml
;
751
if (formatToApply == DataFormats.
Xaml
)
755
object pastedData = GetPasteData(dataObjectToApply, DataFormats.
Xaml
);
System\Windows\Documents\TextRangeBase.cs (4)
1478
dataFormat == DataFormats.
Xaml
||
1491
dataFormat == DataFormats.
Xaml
||
1512
else if (dataFormat == DataFormats.
Xaml
)
1565
else if (dataFormat == DataFormats.
Xaml
)