123 references to CoreFlags
PresentationCore (123)
System\Windows\ContentElement.cs (9)
317
return ReadFlag(
CoreFlags
.IsMouseOverCache);
328
return ReadFlag(
CoreFlags
.IsStylusOverCache);
341
return ReadFlag(
CoreFlags
.IsKeyboardFocusWithinCache);
377
return ReadFlag(
CoreFlags
.IsMouseCaptureWithinCache);
440
return ReadFlag(
CoreFlags
.IsStylusCaptureWithinCache);
821
get { return ReadFlag(
CoreFlags
.TouchesOverCache); }
837
get { return ReadFlag(
CoreFlags
.TouchesCapturedWithinCache); }
938
get { return ReadFlag(
CoreFlags
.HasAutomationPeer); }
939
set { WriteFlag(
CoreFlags
.HasAutomationPeer, value); }
System\Windows\FocusWithinProperty.cs (2)
17
CoreFlags
.IsKeyboardFocusWithinCache,
18
CoreFlags
.IsKeyboardFocusWithinChanged)
System\Windows\Generated\ContentElement.cs (7)
603
WriteFlag(
CoreFlags
.ExistsEventHandlersStore, false);
633
WriteFlag(
CoreFlags
.ExistsEventHandlersStore, false);
702
if(!ReadFlag(
CoreFlags
.ExistsEventHandlersStore))
719
WriteFlag(
CoreFlags
.ExistsEventHandlersStore, true);
2543
internal bool ReadFlag(
CoreFlags
field)
2548
internal void WriteFlag(
CoreFlags
field,bool value)
2560
private
CoreFlags
_flags;
System\Windows\Generated\UIElement.cs (7)
603
WriteFlag(
CoreFlags
.ExistsEventHandlersStore, false);
633
WriteFlag(
CoreFlags
.ExistsEventHandlersStore, false);
702
if(!ReadFlag(
CoreFlags
.ExistsEventHandlersStore))
719
WriteFlag(
CoreFlags
.ExistsEventHandlersStore, true);
4717
internal bool ReadFlag(
CoreFlags
field)
4722
internal void WriteFlag(
CoreFlags
field,bool value)
4734
private
CoreFlags
_flags;
System\Windows\Generated\UIElement3D.cs (7)
398
WriteFlag(
CoreFlags
.ExistsEventHandlersStore, false);
428
WriteFlag(
CoreFlags
.ExistsEventHandlersStore, false);
497
if(!ReadFlag(
CoreFlags
.ExistsEventHandlersStore))
514
WriteFlag(
CoreFlags
.ExistsEventHandlersStore, true);
2262
internal bool ReadFlag(
CoreFlags
field)
2267
internal void WriteFlag(
CoreFlags
field,bool value)
2279
private
CoreFlags
_flags;
System\Windows\Input\TouchesCapturedWithinProperty.cs (2)
11
CoreFlags
.TouchesCapturedWithinCache,
12
CoreFlags
.TouchesCapturedWithinChanged)
System\Windows\Input\TouchesOverProperty.cs (4)
11
CoreFlags
.TouchesOverCache,
12
CoreFlags
.TouchesOverChanged,
13
CoreFlags
.TouchLeaveCache,
14
CoreFlags
.TouchEnterCache)
System\Windows\MouseCaptureWithinProperty.cs (2)
17
CoreFlags
.IsMouseCaptureWithinCache,
18
CoreFlags
.IsMouseCaptureWithinChanged)
System\Windows\MouseOverProperty.cs (2)
17
CoreFlags
.IsMouseOverCache,
18
CoreFlags
.IsMouseOverChanged)
System\Windows\ReverseInheritProperty.cs (18)
13
CoreFlags
flagCache,
14
CoreFlags
flagChanged)
15
: this(flagKey, flagCache, flagChanged,
CoreFlags
.None,
CoreFlags
.None)
21
CoreFlags
flagCache,
22
CoreFlags
flagChanged,
23
CoreFlags
flagOldOriginCache,
24
CoreFlags
flagNewOriginCache)
52
(FlagOldOriginCache !=
CoreFlags
.None) &&
53
(FlagNewOriginCache !=
CoreFlags
.None));
169
bool isFlagOldOriginCacheSet = ((FlagOldOriginCache ==
CoreFlags
.None) ? false : IsFlagSet(uie, ce, uie3D, FlagOldOriginCache));
170
bool isFlagNewOriginCacheSet = ((FlagNewOriginCache ==
CoreFlags
.None) ? false : IsFlagSet(uie, ce, uie3D, FlagNewOriginCache));
254
private static void SetFlag(UIElement uie, ContentElement ce, UIElement3D uie3D,
CoreFlags
flag, bool value)
272
private static bool IsFlagSet(UIElement uie, ContentElement ce, UIElement3D uie3D,
CoreFlags
flag)
302
protected
CoreFlags
FlagCache;
303
protected
CoreFlags
FlagChanged;
304
protected
CoreFlags
FlagOldOriginCache; // Flag to keep track of elements in the path of old origin
305
protected
CoreFlags
FlagNewOriginCache; // Flag to keep track of elements in the path of new origin
System\Windows\StylusCaptureWithinProperty.cs (2)
17
CoreFlags
.IsStylusCaptureWithinCache,
18
CoreFlags
.IsStylusCaptureWithinChanged)
System\Windows\StylusOverProperty.cs (2)
17
CoreFlags
.IsStylusOverCache,
18
CoreFlags
.IsStylusOverChanged)
System\Windows\UIElement.cs (44)
206
if(ReadFlag(
CoreFlags
.IsCollapsed))
2431
return ReadFlag(
CoreFlags
.IsMouseOverCache);
2442
return ReadFlag(
CoreFlags
.IsStylusOverCache);
2455
return ReadFlag(
CoreFlags
.IsKeyboardFocusWithinCache);
2496
return ReadFlag(
CoreFlags
.IsMouseCaptureWithinCache);
2559
return ReadFlag(
CoreFlags
.IsStylusCaptureWithinCache);
3005
if(ReadFlag(
CoreFlags
.IsOpacitySuppressed))
3010
if(ReadFlag(
CoreFlags
.IsCollapsed))
3012
WriteFlag(
CoreFlags
.IsCollapsed, false);
3024
WriteFlag(
CoreFlags
.IsOpacitySuppressed, false);
3030
if(!ReadFlag(
CoreFlags
.IsOpacitySuppressed))
3033
WriteFlag(
CoreFlags
.IsOpacitySuppressed, true);
3036
if(!ReadFlag(
CoreFlags
.IsCollapsed) && collapsed) //Hidden or Visible->Collapsed
3038
WriteFlag(
CoreFlags
.IsCollapsed, true);
3043
else if(ReadFlag(
CoreFlags
.IsCollapsed) && !collapsed) //Collapsed -> Hidden
3045
WriteFlag(
CoreFlags
.IsCollapsed, false);
3817
get { return ReadFlag(
CoreFlags
.IsVisibleCache); }
3895
WriteFlag(
CoreFlags
.IsVisibleCache, isVisible);
4533
get { return ReadFlag(
CoreFlags
.TouchesOverCache); }
4549
get { return ReadFlag(
CoreFlags
.TouchesCapturedWithinCache); }
4717
get { return ReadFlag(
CoreFlags
.HasAutomationPeer); }
4718
set { WriteFlag(
CoreFlags
.HasAutomationPeer, value); }
4722
get { return ReadFlag(
CoreFlags
.RenderingInvalidated); }
4723
set { WriteFlag(
CoreFlags
.RenderingInvalidated, value); }
4728
get { return ReadFlag(
CoreFlags
.SnapsToDevicePixelsCache); }
4729
set { WriteFlag(
CoreFlags
.SnapsToDevicePixelsCache, value); }
4734
get { return ReadFlag(
CoreFlags
.ClipToBoundsCache); }
4735
set { WriteFlag(
CoreFlags
.ClipToBoundsCache, value); }
4740
get { return ReadFlag(
CoreFlags
.MeasureDirty); }
4741
set { WriteFlag(
CoreFlags
.MeasureDirty, value); }
4746
get { return ReadFlag(
CoreFlags
.ArrangeDirty); }
4747
set { WriteFlag(
CoreFlags
.ArrangeDirty, value); }
4752
get { return ReadFlag(
CoreFlags
.MeasureInProgress); }
4753
set { WriteFlag(
CoreFlags
.MeasureInProgress, value); }
4758
get { return ReadFlag(
CoreFlags
.ArrangeInProgress); }
4759
set { WriteFlag(
CoreFlags
.ArrangeInProgress, value); }
4764
get { return ReadFlag(
CoreFlags
.NeverMeasured); }
4765
set { WriteFlag(
CoreFlags
.NeverMeasured, value); }
4770
get { return ReadFlag(
CoreFlags
.NeverArranged); }
4771
set { WriteFlag(
CoreFlags
.NeverArranged, value); }
4776
get { return ReadFlag(
CoreFlags
.MeasureDuringArrange); }
4777
set { WriteFlag(
CoreFlags
.MeasureDuringArrange, value); }
4782
get { return ReadFlag(
CoreFlags
.AreTransformsClean); }
4783
set { WriteFlag(
CoreFlags
.AreTransformsClean, value); }
System\Windows\UIElement3D.cs (15)
402
return ReadFlag(
CoreFlags
.IsMouseOverCache);
413
return ReadFlag(
CoreFlags
.IsStylusOverCache);
426
return ReadFlag(
CoreFlags
.IsKeyboardFocusWithinCache);
467
return ReadFlag(
CoreFlags
.IsMouseCaptureWithinCache);
530
return ReadFlag(
CoreFlags
.IsStylusCaptureWithinCache);
702
if (!ReadFlag(
CoreFlags
.IsCollapsed) && collapsed) //Hidden or Visible->Collapsed
704
WriteFlag(
CoreFlags
.IsCollapsed, true);
706
else if (ReadFlag(
CoreFlags
.IsCollapsed) && !collapsed) //Collapsed -> Hidden
708
WriteFlag(
CoreFlags
.IsCollapsed, false);
1027
get { return ReadFlag(
CoreFlags
.IsVisibleCache); }
1106
WriteFlag(
CoreFlags
.IsVisibleCache, isVisible);
1423
get { return ReadFlag(
CoreFlags
.TouchesOverCache); }
1439
get { return ReadFlag(
CoreFlags
.TouchesCapturedWithinCache); }
1562
get { return ReadFlag(
CoreFlags
.HasAutomationPeer); }
1563
set { WriteFlag(
CoreFlags
.HasAutomationPeer, value); }