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