115 references to flags
System.Web (115)
UI\Control.cs (107)
151
flags
.Set(isNamingContainer);
156
return (ClientIDMode)
flags
[clientIDMode, clientIDModeOffset];
159
flags
[clientIDMode, clientIDModeOffset] = (int)value;
187
return (ClientIDMode)
flags
[effectiveClientIDMode, effectiveClientIDModeOffset];
190
flags
[effectiveClientIDMode, effectiveClientIDModeOffset] = (int)value;
229
return
flags
[useGeneratedID] ? String.Empty : ID ?? String.Empty;
407
if(
flags
[controlAdapterResolved]) {
411
flags
.Set(controlAdapterResolved);
419
flags
.Set(controlAdapterResolved);
429
if(
flags
[controlAdapterResolved]) {
433
flags
.Set(controlAdapterResolved);
443
if(!
flags
[designModeChecked]) {
447
flags
.Set(designMode);
450
flags
.Clear(designMode);
456
flags
.Set(designMode);
459
flags
.Clear(designMode);
464
flags
.Set(designMode);
477
flags
.Set(designModeChecked);
479
return
flags
[designMode];
536
if (!
flags
[idNotCalculated] && !
flags
[mustRenderID]) {
550
flags
.Set(idNotCalculated);
551
flags
.Clear(useGeneratedID);
577
if (
flags
[enableThemingSet]) {
578
return !
flags
[disableTheming];
585
return !
flags
[disableTheming];
593
flags
.Set(disableTheming);
596
flags
.Clear(disableTheming);
599
flags
.Set(enableThemingSet);
605
return
flags
[enableThemingSet];;
616
return
flags
[disableChildControlState];
640
if (
flags
[styleSheetApplied]) {
698
return !
flags
[disableViewState];
713
return
flags
[viewStateNotInherited] ?
714
(
flags
[viewStateMode] ? ViewStateMode.Enabled : ViewStateMode.Disabled) :
722
flags
.Clear(viewStateNotInherited);
725
flags
.Set(viewStateNotInherited);
727
flags
.Set(viewStateMode);
730
flags
.Clear(viewStateMode);
739
flags
.Set(disableViewState);
741
flags
.Clear(disableViewState);
782
if (Parent.
flags
[isNamingContainer])
1247
flags
.Clear(designModeChecked);
1266
if (
flags
[invisible])
1274
if (
flags
[marked]) {
1275
bool visible = !
flags
[invisible];
1277
flags
.Set(visibleDirty);
1282
flags
.Set(invisible);
1285
flags
.Clear(invisible);
1307
return
flags
[invisible];
1475
if (
flags
[styleSheetApplied]) {
1480
flags
.Set(styleSheetApplied);
1492
if (
flags
[themeApplied]) {
1498
flags
.Set(themeApplied);
1587
if (
flags
[isNamingContainer] == false) {
1588
flags
.Set(idNotRequired);
1640
flags
.Set(mustRenderID);
1649
flags
.Set(useGeneratedID);
1705
if (
flags
[isNamingContainer]) {
1717
if ((control._id == null) && (namingContainer != null) && !control.
flags
[idNotRequired]) {
1762
if (
flags
[isNamingContainer]) {
1774
if ((control._id == null) && (namingContainer != null) && !control.
flags
[idNotRequired]) {
1888
flags
.Set(disableChildControlState);
1947
if (
flags
[controlStateApplied]) {
1951
flags
.Set(controlStateApplied);
1992
flags
.Set(invisible);
1995
flags
.Clear(invisible);
1997
flags
.Set(visibleDirty);
2002
flags
[validateRequestMode, validateRequestModeOffset] = (int)validateRequestModeValue;
2003
flags
.Set(validateRequestModeDirty);
2010
if (savedState == null ||
flags
[disableViewState])
2328
flags
.Set(invisible);
2331
flags
.Clear(invisible);
2360
flags
.Set(invisible);
2363
flags
.Clear(invisible);
2424
calcViewState = calcViewState && (!
flags
[disableViewState]);
2479
if (
flags
[visibleDirty]) {
2480
ViewState["Visible"] = !
flags
[invisible];
2482
if (
flags
[validateRequestModeDirty]) {
2495
if (
flags
[disableViewState])
2499
if (
flags
[viewStateNotInherited]) {
2500
if (
flags
[viewStateMode]) {
2605
if (!
flags
[invisible] && !
flags
[notVisibleOnPage]) {
2692
if (
flags
[useGeneratedID]) {
2694
flags
.Clear(useGeneratedID);
2781
return (ValidateRequestMode)
flags
[validateRequestMode, validateRequestModeOffset];
2793
int oldValue =
flags
[validateRequestMode, validateRequestModeOffset];
2795
flags
.Set(validateRequestModeDirty);
2798
flags
[validateRequestMode, validateRequestModeOffset] = (int)value;
2869
control.
flags
.Clear(designModeChecked);
2873
Control namingContainer =
flags
[isNamingContainer] ? this : _namingContainer;
2876
if (control._id == null && !control.
flags
[idNotRequired]) {
2966
return
flags
[controlsCreated];
2969
if (!value &&
flags
[controlsCreated]) {
2973
flags
.Set(controlsCreated);
2976
flags
.Clear(controlsCreated);
3102
if (control.HasControls() && (control.
flags
[isNamingContainer] == false)) {
3136
if (!(
flags
[isNamingContainer])) {
3271
return
flags
[marked];
3285
flags
.Set(marked);
3295
if (!ChildControlsCreated && !
flags
[creatingControls]) {
3296
flags
.Set(creatingControls);
3311
flags
.Clear(creatingControls);
3357
control.
flags
.Clear(mustRenderID);
3362
flags
.Set(designMode);
3363
flags
.Set(designModeChecked);
UI\WebControls\WebControl.cs (8)
321
return !
flags
[isWebControlDisabled];
324
bool enabled = !
flags
[isWebControlDisabled];
327
flags
.Set(isWebControlDisabled);
330
flags
.Clear(isWebControlDisabled);
438
if (current.
flags
[isWebControlDisabled]) {
740
flags
.Set(isWebControlDisabled);
743
flags
.Clear(isWebControlDisabled);
836
ViewState["Enabled"] = !
flags
[isWebControlDisabled];