46 references to True
System.Windows.Forms (46)
winforms\Managed\System\WinForms\DataGridView.cs (2)
1954
defaultStyle.WrapModeInternal = DataGridViewTriState.
True
;
2643
defaultStyle.WrapModeInternal = DataGridViewTriState.
True
;
winforms\Managed\System\WinForms\DataGridViewBand.cs (4)
634
return ((this.State & DataGridViewElementStates.Resizable) != 0) ? DataGridViewTriState.
True
: DataGridViewTriState.False;
638
return this.DataGridView.AllowUserToResizeColumns ? DataGridViewTriState.
True
: DataGridViewTriState.False;
655
if (((this.State & DataGridViewElementStates.Resizable) != 0) != (value == DataGridViewTriState.
True
))
657
if (value == DataGridViewTriState.
True
)
winforms\Managed\System\WinForms\DataGridViewButtonCell.cs (3)
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)
winforms\Managed\System\WinForms\DataGridViewCell.cs (6)
659
if (this.owningRow != null && (this.owningRow.DataGridView == null || this.RowIndex >= 0) && this.owningRow.Resizable == DataGridViewTriState.
True
)
667
return this.owningColumn.Resizable == DataGridViewTriState.
True
;
2077
if (this.owningRow.GetResizable(rowIndex) == DataGridViewTriState.
True
)
2104
if (this.owningRow.GetResizable(rowIndex) == DataGridViewTriState.
True
||
2105
this.owningColumn.Resizable == DataGridViewTriState.
True
)
2609
if (cellStyle.WrapMode == DataGridViewTriState.
True
)
winforms\Managed\System\WinForms\DataGridViewColumnCollection.cs (1)
576
((DataGridViewColumn)this.items[columnIndex]).Resizable == DataGridViewTriState.
True
)
winforms\Managed\System\WinForms\DataGridViewColumnHeaderCell.cs (3)
554
if (cellStyle.WrapMode == DataGridViewTriState.
True
)
607
if (cellStyle.WrapMode == DataGridViewTriState.
True
)
656
if (cellStyle.WrapMode == DataGridViewTriState.
True
)
winforms\Managed\System\WinForms\DataGridViewComboBoxCell.cs (1)
2583
int verticalTextMarginTop = cellStyle.WrapMode == DataGridViewTriState.
True
? DATAGRIDVIEWCOMBOBOXCELL_verticalTextMarginTopWithWrapping : DATAGRIDVIEWCOMBOBOXCELL_verticalTextMarginTopWithoutWrapping;
winforms\Managed\System\WinForms\DataGridViewHeaderCell.cs (4)
201
return (this.OwningRow.Resizable == DataGridViewTriState.
True
) || (this.DataGridView != null && this.DataGridView.RowHeadersWidthSizeMode == DataGridViewRowHeadersWidthSizeMode.EnableResizing);
207
return (this.OwningColumn.Resizable == DataGridViewTriState.
True
) ||
343
if (this.OwningRow.GetResizable(rowIndex) == DataGridViewTriState.
True
|| (this.DataGridView != null && this.DataGridView.RowHeadersWidthSizeMode == DataGridViewRowHeadersWidthSizeMode.EnableResizing))
364
if (this.OwningColumn.Resizable == DataGridViewTriState.
True
||
winforms\Managed\System\WinForms\DataGridViewLinkCell.cs (1)
673
if (cellStyle.WrapMode == DataGridViewTriState.
True
&& formattedString.Length > 1)
winforms\Managed\System\WinForms\DataGridViewMethods.cs (9)
7065
if (!RowIsResizable(rowIndex) && dataGridViewCell.OwningColumn.Resizable != DataGridViewTriState.
True
)
9468
if (dataGridViewColumn.Resizable == DataGridViewTriState.
True
&&
9501
if (dataGridViewColumn.Resizable == DataGridViewTriState.
True
&&
9649
if (dataGridViewColumn.Resizable == DataGridViewTriState.
True
&&
9677
if (dataGridViewColumn.Resizable == DataGridViewTriState.
True
&&
12337
Debug.Assert(this.Columns[columnIndex].Resizable == DataGridViewTriState.
True
);
16453
Debug.Assert(this.Columns[columnIndex].Resizable == DataGridViewTriState.
True
);
16489
Debug.Assert(this.Rows[rowIndex].Resizable == DataGridViewTriState.
True
);
22459
if (dataGridViewColumn != null && dataGridViewColumn.Resizable == DataGridViewTriState.
True
&&
winforms\Managed\System\WinForms\DataGridViewRow.cs (2)
1451
return ((GetState(rowIndex) & DataGridViewElementStates.Resizable) != 0) ? DataGridViewTriState.
True
: DataGridViewTriState.False;
1455
return this.DataGridView.AllowUserToResizeRows ? DataGridViewTriState.
True
: DataGridViewTriState.False;
winforms\Managed\System\WinForms\DataGridViewRowCollection.cs (1)
2455
dataGridViewRow.Resizable = value ? DataGridViewTriState.
True
: DataGridViewTriState.False;
winforms\Managed\System\WinForms\DataGridViewTextBoxCell.cs (4)
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;
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\DataGridViewUtilities.cs (3)
192
if (cellStyle.WrapMode == DataGridViewTriState.
True
)
246
if (cellStyle.WrapMode == DataGridViewTriState.
True
)
270
if (cellStyle.WrapMode == DataGridViewTriState.
True
)