26 writes to Format
System.Windows.Forms (26)
winforms\Managed\System\WinForms\DataGridViewCell.cs (6)
2400inheritedCellStyleTmp.Format = cellStyle.Format; 2404inheritedCellStyleTmp.Format = rowStyle.Format; 2409inheritedCellStyleTmp.Format = this.DataGridView.RowsDefaultCellStyle.Format; 2413inheritedCellStyleTmp.Format = this.DataGridView.AlternatingRowsDefaultCellStyle.Format; 2417inheritedCellStyleTmp.Format = columnStyle.Format; 2421inheritedCellStyleTmp.Format = dataGridViewStyle.Format;
winforms\Managed\System\WinForms\DataGridViewCellStyle.cs (2)
73this.Format = dataGridViewCellStyle.Format; 636this.Format = dataGridViewCellStyle.Format;
winforms\Managed\System\WinForms\DataGridViewColumn.cs (2)
701inheritedCellStyleTmp.Format = columnStyle.Format; 705inheritedCellStyleTmp.Format = dataGridViewStyle.Format;
winforms\Managed\System\WinForms\DataGridViewColumnHeaderCell.cs (3)
432inheritedCellStyleTmp.Format = cellStyle.Format; 436inheritedCellStyleTmp.Format = columnHeadersStyle.Format; 440inheritedCellStyleTmp.Format = dataGridViewStyle.Format;
winforms\Managed\System\WinForms\DataGridViewMethods.cs (3)
2934inheritedCellStyle.Format = cellStyle.Format; 2938inheritedCellStyle.Format = columnHeadersStyle.Format; 2942inheritedCellStyle.Format = dataGridViewStyle.Format;
winforms\Managed\System\WinForms\DataGridViewRow.cs (7)
790inheritedCellStyle.Format = cellStyle.Format; 794inheritedCellStyle.Format = rowHeadersStyle.Format; 798inheritedCellStyle.Format = dataGridViewStyle.Format; 1015inheritedRowStyle.Format = rowStyle.Format; 1019inheritedRowStyle.Format = rowsDefaultCellStyle.Format; 1023inheritedRowStyle.Format = alternatingRowsDefaultCellStyle.Format; 1027inheritedRowStyle.Format = dataGridViewStyle.Format;
winforms\Managed\System\WinForms\DataGridViewRowHeaderCell.cs (3)
558inheritedCellStyleTmp.Format = cellStyle.Format; 562inheritedCellStyleTmp.Format = rowHeadersStyle.Format; 566inheritedCellStyleTmp.Format = dataGridViewStyle.Format;
58 references to Format
System.Windows.Forms (58)
winforms\Managed\System\WinForms\DataGridViewButtonColumn.cs (1)
240!String.IsNullOrEmpty(defaultCellStyle.Format) ||
winforms\Managed\System\WinForms\DataGridViewCell.cs (13)
1914cellStyle.Format, 2398if (cellStyle != null && cellStyle.Format.Length != 0) 2400inheritedCellStyleTmp.Format = cellStyle.Format; 2402else if (rowStyle != null && rowStyle.Format.Length != 0) 2404inheritedCellStyleTmp.Format = rowStyle.Format; 2406else if (this.DataGridView.RowsDefaultCellStyle.Format.Length != 0 && 2407(rowIndex % 2 == 0 || this.DataGridView.AlternatingRowsDefaultCellStyle.Format.Length == 0)) 2409inheritedCellStyleTmp.Format = this.DataGridView.RowsDefaultCellStyle.Format; 2411else if (rowIndex % 2 == 1 && this.DataGridView.AlternatingRowsDefaultCellStyle.Format.Length != 0) 2413inheritedCellStyleTmp.Format = this.DataGridView.AlternatingRowsDefaultCellStyle.Format; 2415else if (columnStyle != null && columnStyle.Format.Length != 0) 2417inheritedCellStyleTmp.Format = columnStyle.Format; 2421inheritedCellStyleTmp.Format = dataGridViewStyle.Format;
winforms\Managed\System\WinForms\DataGridViewCellStyle.cs (10)
73this.Format = dataGridViewCellStyle.Format; 282string format = this.Format; 287if (!format.Equals(this.Format)) 634if (dataGridViewCellStyle.Format.Length != 0) 636this.Format = dataGridViewCellStyle.Format; 687dgvcs.Format != this.Format || 720this.Format.GetHashCode(), 880if (!string.IsNullOrEmpty(this.Format)) 886sb.Append(" Format=" + this.Format);
winforms\Managed\System\WinForms\DataGridViewCheckBoxColumn.cs (1)
345!String.IsNullOrEmpty(defaultCellStyle.Format) ||
winforms\Managed\System\WinForms\DataGridViewColumn.cs (4)
321!String.IsNullOrEmpty(defaultCellStyle.Format) || 699if (columnStyle != null && columnStyle.Format.Length != 0) 701inheritedCellStyleTmp.Format = columnStyle.Format; 705inheritedCellStyleTmp.Format = dataGridViewStyle.Format;
winforms\Managed\System\WinForms\DataGridViewColumnHeaderCell.cs (5)
430if (cellStyle != null && cellStyle.Format.Length != 0) 432inheritedCellStyleTmp.Format = cellStyle.Format; 434else if (columnHeadersStyle.Format.Length != 0) 436inheritedCellStyleTmp.Format = columnHeadersStyle.Format; 440inheritedCellStyleTmp.Format = dataGridViewStyle.Format;
winforms\Managed\System\WinForms\DataGridViewImageColumn.cs (1)
337!String.IsNullOrEmpty(defaultCellStyle.Format) ||
winforms\Managed\System\WinForms\DataGridViewMethods.cs (5)
2932if (cellStyle != null && cellStyle.Format.Length != 0) 2934inheritedCellStyle.Format = cellStyle.Format; 2936else if (columnHeadersStyle.Format.Length != 0) 2938inheritedCellStyle.Format = columnHeadersStyle.Format; 2942inheritedCellStyle.Format = dataGridViewStyle.Format;
winforms\Managed\System\WinForms\DataGridViewRow.cs (13)
788if (cellStyle != null && cellStyle.Format.Length != 0) 790inheritedCellStyle.Format = cellStyle.Format; 792else if (rowHeadersStyle.Format.Length != 0) 794inheritedCellStyle.Format = rowHeadersStyle.Format; 798inheritedCellStyle.Format = dataGridViewStyle.Format; 1013if (rowStyle != null && rowStyle.Format.Length != 0) 1015inheritedRowStyle.Format = rowStyle.Format; 1017else if (rowsDefaultCellStyle.Format.Length != 0 && (rowIndex % 2 == 0 || alternatingRowsDefaultCellStyle.Format.Length == 0)) 1019inheritedRowStyle.Format = rowsDefaultCellStyle.Format; 1021else if (rowIndex % 2 == 1 && alternatingRowsDefaultCellStyle.Format.Length != 0) 1023inheritedRowStyle.Format = alternatingRowsDefaultCellStyle.Format; 1027inheritedRowStyle.Format = dataGridViewStyle.Format;
winforms\Managed\System\WinForms\DataGridViewRowHeaderCell.cs (5)
556if (cellStyle != null && cellStyle.Format.Length != 0) 558inheritedCellStyleTmp.Format = cellStyle.Format; 560else if (rowHeadersStyle.Format.Length != 0) 562inheritedCellStyleTmp.Format = rowHeadersStyle.Format; 566inheritedCellStyleTmp.Format = dataGridViewStyle.Format;