corrected rendering: styles are applied correct
[mono.git] / mcs / class / System.Web / System.Web.UI.WebControls / HotSpot.cs
index 6c587c268518b737072f1f1f73fbc12a087ea086..42c55f7b4f2c74ba66b26be4b51b582a3ea2a35e 100644 (file)
@@ -35,15 +35,15 @@ using System.Security.Permissions;
 
 namespace System.Web.UI.WebControls
 {
-       [TypeConverterAttribute (typeof(ExpandableObjectConverter))]\r
+       [TypeConverterAttribute (typeof(ExpandableObjectConverter))]
        [AspNetHostingPermissionAttribute (SecurityAction.LinkDemand, Level = AspNetHostingPermissionLevel.Minimal)]
        [AspNetHostingPermissionAttribute (SecurityAction.InheritanceDemand, Level = AspNetHostingPermissionLevel.Minimal)]
        public abstract class HotSpot: IStateManager
        {
                StateBag viewState = new StateBag ();
                
-           [LocalizableAttribute (true)]\r
-           [DefaultValueAttribute ("")]\r
+               [LocalizableAttribute (true)]
+               [DefaultValueAttribute ("")]
                public virtual string AccessKey {
                        get {
                                object o = viewState ["AccessKey"];
@@ -54,10 +54,11 @@ namespace System.Web.UI.WebControls
                        }
                }
                
-           [NotifyParentPropertyAttribute (true)]\r
-           [WebCategoryAttribute ("Behavior")]\r
-           [DefaultValueAttribute ("")]\r
-           [BindableAttribute (true)]\r
+               [LocalizableAttribute (true)]
+               [NotifyParentPropertyAttribute (true)]
+               [WebCategoryAttribute ("Behavior")]
+               [DefaultValueAttribute ("")]
+               [BindableAttribute (true)]
                public virtual string AlternateText {
                        get {
                                object o = viewState ["AlternateText"];
@@ -68,9 +69,9 @@ namespace System.Web.UI.WebControls
                        }
                }
                
-           [WebCategoryAttribute ("Behavior")]\r
-           [DefaultValueAttribute (HotSpotMode.NotSet)]\r
-           [NotifyParentPropertyAttribute (true)]\r
+               [WebCategoryAttribute ("Behavior")]
+               [DefaultValueAttribute (HotSpotMode.NotSet)]
+               [NotifyParentPropertyAttribute (true)]
                public virtual HotSpotMode HotSpotMode {
                        get {
                                object o = viewState ["HotSpotMode"];
@@ -81,12 +82,12 @@ namespace System.Web.UI.WebControls
                        }
                }
                
-           [DefaultValueAttribute ("")]\r
-           [BindableAttribute (true)]\r
-           [EditorAttribute ("System.Web.UI.Design.UrlEditor, " + Consts.AssemblySystem_Design, "System.Drawing.Design.UITypeEditor, " + Consts.AssemblySystem_Drawing)]\r
-           [NotifyParentPropertyAttribute (true)]\r
-           [UrlPropertyAttribute]\r
-               public virtual string NavigateUrl {
+               [DefaultValueAttribute ("")]
+               [BindableAttribute (true)]
+               [EditorAttribute ("System.Web.UI.Design.UrlEditor, " + Consts.AssemblySystem_Design, "System.Drawing.Design.UITypeEditor, " + Consts.AssemblySystem_Drawing)]
+               [NotifyParentPropertyAttribute (true)]
+               [UrlPropertyAttribute]
+               public string NavigateUrl {
                        get {
                                object o = viewState ["NavigateUrl"];
                                return o != null ? (string) o : "";
@@ -96,11 +97,11 @@ namespace System.Web.UI.WebControls
                        }
                }
                
-           [BindableAttribute (true)]\r
-           [WebCategoryAttribute ("Behavior")]\r
-           [DefaultValueAttribute ("")]\r
-           [NotifyParentPropertyAttribute (true)]\r
-               public virtual string PostBackValue {
+               [BindableAttribute (true)]
+               [WebCategoryAttribute ("Behavior")]
+               [DefaultValueAttribute ("")]
+               [NotifyParentPropertyAttribute (true)]
+               public string PostBackValue {
                        get {
                                object o = viewState ["PostBackValue"];
                                return o != null ? (string) o : "";
@@ -110,8 +111,8 @@ namespace System.Web.UI.WebControls
                        }
                }
                
-           [DefaultValueAttribute ((short)0)]\r
-           [WebCategoryAttribute ("Accessibility")]\r
+               [DefaultValueAttribute ((short)0)]
+               [WebCategoryAttribute ("Accessibility")]
                public virtual short TabIndex {
                        get {
                                object o = viewState ["TabIndex"];
@@ -122,10 +123,10 @@ namespace System.Web.UI.WebControls
                        }
                }
                
-           [WebCategoryAttribute ("Behavior")]\r
-           [NotifyParentPropertyAttribute (true)]\r
-           [DefaultValueAttribute ("")]\r
-           [TypeConverterAttribute (typeof(TargetConverter))]\r
+               [WebCategoryAttribute ("Behavior")]
+               [NotifyParentPropertyAttribute (true)]
+               [DefaultValueAttribute ("")]
+               [TypeConverterAttribute (typeof(TargetConverter))]
                public virtual string Target {
                        get {
                                object o = viewState ["Target"];