29 references to Text
PresentationCore (6)
System\Windows\DataFormats.cs (2)
299
dataFormat = DataFormats.
Text
;
415
_formatList.Add(new DataFormat(
Text
, NativeMethods.CF_TEXT));
System\Windows\dataobject.cs (4)
1181
if (IsFormatEqual(format, DataFormats.
Text
)
1188
DataFormats.
Text
,
1484
else if (IsFormatEqual(format, DataFormats.
Text
)
2782
else if (IsFormatEqual(format, DataFormats.
Text
)
PresentationFramework (23)
MS\Internal\Ink\TextClipboardData.cs (2)
46
|| dataObject.GetDataPresent(DataFormats.
Text
, false)
83
text = dataObject.GetData(DataFormats.
Text
, true) as string;
System\Windows\Controls\DataGrid.cs (1)
8281
Collection<string> formats = new Collection<string>(new string[] { DataFormats.Html, DataFormats.
Text
, DataFormats.UnicodeText, DataFormats.CommaSeparatedValue });
System\Windows\Controls\DataGridClipboardHelper.cs (1)
21
if (csv || string.Equals(format, DataFormats.
Text
, StringComparison.OrdinalIgnoreCase)
System\Windows\Documents\RubberbandSelector.cs (1)
176
dataObject.SetData(DataFormats.
Text
, textString, true);
System\windows\Documents\TextEditorCopyPaste.cs (14)
93
if (ConfirmDataFormatSetting(This.UiScope, dataObject, DataFormats.
Text
))
95
dataObject.SetData(DataFormats.
Text
, textString, true);
262
else if (dataObject.GetDataPresent(DataFormats.
Text
))
264
formatToApply = DataFormats.
Text
;
745
else if (dataObjectToApply.GetDataPresent(DataFormats.
Text
))
747
formatToApply = DataFormats.
Text
;
773
else if (dataObjectToApply.GetDataPresent(DataFormats.
Text
))
775
formatToApply = DataFormats.
Text
;
810
else if (dataObjectToApply.GetDataPresent(DataFormats.
Text
))
812
formatToApply = DataFormats.
Text
;
821
if (dataObjectToApply.GetDataPresent(DataFormats.
Text
))
823
formatToApply = DataFormats.
Text
; // fall to plain text
836
if (formatToApply == DataFormats.
Text
)
838
object pastedData = GetPasteData(dataObjectToApply, DataFormats.
Text
);
System\Windows\Documents\TextRangeBase.cs (4)
1477
dataFormat == DataFormats.
Text
||
1490
dataFormat == DataFormats.
Text
||
1505
if (dataFormat == DataFormats.
Text
)
1559
if (dataFormat == DataFormats.
Text
)