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