diff options
Diffstat (limited to 'mcs/class/System.Web/System.Web.UI.WebControls/DataControlField.cs')
-rw-r--r-- | mcs/class/System.Web/System.Web.UI.WebControls/DataControlField.cs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/mcs/class/System.Web/System.Web.UI.WebControls/DataControlField.cs b/mcs/class/System.Web/System.Web.UI.WebControls/DataControlField.cs index 19db7ef97bf..1de3cc852f8 100644 --- a/mcs/class/System.Web/System.Web.UI.WebControls/DataControlField.cs +++ b/mcs/class/System.Web/System.Web.UI.WebControls/DataControlField.cs @@ -223,7 +223,7 @@ namespace System.Web.UI.WebControls { [PersistenceModeAttribute (PersistenceMode.InnerProperty)] [DefaultValueAttribute (null)] [DesignerSerializationVisibilityAttribute (DesignerSerializationVisibility.Content)] - public Style ControlStyle { + public virtual Style ControlStyle { get { if (controlStyle == null) { controlStyle = new Style (); @@ -242,7 +242,7 @@ namespace System.Web.UI.WebControls { [DesignerSerializationVisibilityAttribute (DesignerSerializationVisibility.Content)] [PersistenceModeAttribute (PersistenceMode.InnerProperty)] [WebCategoryAttribute ("Styles")] - public TableItemStyle FooterStyle { + public virtual TableItemStyle FooterStyle { get { if (footerStyle == null) { footerStyle = new TableItemStyle (); @@ -286,7 +286,7 @@ namespace System.Web.UI.WebControls { [WebCategoryAttribute ("Styles")] [PersistenceModeAttribute (PersistenceMode.InnerProperty)] [DefaultValueAttribute (null)] - public TableItemStyle HeaderStyle { + public virtual TableItemStyle HeaderStyle { get { if (headerStyle == null) { headerStyle = new TableItemStyle (); @@ -328,7 +328,7 @@ namespace System.Web.UI.WebControls { [PersistenceModeAttribute (PersistenceMode.InnerProperty)] [WebCategoryAttribute ("Styles")] [DefaultValueAttribute (null)] - public TableItemStyle ItemStyle { + public virtual TableItemStyle ItemStyle { get { if (itemStyle == null) { itemStyle = new TableItemStyle (); |