dotnetmonitor.com

 
Index
Previous
Next

 

By default, text in a DataGridViewTextBoxCell does not wrap. This can be controlled via the WrapMode property on the cell style (e.g. DataGridView.DefaultCellStyle.WrapMode). Because text doesnt wrap, new line characters in the text do not apply and so they are displayed as a non-printable character. This is similar to setting a TextBoxs Text property to the same text when the TextBoxs MultiLine property is false.
What is the DataGridView
Differences between the DataGridView and DataGrid controls
Highlight of features
Structure of DGV
Architecture Elements
Cells and Bands