📄 htmlinputcontrol.cs
字号:
using System;
namespace System.Web.UI.HtmlControls
{
/// <summary>
/// Summary description for HtmlInputControl.
/// </summary>
//.custom instance void System.Web.UI.ControlBuilderAttribute:
public abstract class HtmlInputControl : HtmlControl
{
public HtmlInputControl(string type) : base("input")
{
this.Attributes["type"]= type;
}
protected virtual void RenderAttributes(HtmlTextWriter writer)
{
writer.WriteAttribute("name", this.RenderedNameAttribute);
this.Attributes.Remove("name");
this.RenderAttributes(writer);
writer.Write(" /");
}
public virtual string Name
{
get
{
return this.UniqueID;
}
set
{
throw new Exception("");
}
}
internal virtual string RenderedNameAttribute
{
get
{
return this.Name;
}
}
public string Type
{
get
{
string local0;
local0 = this.Attributes["type"];
if (local0 == null)
return "";
return local0;
}
}
public virtual string Value
{
get
{
string local0;
local0 = this.Attributes["value"];
if (local0 == null)
return "";
return local0;
}
set
{
this.Attributes["value"]= System.Web.UI.HtmlControls.HtmlControl.MapStringAttributeToString(value);
}
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -