146 references to AddStyleAttribute
System.Web (140)
UI\ControlRenderingHelper.cs (7)
18
writer.
AddStyleAttribute
(HtmlTextWriterStyle.Position, "absolute");
19
writer.
AddStyleAttribute
(HtmlTextWriterStyle.Left, "-10000px");
20
writer.
AddStyleAttribute
(HtmlTextWriterStyle.Top, "auto");
21
writer.
AddStyleAttribute
(HtmlTextWriterStyle.Width, "1px");
22
writer.
AddStyleAttribute
(HtmlTextWriterStyle.Height, "1px");
23
writer.
AddStyleAttribute
(HtmlTextWriterStyle.Overflow, "hidden");
33
writer.
AddStyleAttribute
(HtmlTextWriterStyle.BorderWidth, "0px");
UI\CssStyleCollection.cs (1)
352
writer.
AddStyleAttribute
((HtmlTextWriterStyle)entry.Key, (string)entry.Value);
UI\WebControls\Adapters\MenuAdapter.cs (2)
571
writer.
AddStyleAttribute
(HtmlTextWriterStyle.BorderStyle, "none");
573
writer.
AddStyleAttribute
(HtmlTextWriterStyle.FontSize, "1em");
UI\WebControls\BulletedList.cs (9)
323
writer.
AddStyleAttribute
(HtmlTextWriterStyle.ListStyleType, "decimal");
327
writer.
AddStyleAttribute
(HtmlTextWriterStyle.ListStyleType, "lower-alpha");
331
writer.
AddStyleAttribute
(HtmlTextWriterStyle.ListStyleType, "upper-alpha");
335
writer.
AddStyleAttribute
(HtmlTextWriterStyle.ListStyleType, "lower-roman");
339
writer.
AddStyleAttribute
(HtmlTextWriterStyle.ListStyleType, "upper-roman");
343
writer.
AddStyleAttribute
(HtmlTextWriterStyle.ListStyleType, "disc");
346
writer.
AddStyleAttribute
(HtmlTextWriterStyle.ListStyleType, "circle");
349
writer.
AddStyleAttribute
(HtmlTextWriterStyle.ListStyleType, "square");
353
writer.
AddStyleAttribute
(HtmlTextWriterStyle.ListStyleImage, "url(" + HttpUtility.UrlPathEncode(url) + ")");
UI\WebControls\Image.cs (1)
264
writer.
AddStyleAttribute
(HtmlTextWriterStyle.BorderWidth, "0px");
UI\WebControls\MenuItem.cs (11)
891
writer.
AddStyleAttribute
(HtmlTextWriterStyle.WhiteSpace, "nowrap");
894
writer.
AddStyleAttribute
(HtmlTextWriterStyle.Width, "100%");
906
writer.
AddStyleAttribute
(HtmlTextWriterStyle.BorderStyle, "none");
908
writer.
AddStyleAttribute
(HtmlTextWriterStyle.FontSize, "1em");
955
writer.
AddStyleAttribute
(HtmlTextWriterStyle.Cursor, "text");
994
writer.
AddStyleAttribute
(HtmlTextWriterStyle.BorderStyle, "none");
1050
writer.
AddStyleAttribute
(HtmlTextWriterStyle.Width, "0");
1054
writer.
AddStyleAttribute
(HtmlTextWriterStyle.BorderStyle, "none");
1055
writer.
AddStyleAttribute
(HtmlTextWriterStyle.VerticalAlign, "middle");
1128
writer.
AddStyleAttribute
(HtmlTextWriterStyle.Height,
1136
writer.
AddStyleAttribute
(HtmlTextWriterStyle.Width,
UI\WebControls\MenuRendererStandards.cs (2)
425
writer.
AddStyleAttribute
(HtmlTextWriterStyle.WhiteSpace, "nowrap");
550
writer.
AddStyleAttribute
(HtmlTextWriterStyle.WhiteSpace, "nowrap");
UI\WebControls\Panel.cs (7)
259
writer.
AddStyleAttribute
(HtmlTextWriterStyle.BackgroundImage, "url(" + ResolveClientUrl(s) + ")");
267
writer.
AddStyleAttribute
(HtmlTextWriterStyle.TextAlign, hac.ConvertToInvariantString(hAlign).ToLowerInvariant());
275
writer.
AddStyleAttribute
(HtmlTextWriterStyle.WhiteSpace, "nowrap");
312
writer.
AddStyleAttribute
(HtmlTextWriterStyle.OverflowX, "scroll");
315
writer.
AddStyleAttribute
(HtmlTextWriterStyle.OverflowY, "scroll");
318
writer.
AddStyleAttribute
(HtmlTextWriterStyle.Overflow, "scroll");
321
writer.
AddStyleAttribute
(HtmlTextWriterStyle.Overflow, "auto");
UI\WebControls\PopOutPanel.cs (14)
135
writer.
AddStyleAttribute
(HtmlTextWriterStyle.BackgroundColor, "white");
137
writer.
AddStyleAttribute
(HtmlTextWriterStyle.Visibility, "hidden");
138
writer.
AddStyleAttribute
(HtmlTextWriterStyle.Display, "none");
139
writer.
AddStyleAttribute
(HtmlTextWriterStyle.Position, "absolute");
140
writer.
AddStyleAttribute
(HtmlTextWriterStyle.Left, "0px");
141
writer.
AddStyleAttribute
(HtmlTextWriterStyle.Top, "0px");
143
writer.
AddStyleAttribute
(HtmlTextWriterStyle.TextAlign, "center");
153
writer.
AddStyleAttribute
(HtmlTextWriterStyle.BackgroundColor, "white");
156
writer.
AddStyleAttribute
(HtmlTextWriterStyle.BackgroundColor, ColorTranslator.ToHtml(BackColor));
159
writer.
AddStyleAttribute
(HtmlTextWriterStyle.Visibility, "hidden");
160
writer.
AddStyleAttribute
(HtmlTextWriterStyle.Display, "none");
161
writer.
AddStyleAttribute
(HtmlTextWriterStyle.Position, "absolute");
162
writer.
AddStyleAttribute
(HtmlTextWriterStyle.Left, "0px");
163
writer.
AddStyleAttribute
(HtmlTextWriterStyle.Top, "0px");
UI\WebControls\TableItemStyle.cs (1)
152
writer.
AddStyleAttribute
(HtmlTextWriterStyle.WhiteSpace, "nowrap");
UI\WebControls\TableStyle.cs (1)
192
writer.
AddStyleAttribute
(HtmlTextWriterStyle.BorderCollapse, "collapse");
UI\WebControls\TreeNode.cs (9)
905
writer.
AddStyleAttribute
(HtmlTextWriterStyle.BorderWidth, "0");
910
writer.
AddStyleAttribute
(HtmlTextWriterStyle.Height,
926
writer.
AddStyleAttribute
(HtmlTextWriterStyle.Width, _owner.NodeIndent.ToString(CultureInfo.InvariantCulture) + "px");
1212
writer.
AddStyleAttribute
(HtmlTextWriterStyle.BorderWidth, "0");
1371
writer.
AddStyleAttribute
(HtmlTextWriterStyle.BorderWidth, "0");
1398
writer.
AddStyleAttribute
(HtmlTextWriterStyle.WhiteSpace, "nowrap");
1453
writer.
AddStyleAttribute
(HtmlTextWriterStyle.BorderStyle, "none");
1455
writer.
AddStyleAttribute
(HtmlTextWriterStyle.FontSize, "1em");
1496
writer.
AddStyleAttribute
(HtmlTextWriterStyle.Height, mergedStyle.NodeSpacing.ToString(CultureInfo.InvariantCulture));
UI\WebControls\WebControl.cs (1)
651
writer.
AddStyleAttribute
(HtmlTextWriterStyle.Display, "inline-block");
UI\WebParts\CatalogPartChrome.cs (1)
109
writer.
AddStyleAttribute
(HtmlTextWriterStyle.Width, "100%");
UI\WebParts\CatalogZoneBase.cs (4)
550
writer.
AddStyleAttribute
(HtmlTextWriterStyle.Padding, "0");
555
writer.
AddStyleAttribute
(HtmlTextWriterStyle.Height, "100%");
575
writer.
AddStyleAttribute
(HtmlTextWriterStyle.PaddingTop, "0");
644
writer.
AddStyleAttribute
(HtmlTextWriterStyle.Margin, "4px");
UI\WebParts\ConnectionsZone.cs (5)
1434
writer.
AddStyleAttribute
(HtmlTextWriterStyle.BorderColor, "Black");
1435
writer.
AddStyleAttribute
(HtmlTextWriterStyle.BorderWidth, "1px");
1436
writer.
AddStyleAttribute
(HtmlTextWriterStyle.BorderStyle, "Solid");
1556
writer.
AddStyleAttribute
(HtmlTextWriterStyle.TextAlign, "right");
1649
writer.
AddStyleAttribute
(HtmlTextWriterStyle.TextAlign, "right");
UI\WebParts\EditorZoneBase.cs (3)
397
writer.
AddStyleAttribute
(HtmlTextWriterStyle.PaddingTop, "0");
413
writer.
AddStyleAttribute
(HtmlTextWriterStyle.Padding, "0");
418
writer.
AddStyleAttribute
(HtmlTextWriterStyle.Height, "100%");
UI\WebParts\ToolZone.cs (5)
281
writer.
AddStyleAttribute
(HtmlTextWriterStyle.Margin, "4px");
292
writer.
AddStyleAttribute
(HtmlTextWriterStyle.Width, "100%");
326
writer.
AddStyleAttribute
(HtmlTextWriterStyle.Width, "100%");
327
writer.
AddStyleAttribute
(HtmlTextWriterStyle.WhiteSpace, "nowrap");
334
writer.
AddStyleAttribute
(HtmlTextWriterStyle.WhiteSpace, "nowrap");
UI\WebParts\WebPartChrome.cs (10)
307
writer.
AddStyleAttribute
(HtmlTextWriterStyle.Width, "100%");
326
writer.
AddStyleAttribute
(HtmlTextWriterStyle.Width, "100%");
332
writer.
AddStyleAttribute
(HtmlTextWriterStyle.WhiteSpace, "nowrap");
600
writer.
AddStyleAttribute
(HtmlTextWriterStyle.WhiteSpace, "nowrap");
645
writer.
AddStyleAttribute
(HtmlTextWriterStyle.Width, "100%");
648
writer.
AddStyleAttribute
(HtmlTextWriterStyle.Height, "100%");
657
writer.
AddStyleAttribute
(HtmlTextWriterStyle.Display, "none");
691
writer.
AddStyleAttribute
(HtmlTextWriterStyle.Display, "none");
696
writer.
AddStyleAttribute
(HtmlTextWriterStyle.Height, "100%");
706
writer.
AddStyleAttribute
(HtmlTextWriterStyle.Padding, Zone.PartChromePadding.ToString());
UI\WebParts\WebPartMenu.cs (13)
140
writer.
AddStyleAttribute
(HtmlTextWriterStyle.Cursor, "hand");
141
writer.
AddStyleAttribute
(HtmlTextWriterStyle.Display, "inline-block");
142
writer.
AddStyleAttribute
(HtmlTextWriterStyle.Padding, "1px");
143
writer.
AddStyleAttribute
(HtmlTextWriterStyle.TextDecoration, "none");
156
writer.
AddStyleAttribute
(HtmlTextWriterStyle.BorderStyle, "none");
178
writer.
AddStyleAttribute
(HtmlTextWriterStyle.BorderStyle, "none");
184
writer.
AddStyleAttribute
(HtmlTextWriterStyle.FontFamily, "Marlett");
185
writer.
AddStyleAttribute
(HtmlTextWriterStyle.FontSize, "8pt");
199
writer.
AddStyleAttribute
(HtmlTextWriterStyle.Display, "none");
212
writer.
AddStyleAttribute
(HtmlTextWriterStyle.BorderCollapse, "collapse");
215
writer.
AddStyleAttribute
(HtmlTextWriterStyle.Width, "100%");
219
writer.
AddStyleAttribute
(HtmlTextWriterStyle.WhiteSpace, "nowrap");
362
writer.
AddStyleAttribute
(HtmlTextWriterStyle.BorderStyle, "none");
UI\WebParts\WebPartZoneBase.cs (25)
1236
writer.
AddStyleAttribute
(HtmlTextWriterStyle.Display, "none");
1246
writer.
AddStyleAttribute
(HtmlTextWriterStyle.Height, "100%");
1269
writer.
AddStyleAttribute
(HtmlTextWriterStyle.Padding, "0");
1272
writer.
AddStyleAttribute
(HtmlTextWriterStyle.Height, "100%");
1281
writer.
AddStyleAttribute
(HtmlTextWriterStyle.Width, "100%");
1284
writer.
AddStyleAttribute
(HtmlTextWriterStyle.Padding, "0");
1304
writer.
AddStyleAttribute
(HtmlTextWriterStyle.PaddingTop, "1");
1305
writer.
AddStyleAttribute
(HtmlTextWriterStyle.PaddingBottom, "1");
1312
writer.
AddStyleAttribute
(HtmlTextWriterStyle.PaddingLeft, "1");
1313
writer.
AddStyleAttribute
(HtmlTextWriterStyle.PaddingRight, "1");
1333
writer.
AddStyleAttribute
(HtmlTextWriterStyle.Width, "100%");
1338
writer.
AddStyleAttribute
(HtmlTextWriterStyle.Height, "100%");
1342
writer.
AddStyleAttribute
(HtmlTextWriterStyle.Visibility, "hidden");
1349
writer.
AddStyleAttribute
(HtmlTextWriterStyle.FontSize, "0px");
1353
writer.
AddStyleAttribute
(HtmlTextWriterStyle.Margin, "2px 0px 2px 0px");
1354
writer.
AddStyleAttribute
(HtmlTextWriterStyle.Height, "2px");
1355
writer.
AddStyleAttribute
(HtmlTextWriterStyle.Width, "100%");
1358
writer.
AddStyleAttribute
(HtmlTextWriterStyle.Margin, "0px 2px 0px 2px");
1359
writer.
AddStyleAttribute
(HtmlTextWriterStyle.Width, "2px");
1360
writer.
AddStyleAttribute
(HtmlTextWriterStyle.Height, "100%");
1362
writer.
AddStyleAttribute
(HtmlTextWriterStyle.BackgroundColor, color);
1389
writer.
AddStyleAttribute
(HtmlTextWriterStyle.Width, "100%");
1394
writer.
AddStyleAttribute
(HtmlTextWriterStyle.Height, "100%");
1435
writer.
AddStyleAttribute
(HtmlTextWriterStyle.Width, "100%");
1469
writer.
AddStyleAttribute
(HtmlTextWriterStyle.WhiteSpace, "nowrap");
UI\WebParts\WebZone.cs (8)
370
writer.
AddStyleAttribute
(HtmlTextWriterStyle.BackgroundImage,"url(" + ResolveClientUrl(backImageUrl) + ")");
373
writer.
AddStyleAttribute
(HtmlTextWriterStyle.Width, "100%");
376
writer.
AddStyleAttribute
(HtmlTextWriterStyle.Height, "100%");
391
writer.
AddStyleAttribute
(HtmlTextWriterStyle.WhiteSpace, "nowrap");
399
writer.
AddStyleAttribute
(HtmlTextWriterStyle.Width, "100%");
402
writer.
AddStyleAttribute
(HtmlTextWriterStyle.Height, "100%");
574
writer.
AddStyleAttribute
(HtmlTextWriterStyle.Height, "1px");
599
writer.
AddStyleAttribute
(HtmlTextWriterStyle.Height, "100%");
System.Web.Extensions (6)
UI\ScriptManager.cs (1)
2042
writer.
AddStyleAttribute
(HtmlTextWriterStyle.Display, "none");
UI\Timer.cs (2)
208
writer.
AddStyleAttribute
(HtmlTextWriterStyle.Visibility, "hidden");
209
writer.
AddStyleAttribute
(HtmlTextWriterStyle.Display, "none");
UI\UpdateProgress.cs (3)
160
writer.
AddStyleAttribute
(HtmlTextWriterStyle.Display, "none");
163
writer.
AddStyleAttribute
(HtmlTextWriterStyle.Visibility, "hidden");
164
writer.
AddStyleAttribute
(HtmlTextWriterStyle.Display, "block");