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