123 references to CoreFlags
PresentationCore (123)
Core\CSharp\System\Windows\ContentElement.cs (9)
334
return ReadFlag(
CoreFlags
.IsMouseOverCache);
345
return ReadFlag(
CoreFlags
.IsStylusOverCache);
358
return ReadFlag(
CoreFlags
.IsKeyboardFocusWithinCache);
394
return ReadFlag(
CoreFlags
.IsMouseCaptureWithinCache);
457
return ReadFlag(
CoreFlags
.IsStylusCaptureWithinCache);
838
get { return ReadFlag(
CoreFlags
.TouchesOverCache); }
854
get { return ReadFlag(
CoreFlags
.TouchesCapturedWithinCache); }
961
get { return ReadFlag(
CoreFlags
.HasAutomationPeer); }
962
set { WriteFlag(
CoreFlags
.HasAutomationPeer, value); }
Core\CSharp\System\Windows\FocusWithinProperty.cs (2)
15
CoreFlags
.IsKeyboardFocusWithinCache,
16
CoreFlags
.IsKeyboardFocusWithinChanged)
Core\CSharp\System\Windows\Generated\ContentElement.cs (7)
658
WriteFlag(
CoreFlags
.ExistsEventHandlersStore, false);
689
WriteFlag(
CoreFlags
.ExistsEventHandlersStore, false);
765
if(!ReadFlag(
CoreFlags
.ExistsEventHandlersStore))
783
WriteFlag(
CoreFlags
.ExistsEventHandlersStore, true);
2607
internal bool ReadFlag(
CoreFlags
field)
2612
internal void WriteFlag(
CoreFlags
field,bool value)
2624
private
CoreFlags
_flags;
Core\CSharp\System\Windows\Generated\UIElement.cs (7)
658
WriteFlag(
CoreFlags
.ExistsEventHandlersStore, false);
689
WriteFlag(
CoreFlags
.ExistsEventHandlersStore, false);
765
if(!ReadFlag(
CoreFlags
.ExistsEventHandlersStore))
783
WriteFlag(
CoreFlags
.ExistsEventHandlersStore, true);
5106
internal bool ReadFlag(
CoreFlags
field)
5111
internal void WriteFlag(
CoreFlags
field,bool value)
5123
private
CoreFlags
_flags;
Core\CSharp\System\Windows\Generated\UIElement3D.cs (7)
440
WriteFlag(
CoreFlags
.ExistsEventHandlersStore, false);
471
WriteFlag(
CoreFlags
.ExistsEventHandlersStore, false);
547
if(!ReadFlag(
CoreFlags
.ExistsEventHandlersStore))
565
WriteFlag(
CoreFlags
.ExistsEventHandlersStore, true);
2313
internal bool ReadFlag(
CoreFlags
field)
2318
internal void WriteFlag(
CoreFlags
field,bool value)
2330
private
CoreFlags
_flags;
Core\CSharp\System\Windows\Input\TouchesCapturedWithinProperty.cs (2)
12
CoreFlags
.TouchesCapturedWithinCache,
13
CoreFlags
.TouchesCapturedWithinChanged)
Core\CSharp\System\Windows\Input\TouchesOverProperty.cs (4)
12
CoreFlags
.TouchesOverCache,
13
CoreFlags
.TouchesOverChanged,
14
CoreFlags
.TouchLeaveCache,
15
CoreFlags
.TouchEnterCache)
Core\CSharp\System\Windows\MouseCaptureWithinProperty.cs (2)
15
CoreFlags
.IsMouseCaptureWithinCache,
16
CoreFlags
.IsMouseCaptureWithinChanged)
Core\CSharp\System\Windows\MouseOverProperty.cs (2)
15
CoreFlags
.IsMouseOverCache,
16
CoreFlags
.IsMouseOverChanged)
Core\CSharp\System\Windows\ReverseInheritProperty.cs (18)
14
CoreFlags
flagCache,
15
CoreFlags
flagChanged)
16
: this(flagKey, flagCache, flagChanged,
CoreFlags
.None,
CoreFlags
.None)
22
CoreFlags
flagCache,
23
CoreFlags
flagChanged,
24
CoreFlags
flagOldOriginCache,
25
CoreFlags
flagNewOriginCache)
53
(FlagOldOriginCache !=
CoreFlags
.None) &&
54
(FlagNewOriginCache !=
CoreFlags
.None));
170
bool isFlagOldOriginCacheSet = ((FlagOldOriginCache ==
CoreFlags
.None) ? false : IsFlagSet(uie, ce, uie3D, FlagOldOriginCache));
171
bool isFlagNewOriginCacheSet = ((FlagNewOriginCache ==
CoreFlags
.None) ? false : IsFlagSet(uie, ce, uie3D, FlagNewOriginCache));
255
private static void SetFlag(UIElement uie, ContentElement ce, UIElement3D uie3D,
CoreFlags
flag, bool value)
273
private static bool IsFlagSet(UIElement uie, ContentElement ce, UIElement3D uie3D,
CoreFlags
flag)
303
protected
CoreFlags
FlagCache;
304
protected
CoreFlags
FlagChanged;
305
protected
CoreFlags
FlagOldOriginCache; // Flag to keep track of elements in the path of old origin
306
protected
CoreFlags
FlagNewOriginCache; // Flag to keep track of elements in the path of new origin
Core\CSharp\System\Windows\StylusCaptureWithinProperty.cs (2)
15
CoreFlags
.IsStylusCaptureWithinCache,
16
CoreFlags
.IsStylusCaptureWithinChanged)
Core\CSharp\System\Windows\StylusOverProperty.cs (2)
15
CoreFlags
.IsStylusOverCache,
16
CoreFlags
.IsStylusOverChanged)
Core\CSharp\System\Windows\UIElement.cs (44)
218
if(ReadFlag(
CoreFlags
.IsCollapsed))
2465
return ReadFlag(
CoreFlags
.IsMouseOverCache);
2476
return ReadFlag(
CoreFlags
.IsStylusOverCache);
2489
return ReadFlag(
CoreFlags
.IsKeyboardFocusWithinCache);
2530
return ReadFlag(
CoreFlags
.IsMouseCaptureWithinCache);
2593
return ReadFlag(
CoreFlags
.IsStylusCaptureWithinCache);
3039
if(ReadFlag(
CoreFlags
.IsOpacitySuppressed))
3044
if(ReadFlag(
CoreFlags
.IsCollapsed))
3046
WriteFlag(
CoreFlags
.IsCollapsed, false);
3058
WriteFlag(
CoreFlags
.IsOpacitySuppressed, false);
3064
if(!ReadFlag(
CoreFlags
.IsOpacitySuppressed))
3067
WriteFlag(
CoreFlags
.IsOpacitySuppressed, true);
3070
if(!ReadFlag(
CoreFlags
.IsCollapsed) && collapsed) //Hidden or Visible->Collapsed
3072
WriteFlag(
CoreFlags
.IsCollapsed, true);
3077
else if(ReadFlag(
CoreFlags
.IsCollapsed) && !collapsed) //Collapsed -> Hidden
3079
WriteFlag(
CoreFlags
.IsCollapsed, false);
3857
get { return ReadFlag(
CoreFlags
.IsVisibleCache); }
3941
WriteFlag(
CoreFlags
.IsVisibleCache, isVisible);
4581
get { return ReadFlag(
CoreFlags
.TouchesOverCache); }
4597
get { return ReadFlag(
CoreFlags
.TouchesCapturedWithinCache); }
4771
get { return ReadFlag(
CoreFlags
.HasAutomationPeer); }
4772
set { WriteFlag(
CoreFlags
.HasAutomationPeer, value); }
4776
get { return ReadFlag(
CoreFlags
.RenderingInvalidated); }
4777
set { WriteFlag(
CoreFlags
.RenderingInvalidated, value); }
4782
get { return ReadFlag(
CoreFlags
.SnapsToDevicePixelsCache); }
4783
set { WriteFlag(
CoreFlags
.SnapsToDevicePixelsCache, value); }
4788
get { return ReadFlag(
CoreFlags
.ClipToBoundsCache); }
4789
set { WriteFlag(
CoreFlags
.ClipToBoundsCache, value); }
4794
get { return ReadFlag(
CoreFlags
.MeasureDirty); }
4795
set { WriteFlag(
CoreFlags
.MeasureDirty, value); }
4800
get { return ReadFlag(
CoreFlags
.ArrangeDirty); }
4801
set { WriteFlag(
CoreFlags
.ArrangeDirty, value); }
4806
get { return ReadFlag(
CoreFlags
.MeasureInProgress); }
4807
set { WriteFlag(
CoreFlags
.MeasureInProgress, value); }
4812
get { return ReadFlag(
CoreFlags
.ArrangeInProgress); }
4813
set { WriteFlag(
CoreFlags
.ArrangeInProgress, value); }
4818
get { return ReadFlag(
CoreFlags
.NeverMeasured); }
4819
set { WriteFlag(
CoreFlags
.NeverMeasured, value); }
4824
get { return ReadFlag(
CoreFlags
.NeverArranged); }
4825
set { WriteFlag(
CoreFlags
.NeverArranged, value); }
4830
get { return ReadFlag(
CoreFlags
.MeasureDuringArrange); }
4831
set { WriteFlag(
CoreFlags
.MeasureDuringArrange, value); }
4836
get { return ReadFlag(
CoreFlags
.AreTransformsClean); }
4837
set { WriteFlag(
CoreFlags
.AreTransformsClean, value); }
Core\CSharp\System\Windows\UIElement3D.cs (15)
425
return ReadFlag(
CoreFlags
.IsMouseOverCache);
436
return ReadFlag(
CoreFlags
.IsStylusOverCache);
449
return ReadFlag(
CoreFlags
.IsKeyboardFocusWithinCache);
490
return ReadFlag(
CoreFlags
.IsMouseCaptureWithinCache);
553
return ReadFlag(
CoreFlags
.IsStylusCaptureWithinCache);
725
if (!ReadFlag(
CoreFlags
.IsCollapsed) && collapsed) //Hidden or Visible->Collapsed
727
WriteFlag(
CoreFlags
.IsCollapsed, true);
729
else if (ReadFlag(
CoreFlags
.IsCollapsed) && !collapsed) //Collapsed -> Hidden
731
WriteFlag(
CoreFlags
.IsCollapsed, false);
1050
get { return ReadFlag(
CoreFlags
.IsVisibleCache); }
1135
WriteFlag(
CoreFlags
.IsVisibleCache, isVisible);
1452
get { return ReadFlag(
CoreFlags
.TouchesOverCache); }
1468
get { return ReadFlag(
CoreFlags
.TouchesCapturedWithinCache); }
1597
get { return ReadFlag(
CoreFlags
.HasAutomationPeer); }
1598
set { WriteFlag(
CoreFlags
.HasAutomationPeer, value); }