123 references to CoreFlags
PresentationCore (123)
System\Windows\ContentElement.cs (9)
328
return ReadFlag(
CoreFlags
.IsMouseOverCache);
339
return ReadFlag(
CoreFlags
.IsStylusOverCache);
352
return ReadFlag(
CoreFlags
.IsKeyboardFocusWithinCache);
388
return ReadFlag(
CoreFlags
.IsMouseCaptureWithinCache);
451
return ReadFlag(
CoreFlags
.IsStylusCaptureWithinCache);
832
get { return ReadFlag(
CoreFlags
.TouchesOverCache); }
848
get { return ReadFlag(
CoreFlags
.TouchesCapturedWithinCache); }
949
get { return ReadFlag(
CoreFlags
.HasAutomationPeer); }
950
set { WriteFlag(
CoreFlags
.HasAutomationPeer, value); }
System\Windows\FocusWithinProperty.cs (2)
19
CoreFlags
.IsKeyboardFocusWithinCache,
20
CoreFlags
.IsKeyboardFocusWithinChanged)
System\Windows\Generated\ContentElement.cs (7)
607
WriteFlag(
CoreFlags
.ExistsEventHandlersStore, false);
637
WriteFlag(
CoreFlags
.ExistsEventHandlersStore, false);
706
if(!ReadFlag(
CoreFlags
.ExistsEventHandlersStore))
723
WriteFlag(
CoreFlags
.ExistsEventHandlersStore, true);
2547
internal bool ReadFlag(
CoreFlags
field)
2552
internal void WriteFlag(
CoreFlags
field,bool value)
2564
private
CoreFlags
_flags;
System\Windows\Generated\UIElement.cs (7)
607
WriteFlag(
CoreFlags
.ExistsEventHandlersStore, false);
637
WriteFlag(
CoreFlags
.ExistsEventHandlersStore, false);
706
if(!ReadFlag(
CoreFlags
.ExistsEventHandlersStore))
723
WriteFlag(
CoreFlags
.ExistsEventHandlersStore, true);
4721
internal bool ReadFlag(
CoreFlags
field)
4726
internal void WriteFlag(
CoreFlags
field,bool value)
4738
private
CoreFlags
_flags;
System\Windows\Generated\UIElement3D.cs (7)
404
WriteFlag(
CoreFlags
.ExistsEventHandlersStore, false);
434
WriteFlag(
CoreFlags
.ExistsEventHandlersStore, false);
503
if(!ReadFlag(
CoreFlags
.ExistsEventHandlersStore))
520
WriteFlag(
CoreFlags
.ExistsEventHandlersStore, true);
2268
internal bool ReadFlag(
CoreFlags
field)
2273
internal void WriteFlag(
CoreFlags
field,bool value)
2285
private
CoreFlags
_flags;
System\Windows\Input\TouchesCapturedWithinProperty.cs (2)
16
CoreFlags
.TouchesCapturedWithinCache,
17
CoreFlags
.TouchesCapturedWithinChanged)
System\Windows\Input\TouchesOverProperty.cs (4)
16
CoreFlags
.TouchesOverCache,
17
CoreFlags
.TouchesOverChanged,
18
CoreFlags
.TouchLeaveCache,
19
CoreFlags
.TouchEnterCache)
System\Windows\MouseCaptureWithinProperty.cs (2)
19
CoreFlags
.IsMouseCaptureWithinCache,
20
CoreFlags
.IsMouseCaptureWithinChanged)
System\Windows\MouseOverProperty.cs (2)
19
CoreFlags
.IsMouseOverCache,
20
CoreFlags
.IsMouseOverChanged)
System\Windows\ReverseInheritProperty.cs (18)
18
CoreFlags
flagCache,
19
CoreFlags
flagChanged)
20
: this(flagKey, flagCache, flagChanged,
CoreFlags
.None,
CoreFlags
.None)
26
CoreFlags
flagCache,
27
CoreFlags
flagChanged,
28
CoreFlags
flagOldOriginCache,
29
CoreFlags
flagNewOriginCache)
57
(FlagOldOriginCache !=
CoreFlags
.None) &&
58
(FlagNewOriginCache !=
CoreFlags
.None));
174
bool isFlagOldOriginCacheSet = ((FlagOldOriginCache ==
CoreFlags
.None) ? false : IsFlagSet(uie, ce, uie3D, FlagOldOriginCache));
175
bool isFlagNewOriginCacheSet = ((FlagNewOriginCache ==
CoreFlags
.None) ? false : IsFlagSet(uie, ce, uie3D, FlagNewOriginCache));
259
private static void SetFlag(UIElement uie, ContentElement ce, UIElement3D uie3D,
CoreFlags
flag, bool value)
277
private static bool IsFlagSet(UIElement uie, ContentElement ce, UIElement3D uie3D,
CoreFlags
flag)
307
protected
CoreFlags
FlagCache;
308
protected
CoreFlags
FlagChanged;
309
protected
CoreFlags
FlagOldOriginCache; // Flag to keep track of elements in the path of old origin
310
protected
CoreFlags
FlagNewOriginCache; // Flag to keep track of elements in the path of new origin
System\Windows\StylusCaptureWithinProperty.cs (2)
19
CoreFlags
.IsStylusCaptureWithinCache,
20
CoreFlags
.IsStylusCaptureWithinChanged)
System\Windows\StylusOverProperty.cs (2)
19
CoreFlags
.IsStylusOverCache,
20
CoreFlags
.IsStylusOverChanged)
System\Windows\UIElement.cs (44)
211
if(ReadFlag(
CoreFlags
.IsCollapsed))
2436
return ReadFlag(
CoreFlags
.IsMouseOverCache);
2447
return ReadFlag(
CoreFlags
.IsStylusOverCache);
2460
return ReadFlag(
CoreFlags
.IsKeyboardFocusWithinCache);
2501
return ReadFlag(
CoreFlags
.IsMouseCaptureWithinCache);
2564
return ReadFlag(
CoreFlags
.IsStylusCaptureWithinCache);
3010
if(ReadFlag(
CoreFlags
.IsOpacitySuppressed))
3015
if(ReadFlag(
CoreFlags
.IsCollapsed))
3017
WriteFlag(
CoreFlags
.IsCollapsed, false);
3029
WriteFlag(
CoreFlags
.IsOpacitySuppressed, false);
3035
if(!ReadFlag(
CoreFlags
.IsOpacitySuppressed))
3038
WriteFlag(
CoreFlags
.IsOpacitySuppressed, true);
3041
if(!ReadFlag(
CoreFlags
.IsCollapsed) && collapsed) //Hidden or Visible->Collapsed
3043
WriteFlag(
CoreFlags
.IsCollapsed, true);
3048
else if(ReadFlag(
CoreFlags
.IsCollapsed) && !collapsed) //Collapsed -> Hidden
3050
WriteFlag(
CoreFlags
.IsCollapsed, false);
3822
get { return ReadFlag(
CoreFlags
.IsVisibleCache); }
3900
WriteFlag(
CoreFlags
.IsVisibleCache, isVisible);
4538
get { return ReadFlag(
CoreFlags
.TouchesOverCache); }
4554
get { return ReadFlag(
CoreFlags
.TouchesCapturedWithinCache); }
4722
get { return ReadFlag(
CoreFlags
.HasAutomationPeer); }
4723
set { WriteFlag(
CoreFlags
.HasAutomationPeer, value); }
4727
get { return ReadFlag(
CoreFlags
.RenderingInvalidated); }
4728
set { WriteFlag(
CoreFlags
.RenderingInvalidated, value); }
4733
get { return ReadFlag(
CoreFlags
.SnapsToDevicePixelsCache); }
4734
set { WriteFlag(
CoreFlags
.SnapsToDevicePixelsCache, value); }
4739
get { return ReadFlag(
CoreFlags
.ClipToBoundsCache); }
4740
set { WriteFlag(
CoreFlags
.ClipToBoundsCache, value); }
4745
get { return ReadFlag(
CoreFlags
.MeasureDirty); }
4746
set { WriteFlag(
CoreFlags
.MeasureDirty, value); }
4751
get { return ReadFlag(
CoreFlags
.ArrangeDirty); }
4752
set { WriteFlag(
CoreFlags
.ArrangeDirty, value); }
4757
get { return ReadFlag(
CoreFlags
.MeasureInProgress); }
4758
set { WriteFlag(
CoreFlags
.MeasureInProgress, value); }
4763
get { return ReadFlag(
CoreFlags
.ArrangeInProgress); }
4764
set { WriteFlag(
CoreFlags
.ArrangeInProgress, value); }
4769
get { return ReadFlag(
CoreFlags
.NeverMeasured); }
4770
set { WriteFlag(
CoreFlags
.NeverMeasured, value); }
4775
get { return ReadFlag(
CoreFlags
.NeverArranged); }
4776
set { WriteFlag(
CoreFlags
.NeverArranged, value); }
4781
get { return ReadFlag(
CoreFlags
.MeasureDuringArrange); }
4782
set { WriteFlag(
CoreFlags
.MeasureDuringArrange, value); }
4787
get { return ReadFlag(
CoreFlags
.AreTransformsClean); }
4788
set { WriteFlag(
CoreFlags
.AreTransformsClean, value); }
System\Windows\UIElement3D.cs (15)
417
return ReadFlag(
CoreFlags
.IsMouseOverCache);
428
return ReadFlag(
CoreFlags
.IsStylusOverCache);
441
return ReadFlag(
CoreFlags
.IsKeyboardFocusWithinCache);
482
return ReadFlag(
CoreFlags
.IsMouseCaptureWithinCache);
545
return ReadFlag(
CoreFlags
.IsStylusCaptureWithinCache);
717
if (!ReadFlag(
CoreFlags
.IsCollapsed) && collapsed) //Hidden or Visible->Collapsed
719
WriteFlag(
CoreFlags
.IsCollapsed, true);
721
else if (ReadFlag(
CoreFlags
.IsCollapsed) && !collapsed) //Collapsed -> Hidden
723
WriteFlag(
CoreFlags
.IsCollapsed, false);
1042
get { return ReadFlag(
CoreFlags
.IsVisibleCache); }
1121
WriteFlag(
CoreFlags
.IsVisibleCache, isVisible);
1438
get { return ReadFlag(
CoreFlags
.TouchesOverCache); }
1454
get { return ReadFlag(
CoreFlags
.TouchesCapturedWithinCache); }
1577
get { return ReadFlag(
CoreFlags
.HasAutomationPeer); }
1578
set { WriteFlag(
CoreFlags
.HasAutomationPeer, value); }