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