333 references to HtmlTextWriterStyle
System.Web (325)
UI\ChtmlTextWriter.cs (2)
97protected override bool OnStyleAttributeRender(string name,string value, HtmlTextWriterStyle key) { 98if (key == HtmlTextWriterStyle.TextDecoration) {
UI\ControlRenderingHelper.cs (7)
18writer.AddStyleAttribute(HtmlTextWriterStyle.Position, "absolute"); 19writer.AddStyleAttribute(HtmlTextWriterStyle.Left, "-10000px"); 20writer.AddStyleAttribute(HtmlTextWriterStyle.Top, "auto"); 21writer.AddStyleAttribute(HtmlTextWriterStyle.Width, "1px"); 22writer.AddStyleAttribute(HtmlTextWriterStyle.Height, "1px"); 23writer.AddStyleAttribute(HtmlTextWriterStyle.Overflow, "hidden"); 33writer.AddStyleAttribute(HtmlTextWriterStyle.BorderWidth, "0px");
UI\CssStyleCollection.cs (10)
71HtmlTextWriterStyle style = CssTextWriter.GetStyleKey(key); 72if (style != (HtmlTextWriterStyle)(-1)) { 88public string this[HtmlTextWriterStyle key] { 126foreach (HtmlTextWriterStyle style in _intTable.Keys) { 191HtmlTextWriterStyle style = CssTextWriter.GetStyleKey(key); 192if (style != (HtmlTextWriterStyle)(-1)) { 205public void Add(HtmlTextWriterStyle key, string value) { 248public void Remove(HtmlTextWriterStyle key) { 334writer.WriteAttribute((HtmlTextWriterStyle)entry.Key, (string)entry.Value); 352writer.AddStyleAttribute((HtmlTextWriterStyle)entry.Key, (string)entry.Value);
UI\CssTextWriter.cs (57)
27attrKeyLookupTable = new Hashtable((int)HtmlTextWriterStyle.ZIndex + 1); 28attrNameLookupArray = new AttributeInformation[(int)HtmlTextWriterStyle.ZIndex + 1]; 30RegisterAttribute("background-color", HtmlTextWriterStyle.BackgroundColor); 31RegisterAttribute("background-image", HtmlTextWriterStyle.BackgroundImage, true, true); 32RegisterAttribute("border-collapse", HtmlTextWriterStyle.BorderCollapse); 33RegisterAttribute("border-color", HtmlTextWriterStyle.BorderColor); 34RegisterAttribute("border-style", HtmlTextWriterStyle.BorderStyle); 35RegisterAttribute("border-width", HtmlTextWriterStyle.BorderWidth); 36RegisterAttribute("color", HtmlTextWriterStyle.Color); 37RegisterAttribute("cursor", HtmlTextWriterStyle.Cursor); 38RegisterAttribute("direction", HtmlTextWriterStyle.Direction); 39RegisterAttribute("display", HtmlTextWriterStyle.Display); 40RegisterAttribute("filter", HtmlTextWriterStyle.Filter); 41RegisterAttribute("font-family", HtmlTextWriterStyle.FontFamily, true); 42RegisterAttribute("font-size", HtmlTextWriterStyle.FontSize); 43RegisterAttribute("font-style", HtmlTextWriterStyle.FontStyle); 44RegisterAttribute("font-variant", HtmlTextWriterStyle.FontVariant); 45RegisterAttribute("font-weight", HtmlTextWriterStyle.FontWeight); 46RegisterAttribute("height", HtmlTextWriterStyle.Height); 47RegisterAttribute("left", HtmlTextWriterStyle.Left); 48RegisterAttribute("list-style-image", HtmlTextWriterStyle.ListStyleImage, true, true); 49RegisterAttribute("list-style-type", HtmlTextWriterStyle.ListStyleType); 50RegisterAttribute("margin", HtmlTextWriterStyle.Margin); 51RegisterAttribute("margin-bottom", HtmlTextWriterStyle.MarginBottom); 52RegisterAttribute("margin-left", HtmlTextWriterStyle.MarginLeft); 53RegisterAttribute("margin-right", HtmlTextWriterStyle.MarginRight); 54RegisterAttribute("margin-top", HtmlTextWriterStyle.MarginTop); 55RegisterAttribute("overflow-x", HtmlTextWriterStyle.OverflowX); 56RegisterAttribute("overflow-y", HtmlTextWriterStyle.OverflowY); 57RegisterAttribute("overflow", HtmlTextWriterStyle.Overflow); 58RegisterAttribute("padding", HtmlTextWriterStyle.Padding); 59RegisterAttribute("padding-bottom", HtmlTextWriterStyle.PaddingBottom); 60RegisterAttribute("padding-left", HtmlTextWriterStyle.PaddingLeft); 61RegisterAttribute("padding-right", HtmlTextWriterStyle.PaddingRight); 62RegisterAttribute("padding-top", HtmlTextWriterStyle.PaddingTop); 63RegisterAttribute("position", HtmlTextWriterStyle.Position); 64RegisterAttribute("text-align", HtmlTextWriterStyle.TextAlign); 65RegisterAttribute("text-decoration", HtmlTextWriterStyle.TextDecoration); 66RegisterAttribute("text-overflow", HtmlTextWriterStyle.TextOverflow); 67RegisterAttribute("top", HtmlTextWriterStyle.Top); 68RegisterAttribute("vertical-align", HtmlTextWriterStyle.VerticalAlign); 69RegisterAttribute("visibility", HtmlTextWriterStyle.Visibility); 70RegisterAttribute("width", HtmlTextWriterStyle.Width); 71RegisterAttribute("white-space", HtmlTextWriterStyle.WhiteSpace); 72RegisterAttribute("z-index", HtmlTextWriterStyle.ZIndex); 118public static HtmlTextWriterStyle GetStyleKey(string styleName) { 122return (HtmlTextWriterStyle)key; 126return (HtmlTextWriterStyle)(-1); 133public static string GetStyleName(HtmlTextWriterStyle styleKey) { 146public static bool IsStyleEncoded(HtmlTextWriterStyle styleKey) { 160internal static void RegisterAttribute(string name, HtmlTextWriterStyle key) { 170internal static void RegisterAttribute(string name, HtmlTextWriterStyle key, bool encode) { 182internal static void RegisterAttribute(string name, HtmlTextWriterStyle key, bool encode, bool isUrl) { 281public void WriteAttribute(HtmlTextWriterStyle key, string value) { 289private static void WriteAttribute(TextWriter writer, HtmlTextWriterStyle key, string name, string value) { 294if (key != (HtmlTextWriterStyle)(-1)) { 498public HtmlTextWriterStyle key;
UI\Html32TextWriter.cs (26)
292protected override bool OnStyleAttributeRender(string name,string value, HtmlTextWriterStyle key) { 298case HtmlTextWriterStyle.FontFamily: 302case HtmlTextWriterStyle.Color: 306case HtmlTextWriterStyle.FontSize: 311case HtmlTextWriterStyle.FontWeight: 316case HtmlTextWriterStyle.FontStyle: 321case HtmlTextWriterStyle.TextDecoration: 336case HtmlTextWriterStyle.FontFamily: 339case HtmlTextWriterStyle.Color: 342case HtmlTextWriterStyle.FontSize: 345case HtmlTextWriterStyle.FontWeight: 350case HtmlTextWriterStyle.FontStyle: 355case HtmlTextWriterStyle.TextDecoration: 367if (Supports(SUPPORTS_BORDER) && key == HtmlTextWriterStyle.BorderWidth) { 373if (Supports(SUPPORTS_NOWRAP) && key == HtmlTextWriterStyle.WhiteSpace) { 379case HtmlTextWriterStyle.Height : 384case HtmlTextWriterStyle.Width : 395case HtmlTextWriterStyle.BorderColor: 404case HtmlTextWriterStyle.BackgroundColor : 421case HtmlTextWriterStyle.BackgroundImage : 446case HtmlTextWriterStyle.ListStyleType: 474case HtmlTextWriterStyle.TextAlign: 477case HtmlTextWriterStyle.VerticalAlign: 482case HtmlTextWriterStyle.Display: 559if (!IsStyleAttributeDefined(HtmlTextWriterStyle.BorderWidth)) { 562if (!IsStyleAttributeDefined(HtmlTextWriterStyle.Width)) {
UI\HTMLTextWriter.cs (8)
646protected static void RegisterStyle(string name, HtmlTextWriterStyle key) { 759public virtual void AddStyleAttribute(HtmlTextWriterStyle key, string value) { 763protected virtual void AddStyleAttribute(string name, string value, HtmlTextWriterStyle key) { 839protected HtmlTextWriterStyle GetStyleKey(string styleName) { 843protected string GetStyleName(HtmlTextWriterStyle styleKey) { 885protected bool IsStyleAttributeDefined(HtmlTextWriterStyle key) { 894protected bool IsStyleAttributeDefined(HtmlTextWriterStyle key, out string value) { 909protected virtual bool OnStyleAttributeRender(string name, string value, HtmlTextWriterStyle key) {
UI\WebControls\Adapters\MenuAdapter.cs (2)
571writer.AddStyleAttribute(HtmlTextWriterStyle.BorderStyle, "none"); 573writer.AddStyleAttribute(HtmlTextWriterStyle.FontSize, "1em");
UI\WebControls\BulletedList.cs (9)
323writer.AddStyleAttribute(HtmlTextWriterStyle.ListStyleType, "decimal"); 327writer.AddStyleAttribute(HtmlTextWriterStyle.ListStyleType, "lower-alpha"); 331writer.AddStyleAttribute(HtmlTextWriterStyle.ListStyleType, "upper-alpha"); 335writer.AddStyleAttribute(HtmlTextWriterStyle.ListStyleType, "lower-roman"); 339writer.AddStyleAttribute(HtmlTextWriterStyle.ListStyleType, "upper-roman"); 343writer.AddStyleAttribute(HtmlTextWriterStyle.ListStyleType, "disc"); 346writer.AddStyleAttribute(HtmlTextWriterStyle.ListStyleType, "circle"); 349writer.AddStyleAttribute(HtmlTextWriterStyle.ListStyleType, "square"); 353writer.AddStyleAttribute(HtmlTextWriterStyle.ListStyleImage, "url(" + HttpUtility.UrlPathEncode(url) + ")");
UI\WebControls\HyperLinkStyle.cs (10)
87attributes.Add(HtmlTextWriterStyle.Color, ColorTranslator.ToHtml(c)); 99attributes.Add(HtmlTextWriterStyle.FontFamily, String.Join(",", names)); 105attributes.Add(HtmlTextWriterStyle.FontSize, fu.ToString(CultureInfo.InvariantCulture)); 111attributes.Add(HtmlTextWriterStyle.FontWeight, "bold"); 114attributes.Add(HtmlTextWriterStyle.FontWeight, "normal"); 121attributes.Add(HtmlTextWriterStyle.FontStyle, "italic"); 124attributes.Add(HtmlTextWriterStyle.FontStyle, "normal"); 139attributes.Add(HtmlTextWriterStyle.TextDecoration, textDecoration); 143attributes.Add(HtmlTextWriterStyle.TextDecoration, "none"); 148attributes.Add(HtmlTextWriterStyle.BorderStyle, "none");
UI\WebControls\Image.cs (1)
264writer.AddStyleAttribute(HtmlTextWriterStyle.BorderWidth, "0px");
UI\WebControls\MenuItem.cs (11)
891writer.AddStyleAttribute(HtmlTextWriterStyle.WhiteSpace, "nowrap"); 894writer.AddStyleAttribute(HtmlTextWriterStyle.Width, "100%"); 906writer.AddStyleAttribute(HtmlTextWriterStyle.BorderStyle, "none"); 908writer.AddStyleAttribute(HtmlTextWriterStyle.FontSize, "1em"); 955writer.AddStyleAttribute(HtmlTextWriterStyle.Cursor, "text"); 994writer.AddStyleAttribute(HtmlTextWriterStyle.BorderStyle, "none"); 1050writer.AddStyleAttribute(HtmlTextWriterStyle.Width, "0"); 1054writer.AddStyleAttribute(HtmlTextWriterStyle.BorderStyle, "none"); 1055writer.AddStyleAttribute(HtmlTextWriterStyle.VerticalAlign, "middle"); 1128writer.AddStyleAttribute(HtmlTextWriterStyle.Height, 1136writer.AddStyleAttribute(HtmlTextWriterStyle.Width,
UI\WebControls\MenuItemStyle.cs (9)
171attributes.Add(HtmlTextWriterStyle.BackgroundColor, ColorTranslator.ToHtml(c)); 179attributes.Add(HtmlTextWriterStyle.BorderColor, ColorTranslator.ToHtml(c)); 186attributes.Add(HtmlTextWriterStyle.BorderWidth, bu.ToString(CultureInfo.InvariantCulture)); 189attributes.Add(HtmlTextWriterStyle.BorderStyle, "solid"); 193attributes.Add(HtmlTextWriterStyle.BorderStyle, borderStyles[(int)bs]); 198attributes.Add(HtmlTextWriterStyle.BorderStyle, borderStyles[(int)bs]); 208attributes.Add(HtmlTextWriterStyle.Height, u.ToString(CultureInfo.InvariantCulture)); 216attributes.Add(HtmlTextWriterStyle.Width, u.ToString(CultureInfo.InvariantCulture)); 224attributes.Add(HtmlTextWriterStyle.Padding, string.Format(CultureInfo.InvariantCulture,
UI\WebControls\MenuRendererStandards.cs (22)
99.AddStyle(HtmlTextWriterStyle.BorderStyle, "none") 100.AddStyle(HtmlTextWriterStyle.VerticalAlign, "middle"); 103.AddStyle(HtmlTextWriterStyle.BorderStyle, "none") 104.AddStyle(HtmlTextWriterStyle.Display, "block"); 108.AddStyle(HtmlTextWriterStyle.BorderStyle, "none") 109.AddStyle(HtmlTextWriterStyle.VerticalAlign, "middle"); 116.AddStyle(HtmlTextWriterStyle.Margin, "0") 117.AddStyle(HtmlTextWriterStyle.Padding, "0") 118.AddStyle(HtmlTextWriterStyle.Width, "auto"); 125.AddStyle(HtmlTextWriterStyle.ZIndex, "1"); 128ulDynamic.AddStyle(HtmlTextWriterStyle.MarginLeft, Menu.DynamicHorizontalOffset.ToString(CultureInfo.InvariantCulture) + "px"); 132ulDynamic.AddStyle(HtmlTextWriterStyle.MarginTop, Menu.DynamicVerticalOffset.ToString(CultureInfo.InvariantCulture) + "px"); 151.AddStyle(HtmlTextWriterStyle.WhiteSpace, "nowrap") 152.AddStyle(HtmlTextWriterStyle.Display, "block") 158menuItemStatic.AddStyle(HtmlTextWriterStyle.PaddingLeft, "0.15em") 159.AddStyle(HtmlTextWriterStyle.PaddingRight, "0.15em"); 172.AddStyle(HtmlTextWriterStyle.PaddingRight, "14px"); 180.AddStyle(HtmlTextWriterStyle.PaddingRight, "14px"); 217style.AddStyle(HtmlTextWriterStyle.PaddingLeft, indent.ToString(CultureInfo.InvariantCulture)); 425writer.AddStyleAttribute(HtmlTextWriterStyle.WhiteSpace, "nowrap"); 550writer.AddStyleAttribute(HtmlTextWriterStyle.WhiteSpace, "nowrap"); 625public StyleBlockStyles AddStyle(HtmlTextWriterStyle styleName, string value) {
UI\WebControls\Panel.cs (7)
259writer.AddStyleAttribute(HtmlTextWriterStyle.BackgroundImage, "url(" + ResolveClientUrl(s) + ")"); 267writer.AddStyleAttribute(HtmlTextWriterStyle.TextAlign, hac.ConvertToInvariantString(hAlign).ToLowerInvariant()); 275writer.AddStyleAttribute(HtmlTextWriterStyle.WhiteSpace, "nowrap"); 312writer.AddStyleAttribute(HtmlTextWriterStyle.OverflowX, "scroll"); 315writer.AddStyleAttribute(HtmlTextWriterStyle.OverflowY, "scroll"); 318writer.AddStyleAttribute(HtmlTextWriterStyle.Overflow, "scroll"); 321writer.AddStyleAttribute(HtmlTextWriterStyle.Overflow, "auto");
UI\WebControls\PopOutPanel.cs (20)
135writer.AddStyleAttribute(HtmlTextWriterStyle.BackgroundColor, "white"); 137writer.AddStyleAttribute(HtmlTextWriterStyle.Visibility, "hidden"); 138writer.AddStyleAttribute(HtmlTextWriterStyle.Display, "none"); 139writer.AddStyleAttribute(HtmlTextWriterStyle.Position, "absolute"); 140writer.AddStyleAttribute(HtmlTextWriterStyle.Left, "0px"); 141writer.AddStyleAttribute(HtmlTextWriterStyle.Top, "0px"); 143writer.AddStyleAttribute(HtmlTextWriterStyle.TextAlign, "center"); 153writer.AddStyleAttribute(HtmlTextWriterStyle.BackgroundColor, "white"); 156writer.AddStyleAttribute(HtmlTextWriterStyle.BackgroundColor, ColorTranslator.ToHtml(BackColor)); 159writer.AddStyleAttribute(HtmlTextWriterStyle.Visibility, "hidden"); 160writer.AddStyleAttribute(HtmlTextWriterStyle.Display, "none"); 161writer.AddStyleAttribute(HtmlTextWriterStyle.Position, "absolute"); 162writer.AddStyleAttribute(HtmlTextWriterStyle.Left, "0px"); 163writer.AddStyleAttribute(HtmlTextWriterStyle.Top, "0px"); 200attributes.Add(HtmlTextWriterStyle.BackgroundColor, "white"); 202attributes.Add(HtmlTextWriterStyle.Visibility, "hidden"); 203attributes.Add(HtmlTextWriterStyle.Display, "none"); 204attributes.Add(HtmlTextWriterStyle.Position, "absolute"); 205attributes.Add(HtmlTextWriterStyle.Left, "0px"); 206attributes.Add(HtmlTextWriterStyle.Top, "0px");
UI\WebControls\Style.cs (17)
532attributes.Add(HtmlTextWriterStyle.Color, ColorTranslator.ToHtml(c)); 540attributes.Add(HtmlTextWriterStyle.BackgroundColor, ColorTranslator.ToHtml(c)); 548attributes.Add(HtmlTextWriterStyle.BorderColor, ColorTranslator.ToHtml(c)); 555attributes.Add(HtmlTextWriterStyle.BorderWidth, bu.ToString(CultureInfo.InvariantCulture)); 558attributes.Add(HtmlTextWriterStyle.BorderStyle, "solid"); 562attributes.Add(HtmlTextWriterStyle.BorderStyle, borderStyles[(int)bs]); 567attributes.Add(HtmlTextWriterStyle.BorderStyle, borderStyles[(int)bs]); 578attributes.Add(HtmlTextWriterStyle.FontFamily, Style.FormatStringArray(names, ',')); 584attributes.Add(HtmlTextWriterStyle.FontSize, fu.ToString(CultureInfo.InvariantCulture)); 590attributes.Add(HtmlTextWriterStyle.FontWeight, "bold"); 593attributes.Add(HtmlTextWriterStyle.FontWeight, "normal"); 600attributes.Add(HtmlTextWriterStyle.FontStyle, "italic"); 603attributes.Add(HtmlTextWriterStyle.FontStyle, "normal"); 619attributes.Add(HtmlTextWriterStyle.TextDecoration, textDecoration); 623attributes.Add(HtmlTextWriterStyle.TextDecoration, "none"); 633attributes.Add(HtmlTextWriterStyle.Height, u.ToString(CultureInfo.InvariantCulture)); 641attributes.Add(HtmlTextWriterStyle.Width, u.ToString(CultureInfo.InvariantCulture));
UI\WebControls\SubMenuStyle.cs (9)
127attributes.Add(HtmlTextWriterStyle.BackgroundColor, ColorTranslator.ToHtml(c)); 135attributes.Add(HtmlTextWriterStyle.BorderColor, ColorTranslator.ToHtml(c)); 142attributes.Add(HtmlTextWriterStyle.BorderWidth, bu.ToString(CultureInfo.InvariantCulture)); 145attributes.Add(HtmlTextWriterStyle.BorderStyle, "solid"); 149attributes.Add(HtmlTextWriterStyle.BorderStyle, borderStyles[(int)bs]); 154attributes.Add(HtmlTextWriterStyle.BorderStyle, borderStyles[(int)bs]); 164attributes.Add(HtmlTextWriterStyle.Height, u.ToString(CultureInfo.InvariantCulture)); 172attributes.Add(HtmlTextWriterStyle.Width, u.ToString(CultureInfo.InvariantCulture)); 177attributes.Add(HtmlTextWriterStyle.Padding, string.Format(CultureInfo.InvariantCulture,
UI\WebControls\TableItemStyle.cs (1)
152writer.AddStyleAttribute(HtmlTextWriterStyle.WhiteSpace, "nowrap");
UI\WebControls\TableStyle.cs (2)
192writer.AddStyleAttribute(HtmlTextWriterStyle.BorderCollapse, "collapse"); 287attributes.Add(HtmlTextWriterStyle.BackgroundImage, s);
UI\WebControls\TreeNode.cs (9)
905writer.AddStyleAttribute(HtmlTextWriterStyle.BorderWidth, "0"); 910writer.AddStyleAttribute(HtmlTextWriterStyle.Height, 926writer.AddStyleAttribute(HtmlTextWriterStyle.Width, _owner.NodeIndent.ToString(CultureInfo.InvariantCulture) + "px"); 1212writer.AddStyleAttribute(HtmlTextWriterStyle.BorderWidth, "0"); 1371writer.AddStyleAttribute(HtmlTextWriterStyle.BorderWidth, "0"); 1398writer.AddStyleAttribute(HtmlTextWriterStyle.WhiteSpace, "nowrap"); 1453writer.AddStyleAttribute(HtmlTextWriterStyle.BorderStyle, "none"); 1455writer.AddStyleAttribute(HtmlTextWriterStyle.FontSize, "1em"); 1496writer.AddStyleAttribute(HtmlTextWriterStyle.Height, mergedStyle.NodeSpacing.ToString(CultureInfo.InvariantCulture));
UI\WebControls\TreeNodeStyle.cs (9)
225attributes.Add(HtmlTextWriterStyle.BackgroundColor, ColorTranslator.ToHtml(c)); 233attributes.Add(HtmlTextWriterStyle.BorderColor, ColorTranslator.ToHtml(c)); 240attributes.Add(HtmlTextWriterStyle.BorderWidth, bu.ToString(CultureInfo.InvariantCulture)); 243attributes.Add(HtmlTextWriterStyle.BorderStyle, "solid"); 247attributes.Add(HtmlTextWriterStyle.BorderStyle, borderStyles[(int)bs]); 252attributes.Add(HtmlTextWriterStyle.BorderStyle, borderStyles[(int)bs]); 262attributes.Add(HtmlTextWriterStyle.Height, u.ToString(CultureInfo.InvariantCulture)); 270attributes.Add(HtmlTextWriterStyle.Width, u.ToString(CultureInfo.InvariantCulture)); 275attributes.Add(HtmlTextWriterStyle.Padding, string.Format(CultureInfo.InvariantCulture,
UI\WebControls\WebControl.cs (1)
651writer.AddStyleAttribute(HtmlTextWriterStyle.Display, "inline-block");
UI\WebParts\CatalogPartChrome.cs (1)
109writer.AddStyleAttribute(HtmlTextWriterStyle.Width, "100%");
UI\WebParts\CatalogZoneBase.cs (4)
550writer.AddStyleAttribute(HtmlTextWriterStyle.Padding, "0"); 555writer.AddStyleAttribute(HtmlTextWriterStyle.Height, "100%"); 575writer.AddStyleAttribute(HtmlTextWriterStyle.PaddingTop, "0"); 644writer.AddStyleAttribute(HtmlTextWriterStyle.Margin, "4px");
UI\WebParts\ConnectionsZone.cs (5)
1434writer.AddStyleAttribute(HtmlTextWriterStyle.BorderColor, "Black"); 1435writer.AddStyleAttribute(HtmlTextWriterStyle.BorderWidth, "1px"); 1436writer.AddStyleAttribute(HtmlTextWriterStyle.BorderStyle, "Solid"); 1556writer.AddStyleAttribute(HtmlTextWriterStyle.TextAlign, "right"); 1649writer.AddStyleAttribute(HtmlTextWriterStyle.TextAlign, "right");
UI\WebParts\EditorZoneBase.cs (3)
397writer.AddStyleAttribute(HtmlTextWriterStyle.PaddingTop, "0"); 413writer.AddStyleAttribute(HtmlTextWriterStyle.Padding, "0"); 418writer.AddStyleAttribute(HtmlTextWriterStyle.Height, "100%");
UI\WebParts\ToolZone.cs (5)
281writer.AddStyleAttribute(HtmlTextWriterStyle.Margin, "4px"); 292writer.AddStyleAttribute(HtmlTextWriterStyle.Width, "100%"); 326writer.AddStyleAttribute(HtmlTextWriterStyle.Width, "100%"); 327writer.AddStyleAttribute(HtmlTextWriterStyle.WhiteSpace, "nowrap"); 334writer.AddStyleAttribute(HtmlTextWriterStyle.WhiteSpace, "nowrap");
UI\WebParts\WebPartChrome.cs (10)
307writer.AddStyleAttribute(HtmlTextWriterStyle.Width, "100%"); 326writer.AddStyleAttribute(HtmlTextWriterStyle.Width, "100%"); 332writer.AddStyleAttribute(HtmlTextWriterStyle.WhiteSpace, "nowrap"); 600writer.AddStyleAttribute(HtmlTextWriterStyle.WhiteSpace, "nowrap"); 645writer.AddStyleAttribute(HtmlTextWriterStyle.Width, "100%"); 648writer.AddStyleAttribute(HtmlTextWriterStyle.Height, "100%"); 657writer.AddStyleAttribute(HtmlTextWriterStyle.Display, "none"); 691writer.AddStyleAttribute(HtmlTextWriterStyle.Display, "none"); 696writer.AddStyleAttribute(HtmlTextWriterStyle.Height, "100%"); 706writer.AddStyleAttribute(HtmlTextWriterStyle.Padding, Zone.PartChromePadding.ToString());
UI\WebParts\WebPartMenu.cs (13)
140writer.AddStyleAttribute(HtmlTextWriterStyle.Cursor, "hand"); 141writer.AddStyleAttribute(HtmlTextWriterStyle.Display, "inline-block"); 142writer.AddStyleAttribute(HtmlTextWriterStyle.Padding, "1px"); 143writer.AddStyleAttribute(HtmlTextWriterStyle.TextDecoration, "none"); 156writer.AddStyleAttribute(HtmlTextWriterStyle.BorderStyle, "none"); 178writer.AddStyleAttribute(HtmlTextWriterStyle.BorderStyle, "none"); 184writer.AddStyleAttribute(HtmlTextWriterStyle.FontFamily, "Marlett"); 185writer.AddStyleAttribute(HtmlTextWriterStyle.FontSize, "8pt"); 199writer.AddStyleAttribute(HtmlTextWriterStyle.Display, "none"); 212writer.AddStyleAttribute(HtmlTextWriterStyle.BorderCollapse, "collapse"); 215writer.AddStyleAttribute(HtmlTextWriterStyle.Width, "100%"); 219writer.AddStyleAttribute(HtmlTextWriterStyle.WhiteSpace, "nowrap"); 362writer.AddStyleAttribute(HtmlTextWriterStyle.BorderStyle, "none");
UI\WebParts\WebPartMenuStyle.cs (1)
77attributes.Add(HtmlTextWriterStyle.Filter, filterValue);
UI\WebParts\WebPartZoneBase.cs (25)
1236writer.AddStyleAttribute(HtmlTextWriterStyle.Display, "none"); 1246writer.AddStyleAttribute(HtmlTextWriterStyle.Height, "100%"); 1269writer.AddStyleAttribute(HtmlTextWriterStyle.Padding, "0"); 1272writer.AddStyleAttribute(HtmlTextWriterStyle.Height, "100%"); 1281writer.AddStyleAttribute(HtmlTextWriterStyle.Width, "100%"); 1284writer.AddStyleAttribute(HtmlTextWriterStyle.Padding, "0"); 1304writer.AddStyleAttribute(HtmlTextWriterStyle.PaddingTop, "1"); 1305writer.AddStyleAttribute(HtmlTextWriterStyle.PaddingBottom, "1"); 1312writer.AddStyleAttribute(HtmlTextWriterStyle.PaddingLeft, "1"); 1313writer.AddStyleAttribute(HtmlTextWriterStyle.PaddingRight, "1"); 1333writer.AddStyleAttribute(HtmlTextWriterStyle.Width, "100%"); 1338writer.AddStyleAttribute(HtmlTextWriterStyle.Height, "100%"); 1342writer.AddStyleAttribute(HtmlTextWriterStyle.Visibility, "hidden"); 1349writer.AddStyleAttribute(HtmlTextWriterStyle.FontSize, "0px"); 1353writer.AddStyleAttribute(HtmlTextWriterStyle.Margin, "2px 0px 2px 0px"); 1354writer.AddStyleAttribute(HtmlTextWriterStyle.Height, "2px"); 1355writer.AddStyleAttribute(HtmlTextWriterStyle.Width, "100%"); 1358writer.AddStyleAttribute(HtmlTextWriterStyle.Margin, "0px 2px 0px 2px"); 1359writer.AddStyleAttribute(HtmlTextWriterStyle.Width, "2px"); 1360writer.AddStyleAttribute(HtmlTextWriterStyle.Height, "100%"); 1362writer.AddStyleAttribute(HtmlTextWriterStyle.BackgroundColor, color); 1389writer.AddStyleAttribute(HtmlTextWriterStyle.Width, "100%"); 1394writer.AddStyleAttribute(HtmlTextWriterStyle.Height, "100%"); 1435writer.AddStyleAttribute(HtmlTextWriterStyle.Width, "100%"); 1469writer.AddStyleAttribute(HtmlTextWriterStyle.WhiteSpace, "nowrap");
UI\WebParts\WebZone.cs (8)
370writer.AddStyleAttribute(HtmlTextWriterStyle.BackgroundImage,"url(" + ResolveClientUrl(backImageUrl) + ")"); 373writer.AddStyleAttribute(HtmlTextWriterStyle.Width, "100%"); 376writer.AddStyleAttribute(HtmlTextWriterStyle.Height, "100%"); 391writer.AddStyleAttribute(HtmlTextWriterStyle.WhiteSpace, "nowrap"); 399writer.AddStyleAttribute(HtmlTextWriterStyle.Width, "100%"); 402writer.AddStyleAttribute(HtmlTextWriterStyle.Height, "100%"); 574writer.AddStyleAttribute(HtmlTextWriterStyle.Height, "1px"); 599writer.AddStyleAttribute(HtmlTextWriterStyle.Height, "100%");
UI\XhtmlTextWriter.cs (1)
178protected override bool OnStyleAttributeRender(string name,string value, HtmlTextWriterStyle key) {
System.Web.DataVisualization (2)
WebForm\ChartWebControl.cs (1)
609if ( String.IsNullOrEmpty(htmlImage.Style[HtmlTextWriterStyle.BorderWidth]) &&
WebForm\General\ChartHttpHandler.cs (1)
624grid.Style[HtmlTextWriterStyle.MarginLeft] = "20px";
System.Web.Extensions (6)
UI\ScriptManager.cs (1)
2042writer.AddStyleAttribute(HtmlTextWriterStyle.Display, "none");
UI\Timer.cs (2)
208writer.AddStyleAttribute(HtmlTextWriterStyle.Visibility, "hidden"); 209writer.AddStyleAttribute(HtmlTextWriterStyle.Display, "none");
UI\UpdateProgress.cs (3)
160writer.AddStyleAttribute(HtmlTextWriterStyle.Display, "none"); 163writer.AddStyleAttribute(HtmlTextWriterStyle.Visibility, "hidden"); 164writer.AddStyleAttribute(HtmlTextWriterStyle.Display, "block");