333 references to HtmlTextWriterStyle
System.Web (325)
UI\ChtmlTextWriter.cs (2)
97
protected override bool OnStyleAttributeRender(string name,string value,
HtmlTextWriterStyle
key) {
98
if (key ==
HtmlTextWriterStyle
.TextDecoration) {
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 (10)
71
HtmlTextWriterStyle
style = CssTextWriter.GetStyleKey(key);
72
if (style != (
HtmlTextWriterStyle
)(-1)) {
88
public string this[
HtmlTextWriterStyle
key] {
126
foreach (
HtmlTextWriterStyle
style in _intTable.Keys) {
191
HtmlTextWriterStyle
style = CssTextWriter.GetStyleKey(key);
192
if (style != (
HtmlTextWriterStyle
)(-1)) {
205
public void Add(
HtmlTextWriterStyle
key, string value) {
248
public void Remove(
HtmlTextWriterStyle
key) {
334
writer.WriteAttribute((
HtmlTextWriterStyle
)entry.Key, (string)entry.Value);
352
writer.AddStyleAttribute((
HtmlTextWriterStyle
)entry.Key, (string)entry.Value);
UI\CssTextWriter.cs (57)
27
attrKeyLookupTable = new Hashtable((int)
HtmlTextWriterStyle
.ZIndex + 1);
28
attrNameLookupArray = new AttributeInformation[(int)
HtmlTextWriterStyle
.ZIndex + 1];
30
RegisterAttribute("background-color",
HtmlTextWriterStyle
.BackgroundColor);
31
RegisterAttribute("background-image",
HtmlTextWriterStyle
.BackgroundImage, true, true);
32
RegisterAttribute("border-collapse",
HtmlTextWriterStyle
.BorderCollapse);
33
RegisterAttribute("border-color",
HtmlTextWriterStyle
.BorderColor);
34
RegisterAttribute("border-style",
HtmlTextWriterStyle
.BorderStyle);
35
RegisterAttribute("border-width",
HtmlTextWriterStyle
.BorderWidth);
36
RegisterAttribute("color",
HtmlTextWriterStyle
.Color);
37
RegisterAttribute("cursor",
HtmlTextWriterStyle
.Cursor);
38
RegisterAttribute("direction",
HtmlTextWriterStyle
.Direction);
39
RegisterAttribute("display",
HtmlTextWriterStyle
.Display);
40
RegisterAttribute("filter",
HtmlTextWriterStyle
.Filter);
41
RegisterAttribute("font-family",
HtmlTextWriterStyle
.FontFamily, true);
42
RegisterAttribute("font-size",
HtmlTextWriterStyle
.FontSize);
43
RegisterAttribute("font-style",
HtmlTextWriterStyle
.FontStyle);
44
RegisterAttribute("font-variant",
HtmlTextWriterStyle
.FontVariant);
45
RegisterAttribute("font-weight",
HtmlTextWriterStyle
.FontWeight);
46
RegisterAttribute("height",
HtmlTextWriterStyle
.Height);
47
RegisterAttribute("left",
HtmlTextWriterStyle
.Left);
48
RegisterAttribute("list-style-image",
HtmlTextWriterStyle
.ListStyleImage, true, true);
49
RegisterAttribute("list-style-type",
HtmlTextWriterStyle
.ListStyleType);
50
RegisterAttribute("margin",
HtmlTextWriterStyle
.Margin);
51
RegisterAttribute("margin-bottom",
HtmlTextWriterStyle
.MarginBottom);
52
RegisterAttribute("margin-left",
HtmlTextWriterStyle
.MarginLeft);
53
RegisterAttribute("margin-right",
HtmlTextWriterStyle
.MarginRight);
54
RegisterAttribute("margin-top",
HtmlTextWriterStyle
.MarginTop);
55
RegisterAttribute("overflow-x",
HtmlTextWriterStyle
.OverflowX);
56
RegisterAttribute("overflow-y",
HtmlTextWriterStyle
.OverflowY);
57
RegisterAttribute("overflow",
HtmlTextWriterStyle
.Overflow);
58
RegisterAttribute("padding",
HtmlTextWriterStyle
.Padding);
59
RegisterAttribute("padding-bottom",
HtmlTextWriterStyle
.PaddingBottom);
60
RegisterAttribute("padding-left",
HtmlTextWriterStyle
.PaddingLeft);
61
RegisterAttribute("padding-right",
HtmlTextWriterStyle
.PaddingRight);
62
RegisterAttribute("padding-top",
HtmlTextWriterStyle
.PaddingTop);
63
RegisterAttribute("position",
HtmlTextWriterStyle
.Position);
64
RegisterAttribute("text-align",
HtmlTextWriterStyle
.TextAlign);
65
RegisterAttribute("text-decoration",
HtmlTextWriterStyle
.TextDecoration);
66
RegisterAttribute("text-overflow",
HtmlTextWriterStyle
.TextOverflow);
67
RegisterAttribute("top",
HtmlTextWriterStyle
.Top);
68
RegisterAttribute("vertical-align",
HtmlTextWriterStyle
.VerticalAlign);
69
RegisterAttribute("visibility",
HtmlTextWriterStyle
.Visibility);
70
RegisterAttribute("width",
HtmlTextWriterStyle
.Width);
71
RegisterAttribute("white-space",
HtmlTextWriterStyle
.WhiteSpace);
72
RegisterAttribute("z-index",
HtmlTextWriterStyle
.ZIndex);
118
public static
HtmlTextWriterStyle
GetStyleKey(string styleName) {
122
return (
HtmlTextWriterStyle
)key;
126
return (
HtmlTextWriterStyle
)(-1);
133
public static string GetStyleName(
HtmlTextWriterStyle
styleKey) {
146
public static bool IsStyleEncoded(
HtmlTextWriterStyle
styleKey) {
160
internal static void RegisterAttribute(string name,
HtmlTextWriterStyle
key) {
170
internal static void RegisterAttribute(string name,
HtmlTextWriterStyle
key, bool encode) {
182
internal static void RegisterAttribute(string name,
HtmlTextWriterStyle
key, bool encode, bool isUrl) {
281
public void WriteAttribute(
HtmlTextWriterStyle
key, string value) {
289
private static void WriteAttribute(TextWriter writer,
HtmlTextWriterStyle
key, string name, string value) {
294
if (key != (
HtmlTextWriterStyle
)(-1)) {
498
public
HtmlTextWriterStyle
key;
UI\Html32TextWriter.cs (26)
292
protected override bool OnStyleAttributeRender(string name,string value,
HtmlTextWriterStyle
key) {
298
case
HtmlTextWriterStyle
.FontFamily:
302
case
HtmlTextWriterStyle
.Color:
306
case
HtmlTextWriterStyle
.FontSize:
311
case
HtmlTextWriterStyle
.FontWeight:
316
case
HtmlTextWriterStyle
.FontStyle:
321
case
HtmlTextWriterStyle
.TextDecoration:
336
case
HtmlTextWriterStyle
.FontFamily:
339
case
HtmlTextWriterStyle
.Color:
342
case
HtmlTextWriterStyle
.FontSize:
345
case
HtmlTextWriterStyle
.FontWeight:
350
case
HtmlTextWriterStyle
.FontStyle:
355
case
HtmlTextWriterStyle
.TextDecoration:
367
if (Supports(SUPPORTS_BORDER) && key ==
HtmlTextWriterStyle
.BorderWidth) {
373
if (Supports(SUPPORTS_NOWRAP) && key ==
HtmlTextWriterStyle
.WhiteSpace) {
379
case
HtmlTextWriterStyle
.Height :
384
case
HtmlTextWriterStyle
.Width :
395
case
HtmlTextWriterStyle
.BorderColor:
404
case
HtmlTextWriterStyle
.BackgroundColor :
421
case
HtmlTextWriterStyle
.BackgroundImage :
446
case
HtmlTextWriterStyle
.ListStyleType:
474
case
HtmlTextWriterStyle
.TextAlign:
477
case
HtmlTextWriterStyle
.VerticalAlign:
482
case
HtmlTextWriterStyle
.Display:
559
if (!IsStyleAttributeDefined(
HtmlTextWriterStyle
.BorderWidth)) {
562
if (!IsStyleAttributeDefined(
HtmlTextWriterStyle
.Width)) {
UI\HTMLTextWriter.cs (8)
646
protected static void RegisterStyle(string name,
HtmlTextWriterStyle
key) {
759
public virtual void AddStyleAttribute(
HtmlTextWriterStyle
key, string value) {
763
protected virtual void AddStyleAttribute(string name, string value,
HtmlTextWriterStyle
key) {
839
protected
HtmlTextWriterStyle
GetStyleKey(string styleName) {
843
protected string GetStyleName(
HtmlTextWriterStyle
styleKey) {
885
protected bool IsStyleAttributeDefined(
HtmlTextWriterStyle
key) {
894
protected bool IsStyleAttributeDefined(
HtmlTextWriterStyle
key, out string value) {
909
protected virtual bool OnStyleAttributeRender(string name, string value,
HtmlTextWriterStyle
key) {
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\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\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\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 (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");
128
ulDynamic.AddStyle(
HtmlTextWriterStyle
.MarginLeft, Menu.DynamicHorizontalOffset.ToString(CultureInfo.InvariantCulture) + "px");
132
ulDynamic.AddStyle(
HtmlTextWriterStyle
.MarginTop, Menu.DynamicVerticalOffset.ToString(CultureInfo.InvariantCulture) + "px");
151
.AddStyle(
HtmlTextWriterStyle
.WhiteSpace, "nowrap")
152
.AddStyle(
HtmlTextWriterStyle
.Display, "block")
158
menuItemStatic.AddStyle(
HtmlTextWriterStyle
.PaddingLeft, "0.15em")
159
.AddStyle(
HtmlTextWriterStyle
.PaddingRight, "0.15em");
172
.AddStyle(
HtmlTextWriterStyle
.PaddingRight, "14px");
180
.AddStyle(
HtmlTextWriterStyle
.PaddingRight, "14px");
217
style.AddStyle(
HtmlTextWriterStyle
.PaddingLeft, indent.ToString(CultureInfo.InvariantCulture));
425
writer.AddStyleAttribute(
HtmlTextWriterStyle
.WhiteSpace, "nowrap");
550
writer.AddStyleAttribute(
HtmlTextWriterStyle
.WhiteSpace, "nowrap");
625
public StyleBlockStyles AddStyle(
HtmlTextWriterStyle
styleName, string value) {
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 (20)
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");
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\TableItemStyle.cs (1)
152
writer.AddStyleAttribute(
HtmlTextWriterStyle
.WhiteSpace, "nowrap");
UI\WebControls\TableStyle.cs (2)
192
writer.AddStyleAttribute(
HtmlTextWriterStyle
.BorderCollapse, "collapse");
287
attributes.Add(
HtmlTextWriterStyle
.BackgroundImage, s);
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\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\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\WebPartMenuStyle.cs (1)
77
attributes.Add(
HtmlTextWriterStyle
.Filter, filterValue);
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%");
UI\XhtmlTextWriter.cs (1)
178
protected override bool OnStyleAttributeRender(string name,string value,
HtmlTextWriterStyle
key) {
System.Web.DataVisualization (2)
WebForm\ChartWebControl.cs (1)
609
if ( String.IsNullOrEmpty(htmlImage.Style[
HtmlTextWriterStyle
.BorderWidth]) &&
WebForm\General\ChartHttpHandler.cs (1)
624
grid.Style[
HtmlTextWriterStyle
.MarginLeft] = "20px";
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");