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)
1470
FormatString
= value
1476
control.
FormatString
= value;
1487
FormatString
= "FormatString"
1490
control.
FormatString
= value;
1495
control.
FormatString
= value;
1508
control.
FormatString
= "Value1";
1513
control.
FormatString
= "Value1";
1518
control.
FormatString
= "Value2";
1523
control.
FormatString
= null;
1528
control.
FormatString
= string.Empty;
1547
control.
FormatString
= "Value1";
1552
control.
FormatString
= "Value1";
1557
control.
FormatString
= "Value2";
1562
control.
FormatString
= null;
1567
control.
FormatString
= string.Empty;
1573
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)
85
Assert.Empty(control.
FormatString
);
System\Windows\Forms\ListBoxTests.cs (1)
77
Assert.Empty(control.
FormatString
);
System\Windows\Forms\ListControlTests.cs (16)
73
Assert.Empty(control.
FormatString
);
1472
Assert.Equal(expected, control.
FormatString
);
1477
Assert.Equal(expected, control.
FormatString
);
1491
Assert.Equal(expected, control.
FormatString
);
1496
Assert.Equal(expected, control.
FormatString
);
1509
Assert.Equal("Value1", control.
FormatString
);
1514
Assert.Equal("Value1", control.
FormatString
);
1519
Assert.Equal("Value2", control.
FormatString
);
1524
Assert.Empty(control.
FormatString
);
1529
Assert.Empty(control.
FormatString
);
1548
Assert.Equal("Value1", control.
FormatString
);
1553
Assert.Equal("Value1", control.
FormatString
);
1558
Assert.Equal("Value2", control.
FormatString
);
1563
Assert.Empty(control.
FormatString
);
1568
Assert.Empty(control.
FormatString
);
1574
Assert.Equal("Value1", control.
FormatString
);