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