32 references to Text
PresentationCore (8)
Core\CSharp\System\Windows\DataFormats.cs (2)
317
dataFormat = DataFormats.
Text
;
446
_formatList.Add(new DataFormat(
Text
, NativeMethods.CF_TEXT));
Core\CSharp\System\Windows\DataObject.cs (6)
1433
if (IsFormatEqual(format, DataFormats.
Text
)
1445
DataFormats.
Text
,
1453
DataFormats.
Text
,
1789
else if (IsFormatEqual(format, DataFormats.
Text
)
2433
return (!IsFormatEqual(format, DataFormats.
Text
)
3162
else if (IsFormatEqual(format, DataFormats.
Text
)
PresentationFramework (23)
src\Framework\MS\Internal\Ink\TextClipboardData.cs (2)
53
|| dataObject.GetDataPresent(DataFormats.
Text
, false)
90
text = dataObject.GetData(DataFormats.
Text
, true) as string;
src\Framework\System\Windows\Controls\DataGrid.cs (1)
8292
Collection<string> formats = new Collection<string>(new string[] { DataFormats.Html, DataFormats.
Text
, DataFormats.UnicodeText, DataFormats.CommaSeparatedValue });
src\Framework\System\Windows\Controls\DataGridClipboardHelper.cs (1)
25
if (csv || string.Equals(format, DataFormats.
Text
, StringComparison.OrdinalIgnoreCase)
src\Framework\System\Windows\Documents\RubberbandSelector.cs (1)
247
dataObject.SetData(DataFormats.
Text
, textString, true);
src\Framework\System\windows\Documents\TextEditorCopyPaste.cs (14)
122
if (ConfirmDataFormatSetting(This.UiScope, dataObject, DataFormats.
Text
))
124
CriticalSetDataWrapper(dataObject,DataFormats.
Text
, textString);
321
else if (dataObject.GetDataPresent(DataFormats.
Text
))
323
formatToApply = DataFormats.
Text
;
916
else if (dataObjectToApply.GetDataPresent(DataFormats.
Text
))
918
formatToApply = DataFormats.
Text
;
944
else if (dataObjectToApply.GetDataPresent(DataFormats.
Text
))
946
formatToApply = DataFormats.
Text
;
981
else if (dataObjectToApply.GetDataPresent(DataFormats.
Text
))
983
formatToApply = DataFormats.
Text
;
992
if (dataObjectToApply.GetDataPresent(DataFormats.
Text
))
994
formatToApply = DataFormats.
Text
; // fall to plain text
1007
if (formatToApply == DataFormats.
Text
)
1009
object pastedData = GetPasteData(dataObjectToApply, DataFormats.
Text
);
src\Framework\System\Windows\Documents\TextRangeBase.cs (4)
1491
dataFormat == DataFormats.
Text
||
1505
dataFormat == DataFormats.
Text
||
1527
if (dataFormat == DataFormats.
Text
)
1587
if (dataFormat == DataFormats.
Text
)
System.Activities.Presentation (1)
System.Activities.Presentation\System\Activities\Presentation\CutCopyPasteHelper.cs (1)
550
dataObject.SetData(DataFormats.
Text
, clipBoardString);