101 references to WrapMode
System.Windows.Forms (101)
winforms\Managed\System\WinForms\DataGridView.cs (2)
2510
this.defaultCellStyle.
WrapMode
== DataGridViewTriState.NotSet)
2540
if (this.defaultCellStyle.
WrapMode
== DataGridViewTriState.NotSet)
winforms\Managed\System\WinForms\DataGridViewButtonCell.cs (5)
349
TextFormatFlags flags = DataGridViewUtilities.ComputeTextFormatFlagsForCellStyleAlignment(this.DataGridView.RightToLeftInternal, cellStyle.Alignment, cellStyle.
WrapMode
);
368
if (cellStyle.
WrapMode
== DataGridViewTriState.True && formattedString.Length > 1 &&
387
if (cellStyle.
WrapMode
== DataGridViewTriState.True && formattedString.Length > 1 &&
409
if (cellStyle.
WrapMode
== DataGridViewTriState.True && formattedString.Length > 1)
1037
TextFormatFlags flags = DataGridViewUtilities.ComputeTextFormatFlagsForCellStyleAlignment(this.DataGridView.RightToLeftInternal, cellStyle.Alignment, cellStyle.
WrapMode
);
winforms\Managed\System\WinForms\DataGridViewButtonColumn.cs (1)
243
defaultCellStyle.
WrapMode
!= DataGridViewTriState.NotSet ||
winforms\Managed\System\WinForms\DataGridViewCell.cs (15)
2477
if (cellStyle != null && cellStyle.
WrapMode
!= DataGridViewTriState.NotSet)
2479
inheritedCellStyleTmp.WrapModeInternal = cellStyle.
WrapMode
;
2481
else if (rowStyle != null && rowStyle.
WrapMode
!= DataGridViewTriState.NotSet)
2483
inheritedCellStyleTmp.WrapModeInternal = rowStyle.
WrapMode
;
2485
else if (this.DataGridView.RowsDefaultCellStyle.
WrapMode
!= DataGridViewTriState.NotSet &&
2486
(rowIndex % 2 == 0 || this.DataGridView.AlternatingRowsDefaultCellStyle.
WrapMode
== DataGridViewTriState.NotSet))
2488
inheritedCellStyleTmp.WrapModeInternal = this.DataGridView.RowsDefaultCellStyle.
WrapMode
;
2490
else if (rowIndex % 2 == 1 && this.DataGridView.AlternatingRowsDefaultCellStyle.
WrapMode
!= DataGridViewTriState.NotSet)
2492
inheritedCellStyleTmp.WrapModeInternal = this.DataGridView.AlternatingRowsDefaultCellStyle.
WrapMode
;
2494
else if (columnStyle != null && columnStyle.
WrapMode
!= DataGridViewTriState.NotSet)
2496
inheritedCellStyleTmp.WrapModeInternal = columnStyle.
WrapMode
;
2500
Debug.Assert(dataGridViewStyle.
WrapMode
!= DataGridViewTriState.NotSet);
2501
inheritedCellStyleTmp.WrapModeInternal = dataGridViewStyle.
WrapMode
;
2608
TextFormatFlags flags = DataGridViewUtilities.ComputeTextFormatFlagsForCellStyleAlignment(rightToLeft, cellStyle.Alignment, cellStyle.
WrapMode
);
2609
if (cellStyle.
WrapMode
== DataGridViewTriState.True)
winforms\Managed\System\WinForms\DataGridViewCellStyle.cs (9)
79
this.WrapModeInternal = dataGridViewCellStyle.
WrapMode
;
585
if (this.
WrapMode
!= value)
646
if (dataGridViewCellStyle.
WrapMode
!= DataGridViewTriState.NotSet)
648
this.WrapModeInternal = dataGridViewCellStyle.
WrapMode
;
692
dgvcs.
WrapMode
!= this.
WrapMode
);
718
(int) this.
WrapMode
,
889
if (this.
WrapMode
!= DataGridViewTriState.NotSet)
895
sb.Append(" WrapMode=" + this.
WrapMode
.ToString());
winforms\Managed\System\WinForms\DataGridViewCheckBoxColumn.cs (1)
348
defaultCellStyle.
WrapMode
!= DataGridViewTriState.NotSet ||
winforms\Managed\System\WinForms\DataGridViewColumn.cs (5)
324
defaultCellStyle.
WrapMode
!= DataGridViewTriState.NotSet ||
727
if (columnStyle != null && columnStyle.
WrapMode
!= DataGridViewTriState.NotSet)
729
inheritedCellStyleTmp.WrapModeInternal = columnStyle.
WrapMode
;
733
Debug.Assert(dataGridViewStyle.
WrapMode
!= DataGridViewTriState.NotSet);
734
inheritedCellStyleTmp.WrapModeInternal = dataGridViewStyle.
WrapMode
;
winforms\Managed\System\WinForms\DataGridViewColumnHeaderCell.cs (11)
470
if (cellStyle != null && cellStyle.
WrapMode
!= DataGridViewTriState.NotSet)
472
inheritedCellStyleTmp.WrapModeInternal = cellStyle.
WrapMode
;
474
else if (columnHeadersStyle.
WrapMode
!= DataGridViewTriState.NotSet)
476
inheritedCellStyleTmp.WrapModeInternal = columnHeadersStyle.
WrapMode
;
480
Debug.Assert(dataGridViewStyle.
WrapMode
!= DataGridViewTriState.NotSet);
481
inheritedCellStyleTmp.WrapModeInternal = dataGridViewStyle.
WrapMode
;
540
TextFormatFlags flags = DataGridViewUtilities.ComputeTextFormatFlagsForCellStyleAlignment(this.DataGridView.RightToLeftInternal, cellStyle.Alignment, cellStyle.
WrapMode
);
554
if (cellStyle.
WrapMode
== DataGridViewTriState.True)
607
if (cellStyle.
WrapMode
== DataGridViewTriState.True)
656
if (cellStyle.
WrapMode
== DataGridViewTriState.True)
982
TextFormatFlags flags = DataGridViewUtilities.ComputeTextFormatFlagsForCellStyleAlignment(this.DataGridView.RightToLeftInternal, cellStyle.Alignment, cellStyle.
WrapMode
);
winforms\Managed\System\WinForms\DataGridViewComboBoxCell.cs (3)
1374
TextFormatFlags flags = DataGridViewUtilities.ComputeTextFormatFlagsForCellStyleAlignment(this.DataGridView.RightToLeftInternal, cellStyle.Alignment, cellStyle.
WrapMode
);
2583
int verticalTextMarginTop = cellStyle.
WrapMode
== DataGridViewTriState.True ? DATAGRIDVIEWCOMBOBOXCELL_verticalTextMarginTopWithWrapping : DATAGRIDVIEWCOMBOBOXCELL_verticalTextMarginTopWithoutWrapping;
2598
TextFormatFlags flags = DataGridViewUtilities.ComputeTextFormatFlagsForCellStyleAlignment(this.DataGridView.RightToLeftInternal, cellStyle.Alignment, cellStyle.
WrapMode
);
winforms\Managed\System\WinForms\DataGridViewImageColumn.cs (1)
340
defaultCellStyle.
WrapMode
!= DataGridViewTriState.NotSet ||
winforms\Managed\System\WinForms\DataGridViewLinkCell.cs (3)
672
TextFormatFlags flags = DataGridViewUtilities.ComputeTextFormatFlagsForCellStyleAlignment(this.DataGridView.RightToLeftInternal, cellStyle.Alignment, cellStyle.
WrapMode
);
673
if (cellStyle.
WrapMode
== DataGridViewTriState.True && formattedString.Length > 1)
1057
TextFormatFlags flags = DataGridViewUtilities.ComputeTextFormatFlagsForCellStyleAlignment(this.DataGridView.RightToLeftInternal, cellStyle.Alignment, cellStyle.
WrapMode
);
winforms\Managed\System\WinForms\DataGridViewMethods.cs (6)
2972
if (cellStyle != null && cellStyle.
WrapMode
!= DataGridViewTriState.NotSet)
2974
inheritedCellStyle.WrapModeInternal = cellStyle.
WrapMode
;
2976
else if (columnHeadersStyle != null && columnHeadersStyle.
WrapMode
!= DataGridViewTriState.NotSet)
2978
inheritedCellStyle.WrapModeInternal = columnHeadersStyle.
WrapMode
;
2982
Debug.Assert(dataGridViewStyle.
WrapMode
!= DataGridViewTriState.NotSet);
2983
inheritedCellStyle.WrapModeInternal = dataGridViewStyle.
WrapMode
;
winforms\Managed\System\WinForms\DataGridViewRow.cs (15)
828
if (cellStyle != null && cellStyle.
WrapMode
!= DataGridViewTriState.NotSet)
830
inheritedCellStyle.WrapModeInternal = cellStyle.
WrapMode
;
832
else if (rowHeadersStyle != null && rowHeadersStyle.
WrapMode
!= DataGridViewTriState.NotSet)
834
inheritedCellStyle.WrapModeInternal = rowHeadersStyle.
WrapMode
;
838
Debug.Assert(dataGridViewStyle.
WrapMode
!= DataGridViewTriState.NotSet);
839
inheritedCellStyle.WrapModeInternal = dataGridViewStyle.
WrapMode
;
1065
if (rowStyle != null && rowStyle.
WrapMode
!= DataGridViewTriState.NotSet)
1067
inheritedRowStyle.WrapModeInternal = rowStyle.
WrapMode
;
1069
else if (rowsDefaultCellStyle.
WrapMode
!= DataGridViewTriState.NotSet && (rowIndex % 2 == 0 || alternatingRowsDefaultCellStyle.
WrapMode
== DataGridViewTriState.NotSet))
1071
inheritedRowStyle.WrapModeInternal = rowsDefaultCellStyle.
WrapMode
;
1073
else if (rowIndex % 2 == 1 && alternatingRowsDefaultCellStyle.
WrapMode
!= DataGridViewTriState.NotSet)
1075
inheritedRowStyle.WrapModeInternal = alternatingRowsDefaultCellStyle.
WrapMode
;
1079
Debug.Assert(dataGridViewStyle.
WrapMode
!= DataGridViewTriState.NotSet);
1080
inheritedRowStyle.WrapModeInternal = dataGridViewStyle.
WrapMode
;
winforms\Managed\System\WinForms\DataGridViewRowHeaderCell.cs (8)
596
if (cellStyle != null && cellStyle.
WrapMode
!= DataGridViewTriState.NotSet)
598
inheritedCellStyleTmp.WrapModeInternal = cellStyle.
WrapMode
;
600
else if (rowHeadersStyle.
WrapMode
!= DataGridViewTriState.NotSet)
602
inheritedCellStyleTmp.WrapModeInternal = rowHeadersStyle.
WrapMode
;
606
Debug.Assert(dataGridViewStyle.
WrapMode
!= DataGridViewTriState.NotSet);
607
inheritedCellStyleTmp.WrapModeInternal = dataGridViewStyle.
WrapMode
;
668
TextFormatFlags flags = DataGridViewUtilities.ComputeTextFormatFlagsForCellStyleAlignment(this.DataGridView.RightToLeftInternal, cellStyle.Alignment, cellStyle.
WrapMode
);
974
TextFormatFlags flags = DataGridViewUtilities.ComputeTextFormatFlagsForCellStyleAlignment(this.DataGridView.RightToLeftInternal, cellStyle.Alignment, cellStyle.
WrapMode
);
winforms\Managed\System\WinForms\DataGridViewTextBoxCell.cs (9)
192
Debug.Assert(cellStyle.
WrapMode
!= DataGridViewTriState.NotSet);
264
if (cellStyle.
WrapMode
== DataGridViewTriState.False)
275
TextFormatFlags flags = DataGridViewUtilities.ComputeTextFormatFlagsForCellStyleAlignment(this.DataGridView.RightToLeftInternal, cellStyle.Alignment, cellStyle.
WrapMode
);
447
TextFormatFlags flags = DataGridViewUtilities.ComputeTextFormatFlagsForCellStyleAlignment(this.DataGridView.RightToLeftInternal, cellStyle.Alignment, cellStyle.
WrapMode
);
448
if (cellStyle.
WrapMode
== DataGridViewTriState.True && formattedString.Length > 1)
518
int verticalTextMarginTop = cellStyle.
WrapMode
== DataGridViewTriState.True ? DATAGRIDVIEWTEXTBOXCELL_verticalTextMarginTopWithWrapping : DATAGRIDVIEWTEXTBOXCELL_verticalTextMarginTopWithoutWrapping;
541
textBox.AcceptsReturn = textBox.Multiline = dataGridViewCellStyle.
WrapMode
== DataGridViewTriState.True;
755
int verticalTextMarginTop = cellStyle.
WrapMode
== DataGridViewTriState.True ? DATAGRIDVIEWTEXTBOXCELL_verticalTextMarginTopWithWrapping : DATAGRIDVIEWTEXTBOXCELL_verticalTextMarginTopWithoutWrapping;
761
TextFormatFlags flags = DataGridViewUtilities.ComputeTextFormatFlagsForCellStyleAlignment(this.DataGridView.RightToLeftInternal, cellStyle.Alignment, cellStyle.
WrapMode
);
winforms\Managed\System\WinForms\DataGridViewTextBoxEditingControl.cs (2)
146
if (dataGridViewCellStyle.
WrapMode
== DataGridViewTriState.True)
151
this.repositionOnValueChange = (dataGridViewCellStyle.
WrapMode
== DataGridViewTriState.True && (dataGridViewCellStyle.Alignment & anyTop) == 0);
winforms\Managed\System\WinForms\DataGridViewTopLeftHeaderCell.cs (2)
186
TextFormatFlags flags = DataGridViewUtilities.ComputeTextFormatFlagsForCellStyleAlignment(this.DataGridView.RightToLeftInternal, cellStyle.Alignment, cellStyle.
WrapMode
);
353
TextFormatFlags flags = DataGridViewUtilities.ComputeTextFormatFlagsForCellStyleAlignment(this.DataGridView.RightToLeftInternal, cellStyle.Alignment, cellStyle.
WrapMode
);
winforms\Managed\System\WinForms\DataGridViewUtilities.cs (3)
192
if (cellStyle.
WrapMode
== DataGridViewTriState.True)
246
if (cellStyle.
WrapMode
== DataGridViewTriState.True)
270
if (cellStyle.
WrapMode
== DataGridViewTriState.True)