49 references to CheckFlagsAnd
PresentationCore (49)
Core\CSharp\System\Windows\Interop\HwndTarget.cs (1)
1535
if (root.
CheckFlagsAnd
(VisualFlags.IsUIElement))
Core\CSharp\System\Windows\LayoutManager.cs (2)
100
if(v.
CheckFlagsAnd
(VisualFlags.IsUIElement))
897
if(e.
CheckFlagsAnd
(VisualFlags.IsLayoutSuspended)) return;
Core\CSharp\System\Windows\Media\BitmapCacheBrush.cs (1)
121
if (vVisual != null && vVisual.
CheckFlagsAnd
(VisualFlags.NodeIsCyclicBrushRoot))
Core\CSharp\System\Windows\Media\Visual.cs (29)
259
if (
CheckFlagsAnd
(VisualFlags.IsViewport3DVisual))
327
get { return
CheckFlagsAnd
(VisualFlags.IsVisualChildrenIterationInProgress); }
346
return
CheckFlagsAnd
(VisualFlags.ShouldPostRender);
565
if (
CheckFlagsAnd
(VisualFlags.NodeHasEffect))
1047
if (
CheckFlagsAnd
(VisualFlags.IsSubtreeDirtyForPrecompute))
1099
if (
CheckFlagsAnd
(VisualFlags.IsSubtreeDirtyForPrecompute))
1303
if (
CheckFlagsAnd
(VisualFlags.ReentrancyFlag))
1319
Debug.Assert(
CheckFlagsAnd
(VisualFlags.ReentrancyFlag)); // Exit must be matched with Enter. See Enter comments.
2068
if (
CheckFlagsAnd
(VisualFlags.NodeHasEffect))
2212
if (
CheckFlagsAnd
(VisualFlags.NodeHasEffect))
2657
bool flag1 =
CheckFlagsAnd
(VisualFlags.DpiScaleFlag1);
2658
bool flag2 =
CheckFlagsAnd
(VisualFlags.DpiScaleFlag2);
3237
(!
CheckFlagsAnd
(VisualFlags.BitmapEffectEmulationDisabled)))
3264
return
CheckFlagsAnd
(VisualFlags.BitmapEffectEmulationDisabled);
3268
if (value !=
CheckFlagsAnd
(VisualFlags.BitmapEffectEmulationDisabled))
4004
if(
CheckFlagsAnd
(VisualFlags.SubTreeHoldsAncestorChanged))
4016
if(
CheckFlagsAnd
(VisualFlags.SubTreeHoldsAncestorChanged))
4090
if(
CheckFlagsAnd
(VisualFlags.SubTreeHoldsAncestorChanged))
4136
if(!eAsVisual.
CheckFlagsAnd
(VisualFlags.SubTreeHoldsAncestorChanged))
4267
if (current.
CheckFlagsAnd
(flag))
4558
if (gAsVisual.
CheckFlagsAnd
(VisualFlags.NodeHasEffect))
4762
index =
CheckFlagsAnd
(VisualFlags.DpiScaleFlag1) ? index | 1 : index;
4763
index =
CheckFlagsAnd
(VisualFlags.DpiScaleFlag2) ? index | 2 : index;
5143
if(eAsVisual.
CheckFlagsAnd
(treeFlag))
5199
if(eAsVisual.
CheckFlagsAnd
(nodeFlag))
5245
if (v != null && v.
CheckFlagsAnd
(flag))
5267
(!e.
CheckFlagsAnd
(flags) || !e.CheckFlagsOnAllChannels(proxyFlags)))
5278
else if (e.
CheckFlagsAnd
(VisualFlags.NodeIsCyclicBrushRoot))
5345
CheckFlagsAnd
(VisualFlags.NodeHasEffect) &&
Core\CSharp\System\Windows\Media\VisualBrush.cs (1)
122
if (vVisual != null && vVisual.
CheckFlagsAnd
(VisualFlags.NodeIsCyclicBrushRoot))
Core\CSharp\System\Windows\Media3D\Visual3D.cs (1)
2060
if (v != null && v.
CheckFlagsAnd
(flag))
Core\CSharp\System\Windows\UIElement.cs (14)
464
if(v.
CheckFlagsAnd
(VisualFlags.IsLayoutIslandRoot)) return;
468
if(v.
CheckFlagsAnd
(VisualFlags.IsLayoutSuspended)) return;
473
&& v.
CheckFlagsAnd
(VisualFlags.IsUIElement) )
501
if(v.
CheckFlagsAnd
(VisualFlags.IsLayoutIslandRoot)) return;
509
bool parentIsSuspended = parent == null ? false : parent.
CheckFlagsAnd
(VisualFlags.IsLayoutSuspended);
517
if (v.
CheckFlagsAnd
(VisualFlags.IsUIElement))
613
|| ((Visual)this).
CheckFlagsAnd
(VisualFlags.IsLayoutSuspended))
739
if(v.
CheckFlagsAnd
(VisualFlags.IsUIElement))
754
if (v.
CheckFlagsAnd
(VisualFlags.IsLayoutIslandRoot))
759
if(v.
CheckFlagsAnd
(VisualFlags.IsUIElement))
826
|| ((Visual)this).
CheckFlagsAnd
(VisualFlags.IsLayoutSuspended))
887
if (
CheckFlagsAnd
(VisualFlags.UseLayoutRounding))
4180
if (
CheckFlagsAnd
(VisualFlags.VisibilityCache_Visible))
4184
else if (
CheckFlagsAnd
(VisualFlags.VisibilityCache_TakesSpace))