49 references to CheckFlagsAnd
PresentationCore (49)
System\Windows\InterOp\HwndTarget.cs (1)
1409
if (root.
CheckFlagsAnd
(VisualFlags.IsUIElement))
System\Windows\LayoutManager.cs (2)
84
if(v.
CheckFlagsAnd
(VisualFlags.IsUIElement))
873
if(e.
CheckFlagsAnd
(VisualFlags.IsLayoutSuspended)) return;
System\Windows\Media\BitmapCacheBrush.cs (1)
110
if (vVisual != null && vVisual.
CheckFlagsAnd
(VisualFlags.NodeIsCyclicBrushRoot))
System\Windows\Media\Visual.cs (29)
238
if (
CheckFlagsAnd
(VisualFlags.IsViewport3DVisual))
305
get { return
CheckFlagsAnd
(VisualFlags.IsVisualChildrenIterationInProgress); }
323
return
CheckFlagsAnd
(VisualFlags.ShouldPostRender);
542
if (
CheckFlagsAnd
(VisualFlags.NodeHasEffect))
1021
if (
CheckFlagsAnd
(VisualFlags.IsSubtreeDirtyForPrecompute))
1073
if (
CheckFlagsAnd
(VisualFlags.IsSubtreeDirtyForPrecompute))
1277
if (
CheckFlagsAnd
(VisualFlags.ReentrancyFlag))
1293
Debug.Assert(
CheckFlagsAnd
(VisualFlags.ReentrancyFlag)); // Exit must be matched with Enter. See Enter comments.
2033
if (
CheckFlagsAnd
(VisualFlags.NodeHasEffect))
2177
if (
CheckFlagsAnd
(VisualFlags.NodeHasEffect))
2616
bool flag1 =
CheckFlagsAnd
(VisualFlags.DpiScaleFlag1);
2617
bool flag2 =
CheckFlagsAnd
(VisualFlags.DpiScaleFlag2);
3192
(!
CheckFlagsAnd
(VisualFlags.BitmapEffectEmulationDisabled)))
3218
return
CheckFlagsAnd
(VisualFlags.BitmapEffectEmulationDisabled);
3222
if (value !=
CheckFlagsAnd
(VisualFlags.BitmapEffectEmulationDisabled))
3958
if(
CheckFlagsAnd
(VisualFlags.SubTreeHoldsAncestorChanged))
3970
if(
CheckFlagsAnd
(VisualFlags.SubTreeHoldsAncestorChanged))
4044
if(
CheckFlagsAnd
(VisualFlags.SubTreeHoldsAncestorChanged))
4090
if(!eAsVisual.
CheckFlagsAnd
(VisualFlags.SubTreeHoldsAncestorChanged))
4218
if (current.
CheckFlagsAnd
(flag))
4496
if (gAsVisual.
CheckFlagsAnd
(VisualFlags.NodeHasEffect))
4700
index =
CheckFlagsAnd
(VisualFlags.DpiScaleFlag1) ? index | 1 : index;
4701
index =
CheckFlagsAnd
(VisualFlags.DpiScaleFlag2) ? index | 2 : index;
5081
if(eAsVisual.
CheckFlagsAnd
(treeFlag))
5137
if(eAsVisual.
CheckFlagsAnd
(nodeFlag))
5182
if (v != null && v.
CheckFlagsAnd
(flag))
5204
(!e.
CheckFlagsAnd
(flags) || !e.CheckFlagsOnAllChannels(proxyFlags)))
5215
else if (e.
CheckFlagsAnd
(VisualFlags.NodeIsCyclicBrushRoot))
5282
CheckFlagsAnd
(VisualFlags.NodeHasEffect) &&
System\Windows\Media\VisualBrush.cs (1)
110
if (vVisual != null && vVisual.
CheckFlagsAnd
(VisualFlags.NodeIsCyclicBrushRoot))
System\Windows\Media3D\Visual3D.cs (1)
2018
if (v != null && v.
CheckFlagsAnd
(flag))
System\Windows\UIElement.cs (14)
452
if(v.
CheckFlagsAnd
(VisualFlags.IsLayoutIslandRoot)) return;
456
if(v.
CheckFlagsAnd
(VisualFlags.IsLayoutSuspended)) return;
461
&& v.
CheckFlagsAnd
(VisualFlags.IsUIElement) )
489
if(v.
CheckFlagsAnd
(VisualFlags.IsLayoutIslandRoot)) return;
497
bool parentIsSuspended = parent == null ? false : parent.
CheckFlagsAnd
(VisualFlags.IsLayoutSuspended);
505
if (v.
CheckFlagsAnd
(VisualFlags.IsUIElement))
601
|| ((Visual)this).
CheckFlagsAnd
(VisualFlags.IsLayoutSuspended))
727
if(v.
CheckFlagsAnd
(VisualFlags.IsUIElement))
742
if (v.
CheckFlagsAnd
(VisualFlags.IsLayoutIslandRoot))
747
if(v.
CheckFlagsAnd
(VisualFlags.IsUIElement))
814
|| ((Visual)this).
CheckFlagsAnd
(VisualFlags.IsLayoutSuspended))
875
if (
CheckFlagsAnd
(VisualFlags.UseLayoutRounding))
4132
if (
CheckFlagsAnd
(VisualFlags.VisibilityCache_Visible))
4136
else if (
CheckFlagsAnd
(VisualFlags.VisibilityCache_TakesSpace))