47 writes to FormatProvider
System.Windows.Forms (26)
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (3)
2902inheritedCellStyle.FormatProvider = cellStyle.FormatProvider; 2906inheritedCellStyle.FormatProvider = columnHeadersStyle.FormatProvider; 2910inheritedCellStyle.FormatProvider = dataGridViewStyle.FormatProvider;
System\Windows\Forms\Controls\DataGridView\DataGridViewCell.cs (6)
2143inheritedCellStyleTmp.FormatProvider = cellStyle.FormatProvider; 2147inheritedCellStyleTmp.FormatProvider = rowStyle.FormatProvider; 2152inheritedCellStyleTmp.FormatProvider = DataGridView.RowsDefaultCellStyle.FormatProvider; 2156inheritedCellStyleTmp.FormatProvider = DataGridView.AlternatingRowsDefaultCellStyle.FormatProvider; 2160inheritedCellStyleTmp.FormatProvider = columnStyle.FormatProvider; 2164inheritedCellStyleTmp.FormatProvider = dataGridViewStyle.FormatProvider;
System\Windows\Forms\Controls\DataGridView\DataGridViewCellStyle.cs (2)
55FormatProvider = dataGridViewCellStyle.FormatProvider; 420FormatProvider = dataGridViewCellStyle.FormatProvider;
System\Windows\Forms\Controls\DataGridView\DataGridViewColumn.cs (2)
519inheritedCellStyleTmp.FormatProvider = columnStyle.FormatProvider; 523inheritedCellStyleTmp.FormatProvider = dataGridViewStyle.FormatProvider;
System\Windows\Forms\Controls\DataGridView\DataGridViewColumnHeaderCell.cs (3)
408inheritedCellStyleTmp.FormatProvider = cellStyle.FormatProvider; 412inheritedCellStyleTmp.FormatProvider = columnHeadersStyle.FormatProvider; 416inheritedCellStyleTmp.FormatProvider = dataGridViewStyle.FormatProvider;
System\Windows\Forms\Controls\DataGridView\DataGridViewRow.cs (7)
721inheritedCellStyle.FormatProvider = cellStyle.FormatProvider; 725inheritedCellStyle.FormatProvider = rowHeadersStyle.FormatProvider; 729inheritedCellStyle.FormatProvider = dataGridViewStyle.FormatProvider; 954inheritedRowStyle.FormatProvider = rowStyle.FormatProvider; 958inheritedRowStyle.FormatProvider = rowsDefaultCellStyle.FormatProvider; 962inheritedRowStyle.FormatProvider = alternatingRowsDefaultCellStyle.FormatProvider; 966inheritedRowStyle.FormatProvider = dataGridViewStyle.FormatProvider;
System\Windows\Forms\Controls\DataGridView\DataGridViewRowHeaderCell.cs (3)
433inheritedCellStyleTmp.FormatProvider = cellStyle.FormatProvider; 437inheritedCellStyleTmp.FormatProvider = rowHeadersStyle.FormatProvider; 441inheritedCellStyleTmp.FormatProvider = dataGridViewStyle.FormatProvider;
System.Windows.Forms.Tests (21)
System\Windows\Forms\DataGridViewCellStyleTests.cs (15)
50FormatProvider = formatProvider, 358FormatProvider = value 364style.FormatProvider = value; 374FormatProvider = new NumberFormatInfo() 376style.FormatProvider = null; 627FormatProvider = formatProvider, 670FormatProvider = formatProvider, 718FormatProvider = formatProvider, 784FormatProvider = formatProvider, 931new DataGridViewCellStyle { FormatProvider = formatProvider }, 932new DataGridViewCellStyle { FormatProvider = formatProvider }, 937new DataGridViewCellStyle { FormatProvider = formatProvider }, 938new DataGridViewCellStyle { FormatProvider = CultureInfo.CurrentCulture }, 1082new DataGridViewCellStyle { FormatProvider = new NumberFormatInfo() }, 1132FormatProvider = new NumberFormatInfo(),
System\Windows\Forms\DataGridViewCellTests.cs (4)
6113yield return new object[] { typeof(int), typeof(string), "123", new DataGridViewCellStyle { FormatProvider = CultureInfo.InvariantCulture }, null, null, 123 }; 6114yield return new object[] { typeof(int), typeof(string), "123", new DataGridViewCellStyle { FormatProvider = new NumberFormatInfo() }, null, null, 123 }; 6122yield return new object[] { typeof(short), typeof(int), 123, new DataGridViewCellStyle { FormatProvider = CultureInfo.InvariantCulture }, null, null, (short)123 }; 6123yield return new object[] { typeof(short), typeof(int), 123, new DataGridViewCellStyle { FormatProvider = new NumberFormatInfo() }, null, null, (short)123 };
System\Windows\Forms\DataGridViewRowTests.cs (2)
2071FormatProvider = provider1, 2087FormatProvider = provider2,
46 references to FormatProvider
System.Windows.Forms (34)
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (3)
2902inheritedCellStyle.FormatProvider = cellStyle.FormatProvider; 2906inheritedCellStyle.FormatProvider = columnHeadersStyle.FormatProvider; 2910inheritedCellStyle.FormatProvider = dataGridViewStyle.FormatProvider;
System\Windows\Forms\Controls\DataGridView\DataGridViewButtonColumn.cs (1)
222!defaultCellStyle.FormatProvider.Equals(Globalization.CultureInfo.CurrentCulture) ||
System\Windows\Forms\Controls\DataGridView\DataGridViewCell.cs (8)
1622cellStyle.FormatProvider, 2143inheritedCellStyleTmp.FormatProvider = cellStyle.FormatProvider; 2147inheritedCellStyleTmp.FormatProvider = rowStyle.FormatProvider; 2152inheritedCellStyleTmp.FormatProvider = DataGridView.RowsDefaultCellStyle.FormatProvider; 2156inheritedCellStyleTmp.FormatProvider = DataGridView.AlternatingRowsDefaultCellStyle.FormatProvider; 2160inheritedCellStyleTmp.FormatProvider = columnStyle.FormatProvider; 2164inheritedCellStyleTmp.FormatProvider = dataGridViewStyle.FormatProvider; 3741cellStyle.FormatProvider,
System\Windows\Forms\Controls\DataGridView\DataGridViewCellStyle.cs (4)
55FormatProvider = dataGridViewCellStyle.FormatProvider; 420FormatProvider = dataGridViewCellStyle.FormatProvider; 458dgvcs.FormatProvider != FormatProvider ||
System\Windows\Forms\Controls\DataGridView\DataGridViewCheckBoxColumn.cs (1)
308!defaultCellStyle.FormatProvider.Equals(Globalization.CultureInfo.CurrentCulture) ||
System\Windows\Forms\Controls\DataGridView\DataGridViewColumn.cs (3)
221!defaultCellStyle.FormatProvider.Equals(CultureInfo.CurrentCulture) || 519inheritedCellStyleTmp.FormatProvider = columnStyle.FormatProvider; 523inheritedCellStyleTmp.FormatProvider = dataGridViewStyle.FormatProvider;
System\Windows\Forms\Controls\DataGridView\DataGridViewColumnHeaderCell.cs (3)
408inheritedCellStyleTmp.FormatProvider = cellStyle.FormatProvider; 412inheritedCellStyleTmp.FormatProvider = columnHeadersStyle.FormatProvider; 416inheritedCellStyleTmp.FormatProvider = dataGridViewStyle.FormatProvider;
System\Windows\Forms\Controls\DataGridView\DataGridViewImageColumn.cs (1)
284!defaultCellStyle.FormatProvider.Equals(Globalization.CultureInfo.CurrentCulture) ||
System\Windows\Forms\Controls\DataGridView\DataGridViewRow.cs (7)
721inheritedCellStyle.FormatProvider = cellStyle.FormatProvider; 725inheritedCellStyle.FormatProvider = rowHeadersStyle.FormatProvider; 729inheritedCellStyle.FormatProvider = dataGridViewStyle.FormatProvider; 954inheritedRowStyle.FormatProvider = rowStyle.FormatProvider; 958inheritedRowStyle.FormatProvider = rowsDefaultCellStyle.FormatProvider; 962inheritedRowStyle.FormatProvider = alternatingRowsDefaultCellStyle.FormatProvider; 966inheritedRowStyle.FormatProvider = dataGridViewStyle.FormatProvider;
System\Windows\Forms\Controls\DataGridView\DataGridViewRowHeaderCell.cs (3)
433inheritedCellStyleTmp.FormatProvider = cellStyle.FormatProvider; 437inheritedCellStyleTmp.FormatProvider = rowHeadersStyle.FormatProvider; 441inheritedCellStyleTmp.FormatProvider = dataGridViewStyle.FormatProvider;
System.Windows.Forms.Tests (12)
System\Windows\Forms\DataGridViewCellStyleTests.cs (12)
26Assert.Equal(CultureInfo.CurrentCulture, style.FormatProvider); 67Assert.Equal(formatProvider, style.FormatProvider); 92Assert.Equal(CultureInfo.CurrentCulture, style.FormatProvider); 360Assert.Equal(expected, style.FormatProvider); 365Assert.Equal(expected, style.FormatProvider); 377Assert.Equal(CultureInfo.CurrentCulture, style.FormatProvider); 645Assert.Equal(formatProvider, style.FormatProvider); 687Assert.Equal(formatProvider, style.FormatProvider); 735Assert.Equal(formatProvider, style.FormatProvider); 760Assert.Equal(CultureInfo.CurrentCulture, style.FormatProvider); 801Assert.Equal(formatProvider, style.FormatProvider); 826Assert.Equal(CultureInfo.CurrentCulture, style.FormatProvider);