131 references to InternalFlags
PresentationFramework (131)
System\Windows\Controls\ItemsControl.cs (1)
1545return ReadInternalFlag(InternalFlags.InitPending);
System\Windows\FrameworkContentElement.cs (30)
1470Debug.Assert((uint)InternalFlags.InheritanceBehavior0 == 0x08); 1471Debug.Assert((uint)InternalFlags.InheritanceBehavior1 == 0x10); 1472Debug.Assert((uint)InternalFlags.InheritanceBehavior2 == 0x20); 1475(uint)InternalFlags.InheritanceBehavior0 + 1476(uint)InternalFlags.InheritanceBehavior1 + 1477(uint)InternalFlags.InheritanceBehavior2; 1485Debug.Assert((uint)InternalFlags.InheritanceBehavior0 == 0x08); 1486Debug.Assert((uint)InternalFlags.InheritanceBehavior1 == 0x10); 1487Debug.Assert((uint)InternalFlags.InheritanceBehavior2 == 0x20); 1490(uint)InternalFlags.InheritanceBehavior0 + 1491(uint)InternalFlags.InheritanceBehavior1 + 1492(uint)InternalFlags.InheritanceBehavior2; 1504_flags = (InternalFlags)((inheritanceBehavior & inheritanceBehaviorMask) | (((uint)_flags) & ~inheritanceBehaviorMask)); 1536if (ReadInternalFlag(InternalFlags.InitPending)) 1542WriteInternalFlag(InternalFlags.InitPending, true); 1551if (!ReadInternalFlag(InternalFlags.InitPending)) 1557WriteInternalFlag(InternalFlags.InitPending, false); 1573get { return ReadInternalFlag(InternalFlags.IsInitialized); } 1617if (!ReadInternalFlag(InternalFlags.InitPending) && 1618!ReadInternalFlag(InternalFlags.IsInitialized)) 1620WriteInternalFlag(InternalFlags.IsInitialized, true); 2053get { return ReadInternalFlag(InternalFlags.HasResourceReferences); } 2054set { WriteInternalFlag(InternalFlags.HasResourceReferences, value); } 2059get { return ReadInternalFlag(InternalFlags.IsLogicalChildrenIterationInProgress); } 2060set { WriteInternalFlag(InternalFlags.IsLogicalChildrenIterationInProgress, value); } 2089get { return ReadInternalFlag(InternalFlags.HasLogicalChildren); } 2090set { WriteInternalFlag(InternalFlags.HasLogicalChildren, value); } 2131internal bool ReadInternalFlag(InternalFlags reqFlag) 2143internal void WriteInternalFlag(InternalFlags reqFlag, bool set) 2179private InternalFlags _flags = 0; // field used to store various flags such as HasResourceReferences, etc.
System\Windows\FrameworkElement.cs (43)
2608Debug.Assert((uint)InternalFlags.InheritanceBehavior0 == 0x08); 2609Debug.Assert((uint)InternalFlags.InheritanceBehavior1 == 0x10); 2610Debug.Assert((uint)InternalFlags.InheritanceBehavior2 == 0x20); 2613(uint)InternalFlags.InheritanceBehavior0 + 2614(uint)InternalFlags.InheritanceBehavior1 + 2615(uint)InternalFlags.InheritanceBehavior2; 2623Debug.Assert((uint)InternalFlags.InheritanceBehavior0 == 0x08); 2624Debug.Assert((uint)InternalFlags.InheritanceBehavior1 == 0x10); 2625Debug.Assert((uint)InternalFlags.InheritanceBehavior2 == 0x20); 2628(uint)InternalFlags.InheritanceBehavior0 + 2629(uint)InternalFlags.InheritanceBehavior1 + 2630(uint)InternalFlags.InheritanceBehavior2; 2642_flags = (InternalFlags)((inheritanceBehavior & inheritanceBehaviorMask) | (((uint)_flags) & ~inheritanceBehaviorMask)); 5401if (ReadInternalFlag(InternalFlags.InitPending)) 5407WriteInternalFlag(InternalFlags.InitPending, true); 5416if (!ReadInternalFlag(InternalFlags.InitPending)) 5422WriteInternalFlag(InternalFlags.InitPending, false); 5438get { return ReadInternalFlag(InternalFlags.IsInitialized); } 5487if (!ReadInternalFlag(InternalFlags.InitPending) && 5488!ReadInternalFlag(InternalFlags.IsInitialized)) 5490WriteInternalFlag(InternalFlags.IsInitialized, true); 5534return (SystemResources.SystemResourcesAreChanging || (fe.ReadInternalFlag(InternalFlags.CreatingRoot) && SystemResources.SystemResourcesHaveChanged)) && 5608WriteInternalFlag(InternalFlags.CreatingRoot, true); 5613WriteInternalFlag(InternalFlags.CreatingRoot, false); 6146get { return ReadInternalFlag(InternalFlags.HasResourceReferences); } 6147set { WriteInternalFlag(InternalFlags.HasResourceReferences, value); } 6152get { return ReadInternalFlag(InternalFlags.IsLogicalChildrenIterationInProgress); } 6153set { WriteInternalFlag(InternalFlags.IsLogicalChildrenIterationInProgress, value); } 6158get { return ReadInternalFlag(InternalFlags.InVisibilityCollapsedTree); } 6159set { WriteInternalFlag(InternalFlags.InVisibilityCollapsedTree, value); } 6188get { return ReadInternalFlag(InternalFlags.HasLogicalChildren); } 6189set { WriteInternalFlag(InternalFlags.HasLogicalChildren, value); } 6194get { return ReadInternalFlag(InternalFlags.NeedsClipBounds); } 6195set { WriteInternalFlag(InternalFlags.NeedsClipBounds, value); } 6200get { return ReadInternalFlag(InternalFlags.HasWidthEverChanged); } 6201set { WriteInternalFlag(InternalFlags.HasWidthEverChanged, value); } 6206get { return ReadInternalFlag(InternalFlags.HasHeightEverChanged); } 6207set { WriteInternalFlag(InternalFlags.HasHeightEverChanged, value); } 6212get { return ReadInternalFlag(InternalFlags.IsRightToLeft); } 6213set { WriteInternalFlag(InternalFlags.IsRightToLeft, value); } 6272internal bool ReadInternalFlag(InternalFlags reqFlag) 6284internal void WriteInternalFlag(InternalFlags reqFlag, bool set) 6388private InternalFlags _flags = 0; // Stores Flags (see Flags enum)
System\Windows\Generated\FrameworkContentElement.cs (24)
1025get { return ReadInternalFlag(InternalFlags.IsStyleUpdateInProgress); } 1026set { WriteInternalFlag(InternalFlags.IsStyleUpdateInProgress, value); } 1032get { return ReadInternalFlag(InternalFlags.IsThemeStyleUpdateInProgress); } 1033set { WriteInternalFlag(InternalFlags.IsThemeStyleUpdateInProgress, value); } 1040get { return ReadInternalFlag(InternalFlags.StoresParentTemplateValues); } 1041set { WriteInternalFlag(InternalFlags.StoresParentTemplateValues, value); } 1047get { return ReadInternalFlag(InternalFlags.HasNumberSubstitutionChanged); } 1048set { WriteInternalFlag(InternalFlags.HasNumberSubstitutionChanged, value); } 1055get { return ReadInternalFlag(InternalFlags.HasTemplateGeneratedSubTree); } 1056set { WriteInternalFlag(InternalFlags.HasTemplateGeneratedSubTree, value); } 1062get { return ReadInternalFlag(InternalFlags.HasImplicitStyleFromResources); } 1063set { WriteInternalFlag(InternalFlags.HasImplicitStyleFromResources, value); } 1069get { return ReadInternalFlag(InternalFlags.ShouldLookupImplicitStyles); } 1070set { WriteInternalFlag(InternalFlags.ShouldLookupImplicitStyles, value); } 1101get { return ReadInternalFlag(InternalFlags.HasStyleEverBeenFetched); } 1102set { WriteInternalFlag(InternalFlags.HasStyleEverBeenFetched, value); } 1108get { return ReadInternalFlag(InternalFlags.HasLocalStyle); } 1109set { WriteInternalFlag(InternalFlags.HasLocalStyle, value); } 1116get { return ReadInternalFlag(InternalFlags.HasThemeStyleEverBeenFetched); } 1117set { WriteInternalFlag(InternalFlags.HasThemeStyleEverBeenFetched, value); } 1124get { return ReadInternalFlag(InternalFlags.AncestorChangeInProgress); } 1125set { WriteInternalFlag(InternalFlags.AncestorChangeInProgress, value); } 1157get { return ReadInternalFlag(InternalFlags.PotentiallyHasMentees); } 1167WriteInternalFlag(InternalFlags.PotentiallyHasMentees, value);
System\Windows\Generated\FrameworkElement.cs (24)
1057get { return ReadInternalFlag(InternalFlags.IsStyleUpdateInProgress); } 1058set { WriteInternalFlag(InternalFlags.IsStyleUpdateInProgress, value); } 1064get { return ReadInternalFlag(InternalFlags.IsThemeStyleUpdateInProgress); } 1065set { WriteInternalFlag(InternalFlags.IsThemeStyleUpdateInProgress, value); } 1072get { return ReadInternalFlag(InternalFlags.StoresParentTemplateValues); } 1073set { WriteInternalFlag(InternalFlags.StoresParentTemplateValues, value); } 1079get { return ReadInternalFlag(InternalFlags.HasNumberSubstitutionChanged); } 1080set { WriteInternalFlag(InternalFlags.HasNumberSubstitutionChanged, value); } 1087get { return ReadInternalFlag(InternalFlags.HasTemplateGeneratedSubTree); } 1088set { WriteInternalFlag(InternalFlags.HasTemplateGeneratedSubTree, value); } 1094get { return ReadInternalFlag(InternalFlags.HasImplicitStyleFromResources); } 1095set { WriteInternalFlag(InternalFlags.HasImplicitStyleFromResources, value); } 1101get { return ReadInternalFlag(InternalFlags.ShouldLookupImplicitStyles); } 1102set { WriteInternalFlag(InternalFlags.ShouldLookupImplicitStyles, value); } 1140get { return ReadInternalFlag(InternalFlags.HasStyleEverBeenFetched); } 1141set { WriteInternalFlag(InternalFlags.HasStyleEverBeenFetched, value); } 1147get { return ReadInternalFlag(InternalFlags.HasLocalStyle); } 1148set { WriteInternalFlag(InternalFlags.HasLocalStyle, value); } 1155get { return ReadInternalFlag(InternalFlags.HasThemeStyleEverBeenFetched); } 1156set { WriteInternalFlag(InternalFlags.HasThemeStyleEverBeenFetched, value); } 1163get { return ReadInternalFlag(InternalFlags.AncestorChangeInProgress); } 1164set { WriteInternalFlag(InternalFlags.AncestorChangeInProgress, value); } 1196get { return ReadInternalFlag(InternalFlags.PotentiallyHasMentees); } 1206WriteInternalFlag(InternalFlags.PotentiallyHasMentees, value);
System\Windows\StyleHelper.cs (9)
1337InternalFlags hasGeneratedSubTreeFlag) 1433InternalFlags hasGeneratedSubTreeFlag) 3175(InternalFlags)0); 3257(InternalFlags)0); 3349InternalFlags.HasTemplateGeneratedSubTree); 5514fe.WriteInternalFlag(InternalFlags.IsInitialized, true); 5516fce.WriteInternalFlag(InternalFlags.IsInitialized, true); 5526fe.WriteInternalFlag(InternalFlags.IsInitialized, false); 5528fce.WriteInternalFlag(InternalFlags.IsInitialized, false);