Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiguel de Icaza <miguel@gnome.org>2005-08-27 00:38:24 +0400
committerMiguel de Icaza <miguel@gnome.org>2005-08-27 00:38:24 +0400
commit4c004f75ed8cc5aed4f5b02eb9430c51aff0f86e (patch)
tree3aef61fcbb044502a0e393603b986fbece1e1057 /mcs/class/System.Web/System.Web.UI.HtmlControls/HtmlImage.cs
parent3acf0fed35e1cf8966c3a7bd9cb693d17728b500 (diff)
Remove
svn path=/trunk/mcs/; revision=48909
Diffstat (limited to 'mcs/class/System.Web/System.Web.UI.HtmlControls/HtmlImage.cs')
-rw-r--r--mcs/class/System.Web/System.Web.UI.HtmlControls/HtmlImage.cs122
1 files changed, 0 insertions, 122 deletions
diff --git a/mcs/class/System.Web/System.Web.UI.HtmlControls/HtmlImage.cs b/mcs/class/System.Web/System.Web.UI.HtmlControls/HtmlImage.cs
deleted file mode 100644
index b08d6575d79..00000000000
--- a/mcs/class/System.Web/System.Web.UI.HtmlControls/HtmlImage.cs
+++ /dev/null
@@ -1,122 +0,0 @@
-/* System.Web.UI.HtmlControls
-* Authors
-* Leen Toelen (toelen@hotmail.com)
-*/
-
-using System;
-using System.ComponentModel;
-using System.Web;
-using System.Web.UI;
-using System.Globalization;
-
-namespace System.Web.UI.HtmlControls{
- [ControlBuilder (typeof (HtmlControlBuilder))]
- public class HtmlImage : HtmlControl{
-
- public HtmlImage(): base("img"){}
-
- protected override void RenderAttributes(HtmlTextWriter writer){
- PreProcessRelativeReference(writer,"src");
- base.RenderAttributes(writer);
- writer.Write(" /");
- }
-
- [DefaultValue("")]
- [DesignerSerializationVisibility (DesignerSerializationVisibility.Hidden)]
- [WebCategory("Layout")]
- public string Align{
- get{
- string attr = Attributes["align"];
- if (attr != null){
- return attr;
- }
- return String.Empty;
- }
- set{
- Attributes["align"] = AttributeToString(value);
- }
- }
-
- [DefaultValue("")]
- [DesignerSerializationVisibility (DesignerSerializationVisibility.Hidden)]
- [WebCategory("Appearance")]
- public string Alt{
- get{
- string attr = Attributes["alt"];
- if (attr != null){
- return attr;
- }
- return String.Empty;
- }
- set{
- Attributes["alt"] = AttributeToString(value);
- }
- }
-
- [DefaultValue(0)]
- [DesignerSerializationVisibility (DesignerSerializationVisibility.Hidden)]
- [WebCategory("Appearance")]
- public int Border{
- get{
- string attr = Attributes["border"];
- if (attr != null){
- return Int32.Parse(attr,CultureInfo.InvariantCulture);
- }
- return -1;
- }
- set{
- Attributes["border"] = AttributeToString(value);
- }
- }
-
- [DefaultValue(100)]
- [DesignerSerializationVisibility (DesignerSerializationVisibility.Hidden)]
- [WebCategory("Layout")]
- public int Height
- {
- get {
- string attr = Attributes ["height"];
- if (attr != null)
- return Int32.Parse (attr, CultureInfo.InvariantCulture);
-
- return -1;
- }
-
- set { Attributes["height"] = AttributeToString (value); }
- }
-
- [DefaultValue("")]
- [DesignerSerializationVisibility (DesignerSerializationVisibility.Hidden)]
- [WebCategory("Behavior")]
- public string Src{
- get{
- string attr = Attributes["src"];
- if (attr != null){
- return attr;
- }
- return String.Empty;
- }
- set{
- Attributes["src"] = AttributeToString(value);
- }
- }
-
- [DefaultValue(100)]
- [DesignerSerializationVisibility (DesignerSerializationVisibility.Hidden)]
- [WebCategory("Layout")]
- public int Width{
- get{
- string attr = Attributes["width"];
- if (attr != null){
- return Int32.Parse(attr,CultureInfo.InvariantCulture);
- }
- return -1;
- }
- set{
- Attributes["width"] = AttributeToString(value);
- }
- }
-
- } // class HtmlImage
-} // namespace System.Web.UI.HtmlControls
-