2007-04-04 Chris Toshok <toshok@ximian.com>
commit53a2855af9137d7829bb06efc225479c32dae0a4
authortoshok <toshok@e3ebcda4-bce8-0310-ba0a-eca2169e7518>
Wed, 4 Apr 2007 19:34:33 +0000 (4 19:34 +0000)
committertoshok <toshok@e3ebcda4-bce8-0310-ba0a-eca2169e7518>
Wed, 4 Apr 2007 19:34:33 +0000 (4 19:34 +0000)
treea3204f9674156c01fa59cb840b426c34df4a474c
parent946daac08aa82e9d75a7a2b6fc3d2b6ca9daf8b8
2007-04-04  Chris Toshok  <toshok@ximian.com>

* DataGridTextBoxColumn.cs: set the bounds of the text box to
(0,0,0,0) in Commit, as MS does.

* DataGrid.cs: call EndEdit() from Select() as microsoft does, and
make sure we set CurrentRow on a row header click *before* calling
Select.  This moves the current cell (and the textbox) to the new
row.  The call to Select then hides the textbox, giving us the
correct behavior.  Fixes #80362.

* CurrencyManager.cs (UpdateIsBinding): raise ItemChanged (-1).
(ListChangedHandler): reorder the position/current changed events,
and call UpdateIsBinding in the ItemAdded case.

* GridColumnStylesCollection.cs: add some columns events, one of
which raises the CollectionChanged event.

git-svn-id: svn+ssh://mono-cvs.ximian.com/source/trunk/mcs@75404 e3ebcda4-bce8-0310-ba0a-eca2169e7518
class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
class/Managed.Windows.Forms/System.Windows.Forms/CurrencyManager.cs
class/Managed.Windows.Forms/System.Windows.Forms/DataGrid.cs
class/Managed.Windows.Forms/System.Windows.Forms/DataGridTextBoxColumn.cs
class/Managed.Windows.Forms/System.Windows.Forms/GridColumnStylesCollection.cs