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