171 references to ViewState
System.Web (171)
UI\WebControls\DataGridPagerStyle.cs (18)
99
return(PagerMode)(
ViewState
["Mode"]);
107
ViewState
["Mode"] = value;
128
return(string)(
ViewState
["NextPageText"]);
133
ViewState
["NextPageText"] = value;
154
return(int)(
ViewState
["PageButtonCount"]);
162
ViewState
["PageButtonCount"] = value;
183
return(PagerPosition)(
ViewState
["Position"]);
191
ViewState
["Position"] = value;
212
return(string)(
ViewState
["PrevPageText"]);
217
ViewState
["PrevPageText"] = value;
237
return(bool)(
ViewState
["PagerVisible"]);
242
ViewState
["PagerVisible"] = value;
319
ViewState
.Remove("Mode");
321
ViewState
.Remove("NextPageText");
323
ViewState
.Remove("PrevPageText");
325
ViewState
.Remove("PageButtonCount");
327
ViewState
.Remove("Position");
329
ViewState
.Remove("PagerVisible");
UI\WebControls\FontInfo.cs (23)
48
return (bool)(owner.
ViewState
["Font_Bold"]);
53
owner.
ViewState
["Font_Bold"] = value;
71
return (bool)(owner.
ViewState
["Font_Italic"]);
76
owner.
ViewState
["Font_Italic"] = value;
129
string[] names = (string[])owner.
ViewState
["Font_Names"];
136
owner.
ViewState
["Font_Names"] = value;
154
return (bool)(owner.
ViewState
["Font_Overline"]);
159
owner.
ViewState
["Font_Overline"] = value;
187
return (FontUnit)(owner.
ViewState
["Font_Size"]);
195
owner.
ViewState
["Font_Size"] = value;
213
return (bool)(owner.
ViewState
["Font_Strikeout"]);
218
owner.
ViewState
["Font_Strikeout"] = value;
236
return (bool)(owner.
ViewState
["Font_Underline"]);
241
owner.
ViewState
["Font_Underline"] = value;
252
owner.
ViewState
.Remove("Font_Names");
256
owner.
ViewState
.Remove("Font_Size");
372
owner.
ViewState
.Remove("Font_Bold");
377
owner.
ViewState
.Remove("Font_Names");
382
owner.
ViewState
.Remove("Font_Size");
391
owner.
ViewState
.Remove("Font_Italic");
400
owner.
ViewState
.Remove("Font_Overline");
409
owner.
ViewState
.Remove("Font_Strikeout");
418
owner.
ViewState
.Remove("Font_Underline");
UI\WebControls\HyperLinkStyle.cs (1)
79
StateBag viewState =
ViewState
;
UI\WebControls\MenuItemStyle.cs (12)
43
return (Unit)(
ViewState
["HorizontalPadding"]);
51
ViewState
["HorizontalPadding"] = value;
79
return (Unit)(
ViewState
["ItemSpacing"]);
87
ViewState
["ItemSpacing"] = value;
105
return (Unit)(
ViewState
["VerticalPadding"]);
113
ViewState
["VerticalPadding"] = value;
132
ViewState
.Remove("VerticalPadding");
137
ViewState
.Remove("HorizontalPadding");
164
StateBag viewState =
ViewState
;
269
ViewState
.Remove("VerticalPadding");
271
ViewState
.Remove("HorizontalPadding");
273
ViewState
.Remove("ItemSpacing");
UI\WebControls\PanelStyle.cs (18)
60
return(string)(
ViewState
[STR_BACKIMAGEURL]);
68
ViewState
[STR_BACKIMAGEURL] = value;
85
return (ContentDirection)(
ViewState
[STR_DIRECTION]);
93
ViewState
[STR_DIRECTION] = value;
110
return (HorizontalAlign)(
ViewState
[STR_HORIZONTALALIGN]);
118
ViewState
[STR_HORIZONTALALIGN] = value;
135
return (ScrollBars)(
ViewState
[STR_SCROLLBARS]);
143
ViewState
[STR_SCROLLBARS] = value;
161
return (bool)(
ViewState
[STR_WRAP]);
166
ViewState
[STR_WRAP] = value;
186
ViewState
.Remove(STR_BACKIMAGEURL);
190
ViewState
.Remove(STR_SCROLLBARS);
194
ViewState
.Remove(STR_WRAP);
261
ViewState
.Remove(STR_BACKIMAGEURL);
263
ViewState
.Remove(STR_DIRECTION);
265
ViewState
.Remove(STR_HORIZONTALALIGN);
267
ViewState
.Remove(STR_SCROLLBARS);
269
ViewState
.Remove(STR_WRAP);
UI\WebControls\Style.cs (40)
107
return(Color)(
ViewState
["BackColor"]);
112
ViewState
["BackColor"] = value;
133
return(Color)(
ViewState
["BorderColor"]);
138
ViewState
["BorderColor"] = value;
158
return(Unit)(
ViewState
["BorderWidth"]);
166
ViewState
["BorderWidth"] = value;
185
return(BorderStyle)(
ViewState
["BorderStyle"]);
193
ViewState
["BorderStyle"] = value;
212
string s = (string)
ViewState
["CssClass"];
218
ViewState
["CssClass"] = value;
259
return(Color)(
ViewState
["ForeColor"]);
264
ViewState
["ForeColor"] = value;
284
return(Unit)(
ViewState
["Height"]);
292
ViewState
["Height"] = value;
376
return(Unit)(
ViewState
["Width"]);
384
ViewState
["Width"] = value;
408
cssClass = (string)
ViewState
["CssClass"];
475
ViewState
.Remove("BackColor");
479
ViewState
.Remove("ForeColor");
483
ViewState
.Remove("BorderColor");
487
ViewState
.Remove("BorderWidth");
491
ViewState
.Remove("BorderStyle");
495
ViewState
.Remove("Height");
499
ViewState
.Remove("Width");
524
StateBag viewState =
ViewState
;
684
ViewState
.LoadViewState(state);
687
object o =
ViewState
[SetBitsKey];
707
ViewState
.TrackViewState();
774
ViewState
.Remove("CssClass");
776
ViewState
.Remove("BackColor");
778
ViewState
.Remove("ForeColor");
780
ViewState
.Remove("BorderColor");
782
ViewState
.Remove("BorderWidth");
784
ViewState
.Remove("BorderStyle");
786
ViewState
.Remove("Height");
788
ViewState
.Remove("Width");
792
ViewState
.Remove(SetBitsKey);
810
ViewState
[SetBitsKey] = markedBits;
814
return
ViewState
.SaveViewState();
831
ViewState
.SetDirty(true);
UI\WebControls\SubMenuStyle.cs (9)
39
return (Unit)(
ViewState
["HorizontalPadding"]);
47
ViewState
["HorizontalPadding"] = value;
65
return (Unit)(
ViewState
["VerticalPadding"]);
73
ViewState
["VerticalPadding"] = value;
92
ViewState
.Remove("VerticalPadding");
97
ViewState
.Remove("HorizontalPadding");
120
StateBag viewState =
ViewState
;
221
ViewState
.Remove("VerticalPadding");
223
ViewState
.Remove("HorizontalPadding");
UI\WebControls\TableItemStyle.cs (11)
78
return(HorizontalAlign)(
ViewState
["HorizontalAlign"]);
86
ViewState
["HorizontalAlign"] = value;
104
return(VerticalAlign)(
ViewState
["VerticalAlign"]);
112
ViewState
["VerticalAlign"] = value;
130
return(bool)(
ViewState
["Wrap"]);
135
ViewState
["Wrap"] = value;
184
ViewState
.Remove("Wrap");
255
ViewState
.Remove("HorizontalAlign");
257
ViewState
.Remove("VerticalAlign");
259
ViewState
.Remove("Wrap");
269
ViewState
.Remove("Wrap");
UI\WebControls\TableSectionStyle.cs (2)
29
object visible =
ViewState
["Visible"];
33
ViewState
["Visible"] = value;
UI\WebControls\TableStyle.cs (16)
61
return(string)(
ViewState
["BackImageUrl"]);
69
ViewState
["BackImageUrl"] = value;
87
return(int)(
ViewState
["CellPadding"]);
95
ViewState
["CellPadding"] = value;
113
return(int)(
ViewState
["CellSpacing"]);
121
ViewState
["CellSpacing"] = value;
139
return(GridLines)(
ViewState
["GridLines"]);
147
ViewState
["GridLines"] = value;
165
return(HorizontalAlign)(
ViewState
["HorizontalAlign"]);
173
ViewState
["HorizontalAlign"] = value;
256
ViewState
.Remove("BackImageUrl");
337
ViewState
.Remove("BackImageUrl");
339
ViewState
.Remove("CellPadding");
341
ViewState
.Remove("CellSpacing");
343
ViewState
.Remove("GridLines");
345
ViewState
.Remove("HorizontalAlign");
UI\WebControls\TreeNodeStyle.cs (17)
45
return (Unit)(
ViewState
["ChildNodesPadding"]);
53
ViewState
["ChildNodesPadding"] = value;
70
return (Unit)(
ViewState
["HorizontalPadding"]);
78
ViewState
["HorizontalPadding"] = value;
102
return (string)(
ViewState
["ImageUrl"]);
110
ViewState
["ImageUrl"] = value;
127
return (Unit)(
ViewState
["NodeSpacing"]);
135
ViewState
["NodeSpacing"] = value;
152
return (Unit)(
ViewState
["VerticalPadding"]);
160
ViewState
["VerticalPadding"] = value;
179
ViewState
.Remove("VerticalPadding");
184
ViewState
.Remove("HorizontalPadding");
218
StateBag viewState =
ViewState
;
333
ViewState
.Remove("VerticalPadding");
335
ViewState
.Remove("HorizontalPadding");
337
ViewState
.Remove("NodeSpacing");
339
ViewState
.Remove("ChildNodesPadding");
UI\WebParts\WebPartMenuStyle.cs (4)
43
return (Color)(
ViewState
["ShadowColor"]);
48
ViewState
["ShadowColor"] = value;
92
ViewState
.Remove("ShadowColor");
133
ViewState
.Remove("ShadowColor");