24 references to AddStyleAttribute
System.Web (16)
UI\CssStyleCollection.cs (1)
347
writer.
AddStyleAttribute
((string)entry.Key, (string)entry.Value);
UI\WebControls\MenuItem.cs (2)
982
writer.
AddStyleAttribute
("margin-left", indent.ToString(CultureInfo.InvariantCulture));
995
writer.
AddStyleAttribute
("vertical-align", "middle");
UI\WebControls\MenuRendererStandards.cs (3)
397
writer.
AddStyleAttribute
("float", "left");
541
writer.
AddStyleAttribute
("float", "left");
549
writer.
AddStyleAttribute
("float", "left");
UI\WebControls\TreeNode.cs (2)
1517
writer.
AddStyleAttribute
("display", "none");
1520
writer.
AddStyleAttribute
("display", "block");
UI\WebControls\TreeView.cs (1)
3319
writer.
AddStyleAttribute
("display", "none");
UI\WebParts\WebPartMenu.cs (3)
155
writer.
AddStyleAttribute
("vertical-align", "middle");
177
writer.
AddStyleAttribute
("vertical-align", "middle");
363
writer.
AddStyleAttribute
("vertical-align", "middle");
UI\WebParts\WebPartZoneBase.cs (4)
1334
writer.
AddStyleAttribute
("border-left", border);
1335
writer.
AddStyleAttribute
("border-right", border);
1339
writer.
AddStyleAttribute
("border-top", border);
1340
writer.
AddStyleAttribute
("border-bottom", border);
System.Web.Mobile (8)
UI\MobileControls\Design\StylesEditorDialog.cs (8)
576
tw.
AddStyleAttribute
("color", ColorTranslator.ToHtml(c));
583
tw.
AddStyleAttribute
("background-color", ColorTranslator.ToHtml(c));
590
tw.
AddStyleAttribute
("font-family", name);
597
tw.
AddStyleAttribute
("font-size", "Medium");
600
tw.
AddStyleAttribute
("font-size", "X-Small");
603
tw.
AddStyleAttribute
("font-size", "Small");
610
tw.
AddStyleAttribute
("font-weight", "bold");
614
tw.
AddStyleAttribute
("font-style", "italic");