131 references to InternalFlags
PresentationFramework (131)
System\Windows\Controls\ItemsControl.cs (1)
1554return ReadInternalFlag(InternalFlags.InitPending);
System\Windows\FrameworkContentElement.cs (30)
1482Debug.Assert((uint)InternalFlags.InheritanceBehavior0 == 0x08); 1483Debug.Assert((uint)InternalFlags.InheritanceBehavior1 == 0x10); 1484Debug.Assert((uint)InternalFlags.InheritanceBehavior2 == 0x20); 1487(uint)InternalFlags.InheritanceBehavior0 + 1488(uint)InternalFlags.InheritanceBehavior1 + 1489(uint)InternalFlags.InheritanceBehavior2; 1497Debug.Assert((uint)InternalFlags.InheritanceBehavior0 == 0x08); 1498Debug.Assert((uint)InternalFlags.InheritanceBehavior1 == 0x10); 1499Debug.Assert((uint)InternalFlags.InheritanceBehavior2 == 0x20); 1502(uint)InternalFlags.InheritanceBehavior0 + 1503(uint)InternalFlags.InheritanceBehavior1 + 1504(uint)InternalFlags.InheritanceBehavior2; 1516_flags = (InternalFlags)((inheritanceBehavior & inheritanceBehaviorMask) | (((uint)_flags) & ~inheritanceBehaviorMask)); 1548if (ReadInternalFlag(InternalFlags.InitPending)) 1554WriteInternalFlag(InternalFlags.InitPending, true); 1563if (!ReadInternalFlag(InternalFlags.InitPending)) 1569WriteInternalFlag(InternalFlags.InitPending, false); 1585get { return ReadInternalFlag(InternalFlags.IsInitialized); } 1629if (!ReadInternalFlag(InternalFlags.InitPending) && 1630!ReadInternalFlag(InternalFlags.IsInitialized)) 1632WriteInternalFlag(InternalFlags.IsInitialized, true); 2065get { return ReadInternalFlag(InternalFlags.HasResourceReferences); } 2066set { WriteInternalFlag(InternalFlags.HasResourceReferences, value); } 2071get { return ReadInternalFlag(InternalFlags.IsLogicalChildrenIterationInProgress); } 2072set { WriteInternalFlag(InternalFlags.IsLogicalChildrenIterationInProgress, value); } 2101get { return ReadInternalFlag(InternalFlags.HasLogicalChildren); } 2102set { WriteInternalFlag(InternalFlags.HasLogicalChildren, value); } 2143internal bool ReadInternalFlag(InternalFlags reqFlag) 2155internal void WriteInternalFlag(InternalFlags reqFlag, bool set) 2191private InternalFlags _flags = 0; // field used to store various flags such as HasResourceReferences, etc.
System\Windows\FrameworkElement.cs (43)
2619Debug.Assert((uint)InternalFlags.InheritanceBehavior0 == 0x08); 2620Debug.Assert((uint)InternalFlags.InheritanceBehavior1 == 0x10); 2621Debug.Assert((uint)InternalFlags.InheritanceBehavior2 == 0x20); 2624(uint)InternalFlags.InheritanceBehavior0 + 2625(uint)InternalFlags.InheritanceBehavior1 + 2626(uint)InternalFlags.InheritanceBehavior2; 2634Debug.Assert((uint)InternalFlags.InheritanceBehavior0 == 0x08); 2635Debug.Assert((uint)InternalFlags.InheritanceBehavior1 == 0x10); 2636Debug.Assert((uint)InternalFlags.InheritanceBehavior2 == 0x20); 2639(uint)InternalFlags.InheritanceBehavior0 + 2640(uint)InternalFlags.InheritanceBehavior1 + 2641(uint)InternalFlags.InheritanceBehavior2; 2653_flags = (InternalFlags)((inheritanceBehavior & inheritanceBehaviorMask) | (((uint)_flags) & ~inheritanceBehaviorMask)); 5412if (ReadInternalFlag(InternalFlags.InitPending)) 5418WriteInternalFlag(InternalFlags.InitPending, true); 5427if (!ReadInternalFlag(InternalFlags.InitPending)) 5433WriteInternalFlag(InternalFlags.InitPending, false); 5449get { return ReadInternalFlag(InternalFlags.IsInitialized); } 5498if (!ReadInternalFlag(InternalFlags.InitPending) && 5499!ReadInternalFlag(InternalFlags.IsInitialized)) 5501WriteInternalFlag(InternalFlags.IsInitialized, true); 5545return (SystemResources.SystemResourcesAreChanging || (fe.ReadInternalFlag(InternalFlags.CreatingRoot) && SystemResources.SystemResourcesHaveChanged)) && 5619WriteInternalFlag(InternalFlags.CreatingRoot, true); 5624WriteInternalFlag(InternalFlags.CreatingRoot, false); 6157get { return ReadInternalFlag(InternalFlags.HasResourceReferences); } 6158set { WriteInternalFlag(InternalFlags.HasResourceReferences, value); } 6163get { return ReadInternalFlag(InternalFlags.IsLogicalChildrenIterationInProgress); } 6164set { WriteInternalFlag(InternalFlags.IsLogicalChildrenIterationInProgress, value); } 6169get { return ReadInternalFlag(InternalFlags.InVisibilityCollapsedTree); } 6170set { WriteInternalFlag(InternalFlags.InVisibilityCollapsedTree, value); } 6199get { return ReadInternalFlag(InternalFlags.HasLogicalChildren); } 6200set { WriteInternalFlag(InternalFlags.HasLogicalChildren, value); } 6205get { return ReadInternalFlag(InternalFlags.NeedsClipBounds); } 6206set { WriteInternalFlag(InternalFlags.NeedsClipBounds, value); } 6211get { return ReadInternalFlag(InternalFlags.HasWidthEverChanged); } 6212set { WriteInternalFlag(InternalFlags.HasWidthEverChanged, value); } 6217get { return ReadInternalFlag(InternalFlags.HasHeightEverChanged); } 6218set { WriteInternalFlag(InternalFlags.HasHeightEverChanged, value); } 6223get { return ReadInternalFlag(InternalFlags.IsRightToLeft); } 6224set { WriteInternalFlag(InternalFlags.IsRightToLeft, value); } 6283internal bool ReadInternalFlag(InternalFlags reqFlag) 6295internal void WriteInternalFlag(InternalFlags reqFlag, bool set) 6399private InternalFlags _flags = 0; // Stores Flags (see Flags enum)
System\Windows\Generated\FrameworkContentElement.cs (24)
1031get { return ReadInternalFlag(InternalFlags.IsStyleUpdateInProgress); } 1032set { WriteInternalFlag(InternalFlags.IsStyleUpdateInProgress, value); } 1038get { return ReadInternalFlag(InternalFlags.IsThemeStyleUpdateInProgress); } 1039set { WriteInternalFlag(InternalFlags.IsThemeStyleUpdateInProgress, value); } 1046get { return ReadInternalFlag(InternalFlags.StoresParentTemplateValues); } 1047set { WriteInternalFlag(InternalFlags.StoresParentTemplateValues, value); } 1053get { return ReadInternalFlag(InternalFlags.HasNumberSubstitutionChanged); } 1054set { WriteInternalFlag(InternalFlags.HasNumberSubstitutionChanged, value); } 1061get { return ReadInternalFlag(InternalFlags.HasTemplateGeneratedSubTree); } 1062set { WriteInternalFlag(InternalFlags.HasTemplateGeneratedSubTree, value); } 1068get { return ReadInternalFlag(InternalFlags.HasImplicitStyleFromResources); } 1069set { WriteInternalFlag(InternalFlags.HasImplicitStyleFromResources, value); } 1075get { return ReadInternalFlag(InternalFlags.ShouldLookupImplicitStyles); } 1076set { WriteInternalFlag(InternalFlags.ShouldLookupImplicitStyles, value); } 1107get { return ReadInternalFlag(InternalFlags.HasStyleEverBeenFetched); } 1108set { WriteInternalFlag(InternalFlags.HasStyleEverBeenFetched, value); } 1114get { return ReadInternalFlag(InternalFlags.HasLocalStyle); } 1115set { WriteInternalFlag(InternalFlags.HasLocalStyle, value); } 1122get { return ReadInternalFlag(InternalFlags.HasThemeStyleEverBeenFetched); } 1123set { WriteInternalFlag(InternalFlags.HasThemeStyleEverBeenFetched, value); } 1130get { return ReadInternalFlag(InternalFlags.AncestorChangeInProgress); } 1131set { WriteInternalFlag(InternalFlags.AncestorChangeInProgress, value); } 1163get { return ReadInternalFlag(InternalFlags.PotentiallyHasMentees); } 1173WriteInternalFlag(InternalFlags.PotentiallyHasMentees, value);
System\Windows\Generated\FrameworkElement.cs (24)
1063get { return ReadInternalFlag(InternalFlags.IsStyleUpdateInProgress); } 1064set { WriteInternalFlag(InternalFlags.IsStyleUpdateInProgress, value); } 1070get { return ReadInternalFlag(InternalFlags.IsThemeStyleUpdateInProgress); } 1071set { WriteInternalFlag(InternalFlags.IsThemeStyleUpdateInProgress, value); } 1078get { return ReadInternalFlag(InternalFlags.StoresParentTemplateValues); } 1079set { WriteInternalFlag(InternalFlags.StoresParentTemplateValues, value); } 1085get { return ReadInternalFlag(InternalFlags.HasNumberSubstitutionChanged); } 1086set { WriteInternalFlag(InternalFlags.HasNumberSubstitutionChanged, value); } 1093get { return ReadInternalFlag(InternalFlags.HasTemplateGeneratedSubTree); } 1094set { WriteInternalFlag(InternalFlags.HasTemplateGeneratedSubTree, value); } 1100get { return ReadInternalFlag(InternalFlags.HasImplicitStyleFromResources); } 1101set { WriteInternalFlag(InternalFlags.HasImplicitStyleFromResources, value); } 1107get { return ReadInternalFlag(InternalFlags.ShouldLookupImplicitStyles); } 1108set { WriteInternalFlag(InternalFlags.ShouldLookupImplicitStyles, value); } 1146get { return ReadInternalFlag(InternalFlags.HasStyleEverBeenFetched); } 1147set { WriteInternalFlag(InternalFlags.HasStyleEverBeenFetched, value); } 1153get { return ReadInternalFlag(InternalFlags.HasLocalStyle); } 1154set { WriteInternalFlag(InternalFlags.HasLocalStyle, value); } 1161get { return ReadInternalFlag(InternalFlags.HasThemeStyleEverBeenFetched); } 1162set { WriteInternalFlag(InternalFlags.HasThemeStyleEverBeenFetched, value); } 1169get { return ReadInternalFlag(InternalFlags.AncestorChangeInProgress); } 1170set { WriteInternalFlag(InternalFlags.AncestorChangeInProgress, value); } 1202get { return ReadInternalFlag(InternalFlags.PotentiallyHasMentees); } 1212WriteInternalFlag(InternalFlags.PotentiallyHasMentees, value);
System\Windows\StyleHelper.cs (9)
1343InternalFlags hasGeneratedSubTreeFlag) 1439InternalFlags hasGeneratedSubTreeFlag) 3181(InternalFlags)0); 3263(InternalFlags)0); 3355InternalFlags.HasTemplateGeneratedSubTree); 5520fe.WriteInternalFlag(InternalFlags.IsInitialized, true); 5522fce.WriteInternalFlag(InternalFlags.IsInitialized, true); 5532fe.WriteInternalFlag(InternalFlags.IsInitialized, false); 5534fce.WriteInternalFlag(InternalFlags.IsInitialized, false);