64 references to Add
System.Web (64)
UI\CssStyleCollection.cs (1)
96
Add
(key, value);
UI\WebControls\HyperLinkStyle.cs (10)
87
attributes.
Add
(HtmlTextWriterStyle.Color, ColorTranslator.ToHtml(c));
99
attributes.
Add
(HtmlTextWriterStyle.FontFamily, String.Join(",", names));
105
attributes.
Add
(HtmlTextWriterStyle.FontSize, fu.ToString(CultureInfo.InvariantCulture));
111
attributes.
Add
(HtmlTextWriterStyle.FontWeight, "bold");
114
attributes.
Add
(HtmlTextWriterStyle.FontWeight, "normal");
121
attributes.
Add
(HtmlTextWriterStyle.FontStyle, "italic");
124
attributes.
Add
(HtmlTextWriterStyle.FontStyle, "normal");
139
attributes.
Add
(HtmlTextWriterStyle.TextDecoration, textDecoration);
143
attributes.
Add
(HtmlTextWriterStyle.TextDecoration, "none");
148
attributes.
Add
(HtmlTextWriterStyle.BorderStyle, "none");
UI\WebControls\MenuItemStyle.cs (9)
171
attributes.
Add
(HtmlTextWriterStyle.BackgroundColor, ColorTranslator.ToHtml(c));
179
attributes.
Add
(HtmlTextWriterStyle.BorderColor, ColorTranslator.ToHtml(c));
186
attributes.
Add
(HtmlTextWriterStyle.BorderWidth, bu.ToString(CultureInfo.InvariantCulture));
189
attributes.
Add
(HtmlTextWriterStyle.BorderStyle, "solid");
193
attributes.
Add
(HtmlTextWriterStyle.BorderStyle, borderStyles[(int)bs]);
198
attributes.
Add
(HtmlTextWriterStyle.BorderStyle, borderStyles[(int)bs]);
208
attributes.
Add
(HtmlTextWriterStyle.Height, u.ToString(CultureInfo.InvariantCulture));
216
attributes.
Add
(HtmlTextWriterStyle.Width, u.ToString(CultureInfo.InvariantCulture));
224
attributes.
Add
(HtmlTextWriterStyle.Padding, string.Format(CultureInfo.InvariantCulture,
UI\WebControls\MenuRendererStandards.cs (1)
626
_styles.
Add
(styleName, value);
UI\WebControls\PopOutPanel.cs (6)
200
attributes.
Add
(HtmlTextWriterStyle.BackgroundColor, "white");
202
attributes.
Add
(HtmlTextWriterStyle.Visibility, "hidden");
203
attributes.
Add
(HtmlTextWriterStyle.Display, "none");
204
attributes.
Add
(HtmlTextWriterStyle.Position, "absolute");
205
attributes.
Add
(HtmlTextWriterStyle.Left, "0px");
206
attributes.
Add
(HtmlTextWriterStyle.Top, "0px");
UI\WebControls\Style.cs (17)
532
attributes.
Add
(HtmlTextWriterStyle.Color, ColorTranslator.ToHtml(c));
540
attributes.
Add
(HtmlTextWriterStyle.BackgroundColor, ColorTranslator.ToHtml(c));
548
attributes.
Add
(HtmlTextWriterStyle.BorderColor, ColorTranslator.ToHtml(c));
555
attributes.
Add
(HtmlTextWriterStyle.BorderWidth, bu.ToString(CultureInfo.InvariantCulture));
558
attributes.
Add
(HtmlTextWriterStyle.BorderStyle, "solid");
562
attributes.
Add
(HtmlTextWriterStyle.BorderStyle, borderStyles[(int)bs]);
567
attributes.
Add
(HtmlTextWriterStyle.BorderStyle, borderStyles[(int)bs]);
578
attributes.
Add
(HtmlTextWriterStyle.FontFamily, Style.FormatStringArray(names, ','));
584
attributes.
Add
(HtmlTextWriterStyle.FontSize, fu.ToString(CultureInfo.InvariantCulture));
590
attributes.
Add
(HtmlTextWriterStyle.FontWeight, "bold");
593
attributes.
Add
(HtmlTextWriterStyle.FontWeight, "normal");
600
attributes.
Add
(HtmlTextWriterStyle.FontStyle, "italic");
603
attributes.
Add
(HtmlTextWriterStyle.FontStyle, "normal");
619
attributes.
Add
(HtmlTextWriterStyle.TextDecoration, textDecoration);
623
attributes.
Add
(HtmlTextWriterStyle.TextDecoration, "none");
633
attributes.
Add
(HtmlTextWriterStyle.Height, u.ToString(CultureInfo.InvariantCulture));
641
attributes.
Add
(HtmlTextWriterStyle.Width, u.ToString(CultureInfo.InvariantCulture));
UI\WebControls\SubMenuStyle.cs (9)
127
attributes.
Add
(HtmlTextWriterStyle.BackgroundColor, ColorTranslator.ToHtml(c));
135
attributes.
Add
(HtmlTextWriterStyle.BorderColor, ColorTranslator.ToHtml(c));
142
attributes.
Add
(HtmlTextWriterStyle.BorderWidth, bu.ToString(CultureInfo.InvariantCulture));
145
attributes.
Add
(HtmlTextWriterStyle.BorderStyle, "solid");
149
attributes.
Add
(HtmlTextWriterStyle.BorderStyle, borderStyles[(int)bs]);
154
attributes.
Add
(HtmlTextWriterStyle.BorderStyle, borderStyles[(int)bs]);
164
attributes.
Add
(HtmlTextWriterStyle.Height, u.ToString(CultureInfo.InvariantCulture));
172
attributes.
Add
(HtmlTextWriterStyle.Width, u.ToString(CultureInfo.InvariantCulture));
177
attributes.
Add
(HtmlTextWriterStyle.Padding, string.Format(CultureInfo.InvariantCulture,
UI\WebControls\TableStyle.cs (1)
287
attributes.
Add
(HtmlTextWriterStyle.BackgroundImage, s);
UI\WebControls\TreeNodeStyle.cs (9)
225
attributes.
Add
(HtmlTextWriterStyle.BackgroundColor, ColorTranslator.ToHtml(c));
233
attributes.
Add
(HtmlTextWriterStyle.BorderColor, ColorTranslator.ToHtml(c));
240
attributes.
Add
(HtmlTextWriterStyle.BorderWidth, bu.ToString(CultureInfo.InvariantCulture));
243
attributes.
Add
(HtmlTextWriterStyle.BorderStyle, "solid");
247
attributes.
Add
(HtmlTextWriterStyle.BorderStyle, borderStyles[(int)bs]);
252
attributes.
Add
(HtmlTextWriterStyle.BorderStyle, borderStyles[(int)bs]);
262
attributes.
Add
(HtmlTextWriterStyle.Height, u.ToString(CultureInfo.InvariantCulture));
270
attributes.
Add
(HtmlTextWriterStyle.Width, u.ToString(CultureInfo.InvariantCulture));
275
attributes.
Add
(HtmlTextWriterStyle.Padding, string.Format(CultureInfo.InvariantCulture,
UI\WebParts\WebPartMenuStyle.cs (1)
77
attributes.
Add
(HtmlTextWriterStyle.Filter, filterValue);