X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=mcs%2Fclass%2FManaged.Windows.Forms%2FSystem.Windows.Forms%2FDataGridViewCheckBoxColumn.cs;h=515c6d8f95c72c35c4740d18cf852ee5157f58e1;hb=426893c54bdcc14cc32022c3cb9258340b1d150d;hp=13004b293b988f7b86e1f2525ee2d8ade1de2f28;hpb=64f85a65b023522d3f34e9932e6a843e0ad8fc3b;p=mono.git diff --git a/mcs/class/Managed.Windows.Forms/System.Windows.Forms/DataGridViewCheckBoxColumn.cs b/mcs/class/Managed.Windows.Forms/System.Windows.Forms/DataGridViewCheckBoxColumn.cs index 13004b293b9..515c6d8f95c 100644 --- a/mcs/class/Managed.Windows.Forms/System.Windows.Forms/DataGridViewCheckBoxColumn.cs +++ b/mcs/class/Managed.Windows.Forms/System.Windows.Forms/DataGridViewCheckBoxColumn.cs @@ -26,6 +26,8 @@ #if NET_2_0 +using System.ComponentModel; + namespace System.Windows.Forms { public class DataGridViewCheckBoxColumn : DataGridViewColumn { @@ -38,16 +40,21 @@ namespace System.Windows.Forms { public DataGridViewCheckBoxColumn () : this (false) { } + [Browsable (false)] + [DesignerSerializationVisibility (DesignerSerializationVisibility.Hidden)] public override DataGridViewCell CellTemplate { get { return base.CellTemplate; } set { base.CellTemplate = value as DataGridViewCheckBoxCell; } } + [Browsable (true)] public override DataGridViewCellStyle DefaultCellStyle { get { return base.DefaultCellStyle; } set { base.DefaultCellStyle = value; } } + [DefaultValue (null)] + [TypeConverter (typeof (StringConverter))] public object FalseValue { get { if (base.CellTemplate == null) { @@ -63,6 +70,7 @@ namespace System.Windows.Forms { } } + [DefaultValue (FlatStyle.Standard)] public FlatStyle FlatStyle { get { if (base.CellTemplate == null) { @@ -78,6 +86,8 @@ namespace System.Windows.Forms { } } + [DefaultValue (null)] + [TypeConverter (typeof (StringConverter))] public object IndeterminateValue { get { if (base.CellTemplate == null) { @@ -93,6 +103,7 @@ namespace System.Windows.Forms { } } + [DefaultValue (false)] public bool ThreeState { get { if (base.CellTemplate == null) { @@ -108,6 +119,8 @@ namespace System.Windows.Forms { } } + [DefaultValue (null)] + [TypeConverter (typeof (StringConverter))] public object TrueValue { get { if (base.CellTemplate == null) {