17 writes to FormatString
System.Windows.Forms.Design (1)
System\Windows\Forms\Design\FormatStringDialog.cs (1)
275_listControl!.FormatString = formatTypeItem.FormatString;
System.Windows.Forms.Tests (16)
System\Windows\Forms\ListControlTests.cs (16)
1468FormatString = value 1474control.FormatString = value; 1485FormatString = "FormatString" 1488control.FormatString = value; 1493control.FormatString = value; 1506control.FormatString = "Value1"; 1511control.FormatString = "Value1"; 1516control.FormatString = "Value2"; 1521control.FormatString = null; 1526control.FormatString = string.Empty; 1545control.FormatString = "Value1"; 1550control.FormatString = "Value1"; 1555control.FormatString = "Value2"; 1560control.FormatString = null; 1565control.FormatString = string.Empty; 1571control.FormatString = "Value1";
19 references to FormatString
System.Windows.Forms.Design (1)
System\Windows\Forms\Design\FormatStringDialog.cs (1)
113string formatString = _dgvCellStyle is not null ? _dgvCellStyle.Format : _listControl!.FormatString;
System.Windows.Forms.Tests (18)
System\Windows\Forms\ComboBoxTests.cs (1)
83Assert.Empty(control.FormatString);
System\Windows\Forms\ListBoxTests.cs (1)
75Assert.Empty(control.FormatString);
System\Windows\Forms\ListControlTests.cs (16)
71Assert.Empty(control.FormatString); 1470Assert.Equal(expected, control.FormatString); 1475Assert.Equal(expected, control.FormatString); 1489Assert.Equal(expected, control.FormatString); 1494Assert.Equal(expected, control.FormatString); 1507Assert.Equal("Value1", control.FormatString); 1512Assert.Equal("Value1", control.FormatString); 1517Assert.Equal("Value2", control.FormatString); 1522Assert.Empty(control.FormatString); 1527Assert.Empty(control.FormatString); 1546Assert.Equal("Value1", control.FormatString); 1551Assert.Equal("Value1", control.FormatString); 1556Assert.Equal("Value2", control.FormatString); 1561Assert.Empty(control.FormatString); 1566Assert.Empty(control.FormatString); 1572Assert.Equal("Value1", control.FormatString);