Author: dna
Date: 2006-12-17 06:41:14 -0500 (Sun, 17 Dec 2006)
New Revision: 69597

Modified:
   trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
   trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ListViewGroup.cs
   trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Theme.cs
   
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ThemeWin32Classic.cs
Log:
2006-12-17  Daniel Nauck  <[EMAIL PROTECTED]>

        * ListViewGroup.cs: add internal Location property for layouting.
        * Theme.cs: add abstract ListViewGroupHeight function.
        * ThemeWin32Classic.cs: implement ListViewGroupHeight function.



Modified: trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
===================================================================
--- trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog        
2006-12-17 11:20:51 UTC (rev 69596)
+++ trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog        
2006-12-17 11:41:14 UTC (rev 69597)
@@ -1,3 +1,9 @@
+2006-12-17  Daniel Nauck  <[EMAIL PROTECTED]>
+
+       * ListViewGroup.cs: add internal Location property for layouting.
+       * Theme.cs: add abstract ListViewGroupHeight function.
+       * ThemeWin32Classic.cs: implement ListViewGroupHeight function.
+
 2006-12-16  Andreia Gaita  <[EMAIL PROTECTED]>
 
        * TabControl.cs: Fixed checks for NET_2_0-specific exceptions.

Modified: 
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ListViewGroup.cs
===================================================================
--- trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ListViewGroup.cs 
2006-12-17 11:20:51 UTC (rev 69596)
+++ trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ListViewGroup.cs 
2006-12-17 11:41:14 UTC (rev 69597)
@@ -31,6 +31,7 @@
 using System.Text;
 using System.Runtime.Serialization;
 using System.ComponentModel;
+using System.Drawing;
 
 namespace System.Windows.Forms
 {
@@ -46,6 +47,7 @@
                private ListView list_view_owner = null;
                private ListView.ListViewItemCollection items = null;
                private object tag = null;
+               private Point location = Point.Empty;
 
                #region ListViewGroup constructors
 
@@ -147,6 +149,11 @@
                        set { list_view_owner = value; }
                }
 
+               internal Point Location {
+                       get { return location; }
+                       set { location = value; }
+               }
+
                [Browsable(true)]
                [DefaultValue("")]
                public string Name {

Modified: trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Theme.cs
===================================================================
--- trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Theme.cs 
2006-12-17 11:20:51 UTC (rev 69596)
+++ trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Theme.cs 
2006-12-17 11:41:14 UTC (rev 69597)
@@ -784,6 +784,7 @@
                public abstract int ListViewEmptyColumnWidth { get; }
                public abstract int ListViewHorizontalSpacing { get; }
                public abstract Size ListViewDefaultSize { get; }
+               public abstract int ListViewGroupHeight { get; }
                #endregion      // ListView
                
                #region Menus

Modified: 
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ThemeWin32Classic.cs
===================================================================
--- 
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ThemeWin32Classic.cs 
    2006-12-17 11:20:51 UTC (rev 69596)
+++ 
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ThemeWin32Classic.cs 
    2006-12-17 11:41:14 UTC (rev 69597)
@@ -2031,6 +2031,10 @@
                public override Size ListViewDefaultSize {
                        get { return new Size (121, 97); }
                }
+
+               public override int ListViewGroupHeight { 
+                       get { return 20; }
+               }
                #endregion      // ListView
                
                #region Menus

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to