131 references to InternalFlags
PresentationFramework (131)
src\Framework\System\Windows\Controls\ItemsControl.cs (1)
1557
return ReadInternalFlag(
InternalFlags
.InitPending);
src\Framework\System\Windows\FrameworkContentElement.cs (30)
1493
Debug.Assert((uint)
InternalFlags
.InheritanceBehavior0 == 0x08);
1494
Debug.Assert((uint)
InternalFlags
.InheritanceBehavior1 == 0x10);
1495
Debug.Assert((uint)
InternalFlags
.InheritanceBehavior2 == 0x20);
1498
(uint)
InternalFlags
.InheritanceBehavior0 +
1499
(uint)
InternalFlags
.InheritanceBehavior1 +
1500
(uint)
InternalFlags
.InheritanceBehavior2;
1508
Debug.Assert((uint)
InternalFlags
.InheritanceBehavior0 == 0x08);
1509
Debug.Assert((uint)
InternalFlags
.InheritanceBehavior1 == 0x10);
1510
Debug.Assert((uint)
InternalFlags
.InheritanceBehavior2 == 0x20);
1513
(uint)
InternalFlags
.InheritanceBehavior0 +
1514
(uint)
InternalFlags
.InheritanceBehavior1 +
1515
(uint)
InternalFlags
.InheritanceBehavior2;
1527
_flags = (
InternalFlags
)((inheritanceBehavior & inheritanceBehaviorMask) | (((uint)_flags) & ~inheritanceBehaviorMask));
1559
if (ReadInternalFlag(
InternalFlags
.InitPending))
1565
WriteInternalFlag(
InternalFlags
.InitPending, true);
1574
if (!ReadInternalFlag(
InternalFlags
.InitPending))
1580
WriteInternalFlag(
InternalFlags
.InitPending, false);
1596
get { return ReadInternalFlag(
InternalFlags
.IsInitialized); }
1640
if (!ReadInternalFlag(
InternalFlags
.InitPending) &&
1641
!ReadInternalFlag(
InternalFlags
.IsInitialized))
1643
WriteInternalFlag(
InternalFlags
.IsInitialized, true);
2076
get { return ReadInternalFlag(
InternalFlags
.HasResourceReferences); }
2077
set { WriteInternalFlag(
InternalFlags
.HasResourceReferences, value); }
2082
get { return ReadInternalFlag(
InternalFlags
.IsLogicalChildrenIterationInProgress); }
2083
set { WriteInternalFlag(
InternalFlags
.IsLogicalChildrenIterationInProgress, value); }
2112
get { return ReadInternalFlag(
InternalFlags
.HasLogicalChildren); }
2113
set { WriteInternalFlag(
InternalFlags
.HasLogicalChildren, value); }
2154
internal bool ReadInternalFlag(
InternalFlags
reqFlag)
2166
internal void WriteInternalFlag(
InternalFlags
reqFlag, bool set)
2202
private
InternalFlags
_flags = 0; // field used to store various flags such as HasResourceReferences, etc.
src\Framework\System\Windows\FrameworkElement.cs (43)
2617
Debug.Assert((uint)
InternalFlags
.InheritanceBehavior0 == 0x08);
2618
Debug.Assert((uint)
InternalFlags
.InheritanceBehavior1 == 0x10);
2619
Debug.Assert((uint)
InternalFlags
.InheritanceBehavior2 == 0x20);
2622
(uint)
InternalFlags
.InheritanceBehavior0 +
2623
(uint)
InternalFlags
.InheritanceBehavior1 +
2624
(uint)
InternalFlags
.InheritanceBehavior2;
2632
Debug.Assert((uint)
InternalFlags
.InheritanceBehavior0 == 0x08);
2633
Debug.Assert((uint)
InternalFlags
.InheritanceBehavior1 == 0x10);
2634
Debug.Assert((uint)
InternalFlags
.InheritanceBehavior2 == 0x20);
2637
(uint)
InternalFlags
.InheritanceBehavior0 +
2638
(uint)
InternalFlags
.InheritanceBehavior1 +
2639
(uint)
InternalFlags
.InheritanceBehavior2;
2651
_flags = (
InternalFlags
)((inheritanceBehavior & inheritanceBehaviorMask) | (((uint)_flags) & ~inheritanceBehaviorMask));
5410
if (ReadInternalFlag(
InternalFlags
.InitPending))
5416
WriteInternalFlag(
InternalFlags
.InitPending, true);
5425
if (!ReadInternalFlag(
InternalFlags
.InitPending))
5431
WriteInternalFlag(
InternalFlags
.InitPending, false);
5447
get { return ReadInternalFlag(
InternalFlags
.IsInitialized); }
5496
if (!ReadInternalFlag(
InternalFlags
.InitPending) &&
5497
!ReadInternalFlag(
InternalFlags
.IsInitialized))
5499
WriteInternalFlag(
InternalFlags
.IsInitialized, true);
5543
return (SystemResources.SystemResourcesAreChanging || (fe.ReadInternalFlag(
InternalFlags
.CreatingRoot) && SystemResources.SystemResourcesHaveChanged)) &&
5617
WriteInternalFlag(
InternalFlags
.CreatingRoot, true);
5622
WriteInternalFlag(
InternalFlags
.CreatingRoot, false);
6163
get { return ReadInternalFlag(
InternalFlags
.HasResourceReferences); }
6164
set { WriteInternalFlag(
InternalFlags
.HasResourceReferences, value); }
6169
get { return ReadInternalFlag(
InternalFlags
.IsLogicalChildrenIterationInProgress); }
6170
set { WriteInternalFlag(
InternalFlags
.IsLogicalChildrenIterationInProgress, value); }
6175
get { return ReadInternalFlag(
InternalFlags
.InVisibilityCollapsedTree); }
6176
set { WriteInternalFlag(
InternalFlags
.InVisibilityCollapsedTree, value); }
6205
get { return ReadInternalFlag(
InternalFlags
.HasLogicalChildren); }
6206
set { WriteInternalFlag(
InternalFlags
.HasLogicalChildren, value); }
6211
get { return ReadInternalFlag(
InternalFlags
.NeedsClipBounds); }
6212
set { WriteInternalFlag(
InternalFlags
.NeedsClipBounds, value); }
6217
get { return ReadInternalFlag(
InternalFlags
.HasWidthEverChanged); }
6218
set { WriteInternalFlag(
InternalFlags
.HasWidthEverChanged, value); }
6223
get { return ReadInternalFlag(
InternalFlags
.HasHeightEverChanged); }
6224
set { WriteInternalFlag(
InternalFlags
.HasHeightEverChanged, value); }
6229
get { return ReadInternalFlag(
InternalFlags
.IsRightToLeft); }
6230
set { WriteInternalFlag(
InternalFlags
.IsRightToLeft, value); }
6289
internal bool ReadInternalFlag(
InternalFlags
reqFlag)
6301
internal void WriteInternalFlag(
InternalFlags
reqFlag, bool set)
6405
private
InternalFlags
_flags = 0; // Stores Flags (see Flags enum)
src\Framework\System\Windows\Generated\FrameworkContentElement.cs (24)
1044
get { return ReadInternalFlag(
InternalFlags
.IsStyleUpdateInProgress); }
1045
set { WriteInternalFlag(
InternalFlags
.IsStyleUpdateInProgress, value); }
1051
get { return ReadInternalFlag(
InternalFlags
.IsThemeStyleUpdateInProgress); }
1052
set { WriteInternalFlag(
InternalFlags
.IsThemeStyleUpdateInProgress, value); }
1059
get { return ReadInternalFlag(
InternalFlags
.StoresParentTemplateValues); }
1060
set { WriteInternalFlag(
InternalFlags
.StoresParentTemplateValues, value); }
1066
get { return ReadInternalFlag(
InternalFlags
.HasNumberSubstitutionChanged); }
1067
set { WriteInternalFlag(
InternalFlags
.HasNumberSubstitutionChanged, value); }
1074
get { return ReadInternalFlag(
InternalFlags
.HasTemplateGeneratedSubTree); }
1075
set { WriteInternalFlag(
InternalFlags
.HasTemplateGeneratedSubTree, value); }
1081
get { return ReadInternalFlag(
InternalFlags
.HasImplicitStyleFromResources); }
1082
set { WriteInternalFlag(
InternalFlags
.HasImplicitStyleFromResources, value); }
1088
get { return ReadInternalFlag(
InternalFlags
.ShouldLookupImplicitStyles); }
1089
set { WriteInternalFlag(
InternalFlags
.ShouldLookupImplicitStyles, value); }
1120
get { return ReadInternalFlag(
InternalFlags
.HasStyleEverBeenFetched); }
1121
set { WriteInternalFlag(
InternalFlags
.HasStyleEverBeenFetched, value); }
1127
get { return ReadInternalFlag(
InternalFlags
.HasLocalStyle); }
1128
set { WriteInternalFlag(
InternalFlags
.HasLocalStyle, value); }
1135
get { return ReadInternalFlag(
InternalFlags
.HasThemeStyleEverBeenFetched); }
1136
set { WriteInternalFlag(
InternalFlags
.HasThemeStyleEverBeenFetched, value); }
1143
get { return ReadInternalFlag(
InternalFlags
.AncestorChangeInProgress); }
1144
set { WriteInternalFlag(
InternalFlags
.AncestorChangeInProgress, value); }
1176
get { return ReadInternalFlag(
InternalFlags
.PotentiallyHasMentees); }
1186
WriteInternalFlag(
InternalFlags
.PotentiallyHasMentees, value);
src\Framework\System\Windows\Generated\FrameworkElement.cs (24)
1074
get { return ReadInternalFlag(
InternalFlags
.IsStyleUpdateInProgress); }
1075
set { WriteInternalFlag(
InternalFlags
.IsStyleUpdateInProgress, value); }
1081
get { return ReadInternalFlag(
InternalFlags
.IsThemeStyleUpdateInProgress); }
1082
set { WriteInternalFlag(
InternalFlags
.IsThemeStyleUpdateInProgress, value); }
1089
get { return ReadInternalFlag(
InternalFlags
.StoresParentTemplateValues); }
1090
set { WriteInternalFlag(
InternalFlags
.StoresParentTemplateValues, value); }
1096
get { return ReadInternalFlag(
InternalFlags
.HasNumberSubstitutionChanged); }
1097
set { WriteInternalFlag(
InternalFlags
.HasNumberSubstitutionChanged, value); }
1104
get { return ReadInternalFlag(
InternalFlags
.HasTemplateGeneratedSubTree); }
1105
set { WriteInternalFlag(
InternalFlags
.HasTemplateGeneratedSubTree, value); }
1111
get { return ReadInternalFlag(
InternalFlags
.HasImplicitStyleFromResources); }
1112
set { WriteInternalFlag(
InternalFlags
.HasImplicitStyleFromResources, value); }
1118
get { return ReadInternalFlag(
InternalFlags
.ShouldLookupImplicitStyles); }
1119
set { WriteInternalFlag(
InternalFlags
.ShouldLookupImplicitStyles, value); }
1157
get { return ReadInternalFlag(
InternalFlags
.HasStyleEverBeenFetched); }
1158
set { WriteInternalFlag(
InternalFlags
.HasStyleEverBeenFetched, value); }
1164
get { return ReadInternalFlag(
InternalFlags
.HasLocalStyle); }
1165
set { WriteInternalFlag(
InternalFlags
.HasLocalStyle, value); }
1172
get { return ReadInternalFlag(
InternalFlags
.HasThemeStyleEverBeenFetched); }
1173
set { WriteInternalFlag(
InternalFlags
.HasThemeStyleEverBeenFetched, value); }
1180
get { return ReadInternalFlag(
InternalFlags
.AncestorChangeInProgress); }
1181
set { WriteInternalFlag(
InternalFlags
.AncestorChangeInProgress, value); }
1213
get { return ReadInternalFlag(
InternalFlags
.PotentiallyHasMentees); }
1223
WriteInternalFlag(
InternalFlags
.PotentiallyHasMentees, value);
src\Framework\System\Windows\StyleHelper.cs (9)
1343
InternalFlags
hasGeneratedSubTreeFlag)
1439
InternalFlags
hasGeneratedSubTreeFlag)
3180
(
InternalFlags
)0);
3262
(
InternalFlags
)0);
3354
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);