2007-04-02 Jonathan Pobst <monkey@jpobst.com>
[mono.git] / mcs / class / Managed.Windows.Forms / System.Windows.Forms / DataGridViewImageCell.cs
index ca350e8ed290f4e6e0e6731e51ccc60425f78e23..2fc463164de17b0aada225a25d17269f616f40bb 100644 (file)
@@ -50,6 +50,7 @@ namespace System.Windows.Forms {
                        get { return defaultNewRowValue; }
                }
 
+               [DefaultValue ("")]
                public string Description {
                        get { return description; }
                        set { description = value; }
@@ -63,6 +64,7 @@ namespace System.Windows.Forms {
                        get { return (valueIsIcon)? typeof(Icon) : typeof(Image); }
                }
 
+               [DefaultValue (DataGridViewImageCellLayout.NotSet)]
                public DataGridViewImageCellLayout ImageLayout {
                        get { return imageLayout; }
                        set {
@@ -73,6 +75,7 @@ namespace System.Windows.Forms {
                        }
                }
 
+               [DefaultValue (false)]
                public bool ValueIsIcon {
                        get { return valueIsIcon; }
                        set { valueIsIcon = value; }
@@ -132,14 +135,6 @@ namespace System.Windows.Forms {
                        throw new NotImplementedException();
                }
 
-               protected override void OnMouseEnter (int rowIndex) {
-                       throw new NotImplementedException();
-               }
-
-               protected override void OnMouseLeave (int rowIndex) {
-                       throw new NotImplementedException();
-               }
-
                protected override void Paint (Graphics graphics, Rectangle clipBounds, Rectangle cellBounds, int rowIndex, DataGridViewElementStates elementeState, object value, object formattedValue, string errorText, DataGridViewCellStyle cellStyle, DataGridViewAdvancedBorderStyle advancedBorderStyle, DataGridViewPaintParts paintParts) {
                        throw new NotImplementedException();
                }