49 references to CheckFlagsAnd
PresentationCore (49)
System\Windows\InterOp\HwndTarget.cs (1)
1422
if (root.
CheckFlagsAnd
(VisualFlags.IsUIElement))
System\Windows\LayoutManager.cs (2)
100
if(v.
CheckFlagsAnd
(VisualFlags.IsUIElement))
889
if(e.
CheckFlagsAnd
(VisualFlags.IsLayoutSuspended)) return;
System\Windows\Media\BitmapCacheBrush.cs (1)
118
if (vVisual != null && vVisual.
CheckFlagsAnd
(VisualFlags.NodeIsCyclicBrushRoot))
System\Windows\Media\Visual.cs (29)
254
if (
CheckFlagsAnd
(VisualFlags.IsViewport3DVisual))
321
get { return
CheckFlagsAnd
(VisualFlags.IsVisualChildrenIterationInProgress); }
339
return
CheckFlagsAnd
(VisualFlags.ShouldPostRender);
558
if (
CheckFlagsAnd
(VisualFlags.NodeHasEffect))
1037
if (
CheckFlagsAnd
(VisualFlags.IsSubtreeDirtyForPrecompute))
1089
if (
CheckFlagsAnd
(VisualFlags.IsSubtreeDirtyForPrecompute))
1293
if (
CheckFlagsAnd
(VisualFlags.ReentrancyFlag))
1309
Debug.Assert(
CheckFlagsAnd
(VisualFlags.ReentrancyFlag)); // Exit must be matched with Enter. See Enter comments.
2049
if (
CheckFlagsAnd
(VisualFlags.NodeHasEffect))
2193
if (
CheckFlagsAnd
(VisualFlags.NodeHasEffect))
2632
bool flag1 =
CheckFlagsAnd
(VisualFlags.DpiScaleFlag1);
2633
bool flag2 =
CheckFlagsAnd
(VisualFlags.DpiScaleFlag2);
3208
(!
CheckFlagsAnd
(VisualFlags.BitmapEffectEmulationDisabled)))
3234
return
CheckFlagsAnd
(VisualFlags.BitmapEffectEmulationDisabled);
3238
if (value !=
CheckFlagsAnd
(VisualFlags.BitmapEffectEmulationDisabled))
3974
if(
CheckFlagsAnd
(VisualFlags.SubTreeHoldsAncestorChanged))
3986
if(
CheckFlagsAnd
(VisualFlags.SubTreeHoldsAncestorChanged))
4060
if(
CheckFlagsAnd
(VisualFlags.SubTreeHoldsAncestorChanged))
4106
if(!eAsVisual.
CheckFlagsAnd
(VisualFlags.SubTreeHoldsAncestorChanged))
4234
if (current.
CheckFlagsAnd
(flag))
4512
if (gAsVisual.
CheckFlagsAnd
(VisualFlags.NodeHasEffect))
4716
index =
CheckFlagsAnd
(VisualFlags.DpiScaleFlag1) ? index | 1 : index;
4717
index =
CheckFlagsAnd
(VisualFlags.DpiScaleFlag2) ? index | 2 : index;
5097
if(eAsVisual.
CheckFlagsAnd
(treeFlag))
5153
if(eAsVisual.
CheckFlagsAnd
(nodeFlag))
5198
if (v != null && v.
CheckFlagsAnd
(flag))
5220
(!e.
CheckFlagsAnd
(flags) || !e.CheckFlagsOnAllChannels(proxyFlags)))
5231
else if (e.
CheckFlagsAnd
(VisualFlags.NodeIsCyclicBrushRoot))
5298
CheckFlagsAnd
(VisualFlags.NodeHasEffect) &&
System\Windows\Media\VisualBrush.cs (1)
119
if (vVisual != null && vVisual.
CheckFlagsAnd
(VisualFlags.NodeIsCyclicBrushRoot))
System\Windows\Media3D\Visual3D.cs (1)
2026
if (v != null && v.
CheckFlagsAnd
(flag))
System\Windows\UIElement.cs (14)
457
if(v.
CheckFlagsAnd
(VisualFlags.IsLayoutIslandRoot)) return;
461
if(v.
CheckFlagsAnd
(VisualFlags.IsLayoutSuspended)) return;
466
&& v.
CheckFlagsAnd
(VisualFlags.IsUIElement) )
494
if(v.
CheckFlagsAnd
(VisualFlags.IsLayoutIslandRoot)) return;
502
bool parentIsSuspended = parent == null ? false : parent.
CheckFlagsAnd
(VisualFlags.IsLayoutSuspended);
510
if (v.
CheckFlagsAnd
(VisualFlags.IsUIElement))
606
|| ((Visual)this).
CheckFlagsAnd
(VisualFlags.IsLayoutSuspended))
732
if(v.
CheckFlagsAnd
(VisualFlags.IsUIElement))
747
if (v.
CheckFlagsAnd
(VisualFlags.IsLayoutIslandRoot))
752
if(v.
CheckFlagsAnd
(VisualFlags.IsUIElement))
819
|| ((Visual)this).
CheckFlagsAnd
(VisualFlags.IsLayoutSuspended))
880
if (
CheckFlagsAnd
(VisualFlags.UseLayoutRounding))
4137
if (
CheckFlagsAnd
(VisualFlags.VisibilityCache_Visible))
4141
else if (
CheckFlagsAnd
(VisualFlags.VisibilityCache_TakesSpace))