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