Author: jpobst
Date: 2007-08-30 12:07:51 -0400 (Thu, 30 Aug 2007)
New Revision: 85060
Modified:
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ListView.cs
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ListViewItem.cs
Log:
2007-08-30 Jonathan Pobst <[EMAIL PROTECTED]>
* ListView.cs, ListViewItem.cs: corcompare stuffs.
Modified: trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
===================================================================
--- trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
2007-08-30 15:57:50 UTC (rev 85059)
+++ trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
2007-08-30 16:07:51 UTC (rev 85060)
@@ -1,5 +1,9 @@
2007-08-30 Jonathan Pobst <[EMAIL PROTECTED]>
+ * ListView.cs, ListViewItem.cs: corcompare stuffs.
+
+2007-08-30 Jonathan Pobst <[EMAIL PROTECTED]>
+
* BindingMemberInfo.cs: Implement == and != operators.
2007-08-30 Jonathan Pobst <[EMAIL PROTECTED]>
Modified: trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ListView.cs
===================================================================
--- trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ListView.cs
2007-08-30 15:57:50 UTC (rev 85059)
+++ trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ListView.cs
2007-08-30 16:07:51 UTC (rev 85060)
@@ -219,6 +219,8 @@
remove { Events.RemoveHandler
(ItemSelectionChangedEvent, value); }
}
+ [Browsable (false)]
+ [EditorBrowsable (EditorBrowsableState.Never)]
public new event EventHandler PaddingChanged {
add { base.PaddingChanged += value; }
remove { base.PaddingChanged -= value; }
@@ -512,6 +514,9 @@
get { return checked_items; }
}
+#if NET_2_0
+ [Editor
("System.Windows.Forms.Design.ColumnHeaderCollectionEditor, " +
Consts.AssemblySystem_Design, typeof (System.Drawing.Design.UITypeEditor))]
+#endif
[DesignerSerializationVisibility
(DesignerSerializationVisibility.Content)]
[Localizable (true)]
[MergableProperty (false)]
@@ -636,6 +641,9 @@
}
}
+#if NET_2_0
+ [Editor
("System.Windows.Forms.Design.ListViewItemCollectionEditor, " +
Consts.AssemblySystem_Design, typeof (System.Drawing.Design.UITypeEditor))]
+#endif
[DesignerSerializationVisibility
(DesignerSerializationVisibility.Content)]
[Localizable (true)]
[MergableProperty (false)]
@@ -704,6 +712,8 @@
}
[Browsable (false)]
+ [EditorBrowsable (EditorBrowsableState.Never)]
+ [DesignerSerializationVisibility
(DesignerSerializationVisibility.Hidden)]
public new Padding Padding {
get {
return base.Padding;
@@ -752,6 +762,7 @@
[LocalizableAttribute (true)]
[MergableProperty (false)]
[DesignerSerializationVisibility
(DesignerSerializationVisibility.Content)]
+ [Editor
("System.Windows.Forms.Design.ListViewGroupCollectionEditor, " +
Consts.AssemblySystem_Design, typeof (System.Drawing.Design.UITypeEditor))]
public ListViewGroupCollection Groups {
get { return groups; }
}
@@ -3414,6 +3425,7 @@
return new ListViewHitTestInfo (item, subitem,
locations);
}
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
public void RedrawItems (int startIndex, int endIndex, bool
invalidateOnly)
{
if (startIndex < 0 || startIndex >= items.Count)
@@ -3704,6 +3716,9 @@
}
}
+#if NET_2_0
+ [ListBindable (false)]
+#endif
public class CheckedIndexCollection : IList, ICollection,
IEnumerable
{
private readonly ListView owner;
@@ -3837,6 +3852,9 @@
}
} // CheckedIndexCollection
+#if NET_2_0
+ [ListBindable (false)]
+#endif
public class CheckedListViewItemCollection : IList,
ICollection, IEnumerable
{
private readonly ListView owner;
@@ -4039,6 +4057,9 @@
}
} // CheckedListViewItemCollection
+#if NET_2_0
+ [ListBindable (false)]
+#endif
public class ColumnHeaderCollection : IList, ICollection,
IEnumerable
{
internal ArrayList list;
@@ -4366,6 +4387,9 @@
} // ColumnHeaderCollection
+#if NET_2_0
+ [ListBindable (false)]
+#endif
public class ListViewItemCollection : IList, ICollection,
IEnumerable
{
private readonly ArrayList list;
@@ -4926,6 +4950,9 @@
//
// In virtual mode, SelectedIndexCollection directly saves the
selection
// information, instead of getting it from Items, making List
read-and-write
+#if NET_2_0
+ [ListBindable (false)]
+#endif
public class SelectedIndexCollection : IList, ICollection,
IEnumerable
{
private readonly ListView owner;
@@ -5162,6 +5189,9 @@
} // SelectedIndexCollection
+#if NET_2_0
+ [ListBindable (false)]
+#endif
public class SelectedListViewItemCollection : IList,
ICollection, IEnumerable
{
private readonly ListView owner;
Modified:
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ListViewItem.cs
===================================================================
--- trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ListViewItem.cs
2007-08-30 15:57:50 UTC (rev 85059)
+++ trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ListViewItem.cs
2007-08-30 16:07:51 UTC (rev 85060)
@@ -338,7 +338,7 @@
[Localizable (true)]
#if NET_2_0
[RefreshProperties (RefreshProperties.Repaint)]
- // [TypeConverter (typeof (NoneExcludedImageIndexConverter))]
+ [TypeConverter (typeof (NoneExcludedImageIndexConverter))]
#else
[TypeConverter (typeof (ImageIndexConverter))]
#endif
@@ -366,7 +366,7 @@
[Editor ("System.Windows.Forms.Design.ImageIndexEditor, " +
Consts.AssemblySystem_Design,
typeof (System.Drawing.Design.UITypeEditor))]
[RefreshProperties (RefreshProperties.Repaint)]
- // XXX [TypeConverter (typeof (ImageKeyConverter))
+ [TypeConverter (typeof (ImageKeyConverter))]
public string ImageKey {
get {
return image_key;
@@ -480,8 +480,8 @@
[Localizable (true)]
#if NET_2_0
[RefreshProperties (RefreshProperties.Repaint)]
- // XXX [RelatedImageListAttribute ("ListView.StateImageList")]
- // XXX [TypeConverter (typeof
(NoneExcludedImageIndexConverter))]
+ [RelatedImageListAttribute ("ListView.StateImageList")]
+ [TypeConverter (typeof (NoneExcludedImageIndexConverter))]
#else
[TypeConverter (typeof (ImageIndexConverter))]
#endif
@@ -1035,6 +1035,7 @@
}
#if NET_2_0
+ [Browsable (false)]
public
#else
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches