* DataGridView.cs: Implemented AutoResizeColumn(s).
authorRolf Bjarne Kvinge <RKvinge@novell.com>
Wed, 1 Aug 2007 13:56:23 +0000 (13:56 -0000)
committerRolf Bjarne Kvinge <RKvinge@novell.com>
Wed, 1 Aug 2007 13:56:23 +0000 (13:56 -0000)
commitaa0645be862d656973e145686e76c179ed4246b4
treed307218bb12d2bba6aefd8528aea4a90403422ca
parentda1d4e3d734790d76dfd2907c17256b79f41b560
* DataGridView.cs: Implemented AutoResizeColumn(s).
* DataGridViewCellStyle.cs: Added SetAlignment, fills in a StringFormat
  according to the Alignment.
* DataGridViewColumnHeaderCell.cs, DataGridViewTextBoxCell.cs:
  Implement alignment and padding when painting.
* DataGridViewRow.cs: SetValues: Don't create a cell if it already
  exists.
* DataGridViewCell.cs: Implement BorderWidths in the most primitive
  way.
* DataGridViewColumnCollection.cs: Raise OnColumnAdded on the DGV when
  a column is added.

svn path=/trunk/mcs/; revision=83189
mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
mcs/class/Managed.Windows.Forms/System.Windows.Forms/DataGridView.cs
mcs/class/Managed.Windows.Forms/System.Windows.Forms/DataGridViewCell.cs
mcs/class/Managed.Windows.Forms/System.Windows.Forms/DataGridViewCellStyle.cs
mcs/class/Managed.Windows.Forms/System.Windows.Forms/DataGridViewColumnCollection.cs
mcs/class/Managed.Windows.Forms/System.Windows.Forms/DataGridViewColumnHeaderCell.cs
mcs/class/Managed.Windows.Forms/System.Windows.Forms/DataGridViewRow.cs
mcs/class/Managed.Windows.Forms/System.Windows.Forms/DataGridViewTextBoxCell.cs