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