19 references to ViewStateMode
System.Web (19)
UI\Control.cs (16)
706
DefaultValue(
ViewStateMode
.Inherit),
711
public virtual
ViewStateMode
ViewStateMode {
714
(flags[viewStateMode] ?
ViewStateMode
.Enabled :
ViewStateMode
.Disabled) :
715
ViewStateMode
.Inherit;
718
if ((value <
ViewStateMode
.Inherit) || (value >
ViewStateMode
.Disabled)) {
721
if (value ==
ViewStateMode
.Inherit) {
726
if (value ==
ViewStateMode
.Enabled) {
757
ViewStateMode
mode = current.ViewStateMode;
758
if (mode !=
ViewStateMode
.Inherit) {
759
return (mode ==
ViewStateMode
.Enabled);
2494
internal object SaveViewStateRecursive(
ViewStateMode
inheritedMode) {
2502
inheritedMode =
ViewStateMode
.Enabled;
2506
inheritedMode =
ViewStateMode
.Disabled;
2510
saveThisState = (inheritedMode ==
ViewStateMode
.Enabled);
UI\Page.cs (3)
5509
ViewStateMode
inheritedMode = ViewStateMode;
5510
if (inheritedMode ==
ViewStateMode
.Inherit) {
5511
inheritedMode =
ViewStateMode
.Enabled;