181 references to Attributes
System.Web (180)
Handlers\TraceHandler.cs (1)
297
a.
Attributes
["class"] = "link";
UI\HtmlControls\HtmlAnchor.cs (9)
81
string s =
Attributes
["href"];
85
Attributes
["href"] = MapStringAttributeToString(value);
105
string s =
Attributes
["name"];
109
Attributes
["name"] = MapStringAttributeToString(value);
131
string s =
Attributes
["target"];
135
Attributes
["target"] = MapStringAttributeToString(value);
155
string s =
Attributes
["title"];
159
Attributes
["title"] = MapStringAttributeToString(value);
229
Attributes
.Remove("href");
UI\HtmlControls\HtmlArea.cs (2)
26
string s =
Attributes
["href"];
30
Attributes
["href"] = MapStringAttributeToString(value);
UI\HtmlControls\HtmlAudio.cs (2)
43
string s =
Attributes
["src"];
47
Attributes
["src"] = MapStringAttributeToString(value);
UI\HtmlControls\HtmlControl.cs (9)
104
return
Attributes
.CssStyle;
146
string s =
Attributes
["disabled"];
152
Attributes
["disabled"] = "disabled";
154
Attributes
["disabled"] = null;
199
Attributes
.Render(writer);
231
return
Attributes
[name];
250
Attributes
[name] = value;
256
string url =
Attributes
[attribName];
270
Attributes
.Remove(attribName);
UI\HtmlControls\HtmlElement.cs (2)
25
string s =
Attributes
["manifest"];
29
Attributes
["manifest"] = MapStringAttributeToString(value);
UI\HtmlControls\HtmlEmbed.cs (2)
25
string s =
Attributes
["src"];
29
Attributes
["src"] = MapStringAttributeToString(value);
UI\HtmlControls\HtmlIframe.cs (2)
25
string s =
Attributes
["src"];
29
Attributes
["src"] = MapStringAttributeToString(value);
UI\HtmlControls\HtmlImage.cs (13)
64
string s =
Attributes
["alt"];
71
Attributes
["alt"] = value;
74
Attributes
["alt"] = MapStringAttributeToString(value);
94
string s =
Attributes
["align"];
98
Attributes
["align"] = MapStringAttributeToString(value);
118
string s =
Attributes
["border"];
122
Attributes
["border"] = MapIntegerAttributeToString(value);
145
string s =
Attributes
["height"];
149
Attributes
["height"] = MapIntegerAttributeToString(value);
172
string s =
Attributes
["src"];
176
Attributes
["src"] = MapStringAttributeToString(value);
198
string s =
Attributes
["width"];
202
Attributes
["width"] = MapIntegerAttributeToString(value);
UI\HtmlControls\HtmlInputCheckBox.cs (3)
67
string s =
Attributes
["checked"];
72
Attributes
["checked"] = "checked";
74
Attributes
["checked"] = null;
UI\HtmlControls\HtmlInputControl.cs (7)
51
Attributes
["type"] = type;
108
string s =
Attributes
["value"];
112
Attributes
["value"] = MapStringAttributeToString(value);
132
string s =
Attributes
["type"];
151
Attributes
.Remove("name");
156
Attributes
.Remove("type");
162
Attributes
.Add("type", type);
UI\HtmlControls\HtmlInputFile.cs (6)
77
string s =
Attributes
["accept"];
81
Attributes
["accept"] = MapStringAttributeToString(value);
103
string s =
Attributes
["maxlength"];
107
Attributes
["maxlength"] = MapIntegerAttributeToString(value);
143
string s =
Attributes
["size"];
147
Attributes
["size"] = MapIntegerAttributeToString(value);
UI\HtmlControls\HtmlInputImage.cs (8)
69
string s =
Attributes
["align"];
73
Attributes
["align"] = MapStringAttributeToString(value);
96
string s =
Attributes
["alt"];
100
Attributes
["alt"] = MapStringAttributeToString(value);
121
string s =
Attributes
["border"];
125
Attributes
["border"] = MapIntegerAttributeToString(value);
147
string s =
Attributes
["src"];
151
Attributes
["src"] = MapStringAttributeToString(value);
UI\HtmlControls\HtmlInputRadioButton.cs (6)
64
string s =
Attributes
["checked"];
69
Attributes
["checked"] = "checked";
71
Attributes
["checked"] = null;
84
string s =
Attributes
["name"];
88
Attributes
["name"] = MapStringAttributeToString(value);
189
Attributes
.Remove("value");
UI\HtmlControls\HtmlInputText.cs (5)
81
Attributes
["maxlength"] = MapIntegerAttributeToString(value);
103
string s =
Attributes
["size"];
107
Attributes
["size"] = MapIntegerAttributeToString(value);
123
string s =
Attributes
["value"];
127
Attributes
["value"] = MapStringAttributeToString(value);
UI\HtmlControls\HtmlLink.cs (3)
29
string s =
Attributes
["href"];
33
Attributes
["href"] = MapStringAttributeToString(value);
41
Attributes
["href"] = ResolveClientUrl(Href);
UI\HtmlControls\HtmlMeta.cs (8)
29
string s =
Attributes
["content"];
33
Attributes
["content"] = MapStringAttributeToString(value);
44
string s =
Attributes
["http-equiv"];
48
Attributes
["http-equiv"] = MapStringAttributeToString(value);
59
string s =
Attributes
["name"];
63
Attributes
["name"] = MapStringAttributeToString(value);
74
string s =
Attributes
["scheme"];
78
Attributes
["scheme"] = MapStringAttributeToString(value);
UI\HtmlControls\HtmlSelect.cs (15)
99
Attributes
["DataMember"] = MapStringAttributeToString(value);
171
string s =
Attributes
["DataTextField"];
175
Attributes
["DataTextField"] = MapStringAttributeToString(value);
197
string s =
Attributes
["DataValueField"];
201
Attributes
["DataValueField"] = MapStringAttributeToString(value);
282
string s =
Attributes
["multiple"];
288
Attributes
["multiple"] = "multiple";
290
Attributes
["multiple"] = null;
430
string s =
Attributes
["size"];
435
Attributes
["size"] = MapIntegerAttributeToString(value);
806
Attributes
.Remove("name");
808
Attributes
.Remove("DataValueField");
809
Attributes
.Remove("DataTextField");
810
Attributes
.Remove("DataMember");
811
Attributes
.Remove("DataSourceID");
UI\HtmlControls\HtmlSource.cs (2)
46
string s =
Attributes
["src"];
50
Attributes
["src"] = MapStringAttributeToString(value);
UI\HtmlControls\HtmlTable.cs (16)
50
string s =
Attributes
["align"];
55
Attributes
["align"] = MapStringAttributeToString(value);
71
string s =
Attributes
["bgcolor"];
76
Attributes
["bgcolor"] = MapStringAttributeToString(value);
92
string s =
Attributes
["border"];
97
Attributes
["border"] = MapIntegerAttributeToString(value);
112
string s =
Attributes
["bordercolor"];
117
Attributes
["bordercolor"] = MapStringAttributeToString(value);
134
string s =
Attributes
["cellpadding"];
138
Attributes
["cellpadding"] = MapIntegerAttributeToString(value);
155
string s =
Attributes
["cellspacing"];
159
Attributes
["cellspacing"] = MapIntegerAttributeToString(value);
203
string s =
Attributes
["height"];
208
Attributes
["height"] = MapStringAttributeToString(value);
225
string s =
Attributes
["width"];
230
Attributes
["width"] = MapStringAttributeToString(value);
UI\HtmlControls\HtmlTableCell.cs (19)
61
string s =
Attributes
["align"];
66
Attributes
["align"] = MapStringAttributeToString(value);
84
string s =
Attributes
["bgcolor"];
89
Attributes
["bgcolor"] = MapStringAttributeToString(value);
107
string s =
Attributes
["bordercolor"];
112
Attributes
["bordercolor"] = MapStringAttributeToString(value);
132
string s =
Attributes
["colspan"];
136
Attributes
["colspan"] = MapIntegerAttributeToString(value);
154
string s =
Attributes
["height"];
159
Attributes
["height"] = MapStringAttributeToString(value);
182
string s =
Attributes
["nowrap"];
188
Attributes
["nowrap"] = "nowrap";
190
Attributes
["nowrap"] = null;
211
string s =
Attributes
["rowspan"];
215
Attributes
["rowspan"] = MapIntegerAttributeToString(value);
233
string s =
Attributes
["valign"];
238
Attributes
["valign"] = MapStringAttributeToString(value);
256
string s =
Attributes
["width"];
261
Attributes
["width"] = MapStringAttributeToString(value);
UI\HtmlControls\HtmlTableRow.cs (10)
50
string s =
Attributes
["align"];
55
Attributes
["align"] = MapStringAttributeToString(value);
96
string s =
Attributes
["bgcolor"];
101
Attributes
["bgcolor"] = MapStringAttributeToString(value);
118
string s =
Attributes
["bordercolor"];
123
Attributes
["bordercolor"] = MapStringAttributeToString(value);
140
string s =
Attributes
["height"];
145
Attributes
["height"] = MapStringAttributeToString(value);
189
string s =
Attributes
["valign"];
194
Attributes
["valign"] = MapStringAttributeToString(value);
UI\HtmlControls\HtmlTextArea.cs (5)
64
string s =
Attributes
["cols"];
68
Attributes
["cols"] = MapIntegerAttributeToString(value);
124
string s =
Attributes
["rows"];
128
Attributes
["rows"] = MapIntegerAttributeToString(value);
190
Attributes
.Remove("name");
UI\HtmlControls\HtmlTrack.cs (2)
46
string s =
Attributes
["src"];
50
Attributes
["src"] = MapStringAttributeToString(value);
UI\HtmlControls\HtmlVideo.cs (4)
37
string s =
Attributes
["poster"];
41
Attributes
["poster"] = MapStringAttributeToString(value);
58
string s =
Attributes
["src"];
62
Attributes
["src"] = MapStringAttributeToString(value);
UI\HtmlForm.cs (16)
52
string s =
Attributes
["action"];
56
Attributes
["action"] = MapStringAttributeToString(value);
117
string s =
Attributes
["enctype"];
121
Attributes
["enctype"] = MapStringAttributeToString(value);
143
string s =
Attributes
["method"];
147
Attributes
["method"] = MapStringAttributeToString(value);
210
string s =
Attributes
["target"];
215
Attributes
["target"] = MapStringAttributeToString(value);
365
foreach (String key in
Attributes
.Keys) {
372
Attributes
.Remove(key);
386
Attributes
.Remove("name");
390
Attributes
.Remove("method");
394
Attributes
.Remove("action");
400
if (
Attributes
["onsubmit"] != null) {
402
string formOnSubmit =
Attributes
["onsubmit"];
410
Attributes
.Remove("onsubmit");
UI\PageTheme.cs (2)
122
link.
Attributes
["type"] = "text/css";
123
link.
Attributes
["rel"] = "stylesheet";
UI\Util.cs (1)
1602
AttributeCollection attributes = control.
Attributes
;
System.Web.Mobile (1)
UI\MobileControls\Design\MobileControlPersister.cs (1)
652
expandos = ((HtmlControl)component).
Attributes
;