26 references to CommaSeparatedValue
System.Windows.Forms (5)
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (1)
7139DataFormats.CommaSeparatedValue
System\Windows\Forms\Controls\DataGridView\DataGridViewCell.cs (1)
1353bool csv = string.Equals(format, DataFormats.CommaSeparatedValue, StringComparison.OrdinalIgnoreCase);
System\Windows\Forms\Controls\DataGridView\DataGridViewColumnHeaderCell.cs (1)
171bool csv = string.Equals(format, DataFormats.CommaSeparatedValue, StringComparison.OrdinalIgnoreCase);
System\Windows\Forms\Controls\DataGridView\DataGridViewRowHeaderCell.cs (1)
143bool csv = string.Equals(format, DataFormats.CommaSeparatedValue, StringComparison.OrdinalIgnoreCase);
System\Windows\Forms\OLE\Clipboard.cs (1)
349TextDataFormat.CommaSeparatedValue => DataFormats.CommaSeparatedValue,
System.Windows.Forms.Tests (21)
System\Windows\Forms\DataFormatsTests.cs (2)
14yield return new object[] { DataFormats.CommaSeparatedValue, "Csv" }; 78yield return new object[] { DataFormats.CommaSeparatedValue, "Csv" };
System\Windows\Forms\DataObjectTests.ClipboardTests.cs (2)
127dataObject.ContainsText(TextDataFormat.CommaSeparatedValue).Should().Be(format == DataFormats.CommaSeparatedValue); 187dataObject.ContainsText(TextDataFormat.CommaSeparatedValue).Should().Be(format == DataFormats.CommaSeparatedValue);
System\Windows\Forms\DataObjectTests.cs (17)
23DataFormats.CommaSeparatedValue, 165theoryData.Add(TextDataFormat.CommaSeparatedValue, DataFormats.CommaSeparatedValue, result); 774{ TextDataFormat.CommaSeparatedValue, DataFormats.CommaSeparatedValue, null, string.Empty }, 775{ TextDataFormat.CommaSeparatedValue, DataFormats.CommaSeparatedValue, new(), string.Empty }, 776{ TextDataFormat.CommaSeparatedValue, DataFormats.CommaSeparatedValue, string.Empty, string.Empty }, 777{ TextDataFormat.CommaSeparatedValue, DataFormats.CommaSeparatedValue, " ", " " }, 778{ TextDataFormat.CommaSeparatedValue, DataFormats.CommaSeparatedValue, "a", "a" }, 1390dataObject.GetData(DataFormats.CommaSeparatedValue, autoConvert: true).Should().BeNull(); 1391dataObject.GetData(DataFormats.CommaSeparatedValue, autoConvert: false).Should().BeNull(); 1404dataObject.GetDataPresent(DataFormats.CommaSeparatedValue, autoConvert: true).Should().BeFalse(); 1405dataObject.GetDataPresent(DataFormats.CommaSeparatedValue, autoConvert: false).Should().BeFalse(); 1469dataObject.GetData(DataFormats.CommaSeparatedValue, autoConvert: true).Should().Be(expectedCsvText); 1470dataObject.GetData(DataFormats.CommaSeparatedValue, autoConvert: false).Should().Be(expectedCsvText); 1483dataObject.GetDataPresent(DataFormats.CommaSeparatedValue, autoConvert: true).Should().Be(expectedCsvText is not null); 1484dataObject.GetDataPresent(DataFormats.CommaSeparatedValue, autoConvert: false).Should().Be(expectedCsvText is not null); 1496theoryData.Add(textData, TextDataFormat.CommaSeparatedValue, DataFormats.CommaSeparatedValue); 1743{ DataFormats.CommaSeparatedValue, TYMED.TYMED_HGLOBAL },