diff options
author | Zoltan Varga <vargaz@gmail.com> | 2015-01-13 23:29:38 +0300 |
---|---|---|
committer | Zoltan Varga <vargaz@gmail.com> | 2015-01-13 23:29:38 +0300 |
commit | 0985d4aa4be4a9286db4e36cf75e3b18a31e5ff9 (patch) | |
tree | 46b65e83cd552237e592e85486afcca719d8a9c3 /mcs/class/System.Web/System.Web.UI.WebControls/TableStyle.cs | |
parent | f54652de26710952d4f80e25d87a87b346a86992 (diff) |
[bcl] Remove NET_2_0 defines from the class libs. This has been done using: unifdef -t -DNET_2_0 -o <filename> <filename>.
Diffstat (limited to 'mcs/class/System.Web/System.Web.UI.WebControls/TableStyle.cs')
-rw-r--r-- | mcs/class/System.Web/System.Web.UI.WebControls/TableStyle.cs | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/mcs/class/System.Web/System.Web.UI.WebControls/TableStyle.cs b/mcs/class/System.Web/System.Web.UI.WebControls/TableStyle.cs index 142d1b74708..1d4179df225 100644 --- a/mcs/class/System.Web/System.Web.UI.WebControls/TableStyle.cs +++ b/mcs/class/System.Web/System.Web.UI.WebControls/TableStyle.cs @@ -58,12 +58,8 @@ namespace System.Web.UI.WebControls { } -#if NET_2_0 [NotifyParentProperty (true)] [UrlProperty] -#else - [Bindable (true)] -#endif [DefaultValue ("")] [WebSysDescription ("")] [WebCategory ("Appearance")] @@ -81,11 +77,7 @@ namespace System.Web.UI.WebControls { } } -#if NET_2_0 [NotifyParentProperty (true)] -#else - [Bindable (true)] -#endif [DefaultValue (-1)] [WebSysDescription ("")] [WebCategory ("Appearance")] @@ -103,11 +95,7 @@ namespace System.Web.UI.WebControls { } } -#if NET_2_0 [NotifyParentProperty (true)] -#else - [Bindable (true)] -#endif [DefaultValue (-1)] [WebSysDescription ("")] [WebCategory ("Appearance")] @@ -126,11 +114,7 @@ namespace System.Web.UI.WebControls { } // LAMESPEC: default is documented to be Both -#if NET_2_0 [NotifyParentProperty (true)] -#else - [Bindable (true)] -#endif [DefaultValue (GridLines.None)] [WebSysDescription ("")] [WebCategory ("Appearance")] @@ -151,11 +135,7 @@ namespace System.Web.UI.WebControls { } } -#if NET_2_0 [NotifyParentProperty (true)] -#else - [Bindable (true)] -#endif [DefaultValue (HorizontalAlign.NotSet)] [WebSysDescription ("")] [WebCategory ("Layout")] @@ -238,15 +218,6 @@ namespace System.Web.UI.WebControls { writer.AddAttribute (HtmlTextWriterAttribute.Border, BorderWidth.Value.ToString (Helpers.InvariantCulture)); } #endif -#if !NET_2_0 - string s = BackImageUrl; - if (s.Length > 0) { - if (owner != null) - s = owner.ResolveClientUrl (s); - s = String.Concat ("url(", s, ")"); - writer.AddStyleAttribute (HtmlTextWriterStyle.BackgroundImage, s); - } -#endif } void Copy (string name, TableStyles s, Style source) @@ -316,7 +287,6 @@ namespace System.Web.UI.WebControls { // call base at the end because "styles" will reset there base.Reset (); } -#if NET_2_0 protected override void FillStyleAttributes (CssStyleCollection attributes, IUrlResolutionService urlResolver) { if (attributes != null) { @@ -329,7 +299,6 @@ namespace System.Web.UI.WebControls { } base.FillStyleAttributes (attributes, urlResolver); } -#endif } } |