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