123 references to CoreFlags
PresentationCore (123)
System\Windows\ContentElement.cs (9)
317return ReadFlag(CoreFlags.IsMouseOverCache); 328return ReadFlag(CoreFlags.IsStylusOverCache); 341return ReadFlag(CoreFlags.IsKeyboardFocusWithinCache); 377return ReadFlag(CoreFlags.IsMouseCaptureWithinCache); 440return ReadFlag(CoreFlags.IsStylusCaptureWithinCache); 821get { return ReadFlag(CoreFlags.TouchesOverCache); } 837get { return ReadFlag(CoreFlags.TouchesCapturedWithinCache); } 938get { return ReadFlag(CoreFlags.HasAutomationPeer); } 939set { WriteFlag(CoreFlags.HasAutomationPeer, value); }
System\Windows\FocusWithinProperty.cs (2)
17CoreFlags.IsKeyboardFocusWithinCache, 18CoreFlags.IsKeyboardFocusWithinChanged)
System\Windows\Generated\ContentElement.cs (7)
603WriteFlag(CoreFlags.ExistsEventHandlersStore, false); 633WriteFlag(CoreFlags.ExistsEventHandlersStore, false); 702if(!ReadFlag(CoreFlags.ExistsEventHandlersStore)) 719WriteFlag(CoreFlags.ExistsEventHandlersStore, true); 2543internal bool ReadFlag(CoreFlags field) 2548internal void WriteFlag(CoreFlags field,bool value) 2560private CoreFlags _flags;
System\Windows\Generated\UIElement.cs (7)
603WriteFlag(CoreFlags.ExistsEventHandlersStore, false); 633WriteFlag(CoreFlags.ExistsEventHandlersStore, false); 702if(!ReadFlag(CoreFlags.ExistsEventHandlersStore)) 719WriteFlag(CoreFlags.ExistsEventHandlersStore, true); 4717internal bool ReadFlag(CoreFlags field) 4722internal void WriteFlag(CoreFlags field,bool value) 4734private CoreFlags _flags;
System\Windows\Generated\UIElement3D.cs (7)
398WriteFlag(CoreFlags.ExistsEventHandlersStore, false); 428WriteFlag(CoreFlags.ExistsEventHandlersStore, false); 497if(!ReadFlag(CoreFlags.ExistsEventHandlersStore)) 514WriteFlag(CoreFlags.ExistsEventHandlersStore, true); 2262internal bool ReadFlag(CoreFlags field) 2267internal void WriteFlag(CoreFlags field,bool value) 2279private CoreFlags _flags;
System\Windows\Input\TouchesCapturedWithinProperty.cs (2)
11CoreFlags.TouchesCapturedWithinCache, 12CoreFlags.TouchesCapturedWithinChanged)
System\Windows\Input\TouchesOverProperty.cs (4)
11CoreFlags.TouchesOverCache, 12CoreFlags.TouchesOverChanged, 13CoreFlags.TouchLeaveCache, 14CoreFlags.TouchEnterCache)
System\Windows\MouseCaptureWithinProperty.cs (2)
17CoreFlags.IsMouseCaptureWithinCache, 18CoreFlags.IsMouseCaptureWithinChanged)
System\Windows\MouseOverProperty.cs (2)
17CoreFlags.IsMouseOverCache, 18CoreFlags.IsMouseOverChanged)
System\Windows\ReverseInheritProperty.cs (18)
13CoreFlags flagCache, 14CoreFlags flagChanged) 15: this(flagKey, flagCache, flagChanged, CoreFlags.None, CoreFlags.None) 21CoreFlags flagCache, 22CoreFlags flagChanged, 23CoreFlags flagOldOriginCache, 24CoreFlags flagNewOriginCache) 52(FlagOldOriginCache != CoreFlags.None) && 53(FlagNewOriginCache != CoreFlags.None)); 169bool isFlagOldOriginCacheSet = ((FlagOldOriginCache == CoreFlags.None) ? false : IsFlagSet(uie, ce, uie3D, FlagOldOriginCache)); 170bool isFlagNewOriginCacheSet = ((FlagNewOriginCache == CoreFlags.None) ? false : IsFlagSet(uie, ce, uie3D, FlagNewOriginCache)); 254private static void SetFlag(UIElement uie, ContentElement ce, UIElement3D uie3D, CoreFlags flag, bool value) 272private static bool IsFlagSet(UIElement uie, ContentElement ce, UIElement3D uie3D, CoreFlags flag) 302protected CoreFlags FlagCache; 303protected CoreFlags FlagChanged; 304protected CoreFlags FlagOldOriginCache; // Flag to keep track of elements in the path of old origin 305protected CoreFlags FlagNewOriginCache; // Flag to keep track of elements in the path of new origin
System\Windows\StylusCaptureWithinProperty.cs (2)
17CoreFlags.IsStylusCaptureWithinCache, 18CoreFlags.IsStylusCaptureWithinChanged)
System\Windows\StylusOverProperty.cs (2)
17CoreFlags.IsStylusOverCache, 18CoreFlags.IsStylusOverChanged)
System\Windows\UIElement.cs (44)
206if(ReadFlag(CoreFlags.IsCollapsed)) 2431return ReadFlag(CoreFlags.IsMouseOverCache); 2442return ReadFlag(CoreFlags.IsStylusOverCache); 2455return ReadFlag(CoreFlags.IsKeyboardFocusWithinCache); 2496return ReadFlag(CoreFlags.IsMouseCaptureWithinCache); 2559return ReadFlag(CoreFlags.IsStylusCaptureWithinCache); 3005if(ReadFlag(CoreFlags.IsOpacitySuppressed)) 3010if(ReadFlag(CoreFlags.IsCollapsed)) 3012WriteFlag(CoreFlags.IsCollapsed, false); 3024WriteFlag(CoreFlags.IsOpacitySuppressed, false); 3030if(!ReadFlag(CoreFlags.IsOpacitySuppressed)) 3033WriteFlag(CoreFlags.IsOpacitySuppressed, true); 3036if(!ReadFlag(CoreFlags.IsCollapsed) && collapsed) //Hidden or Visible->Collapsed 3038WriteFlag(CoreFlags.IsCollapsed, true); 3043else if(ReadFlag(CoreFlags.IsCollapsed) && !collapsed) //Collapsed -> Hidden 3045WriteFlag(CoreFlags.IsCollapsed, false); 3817get { return ReadFlag(CoreFlags.IsVisibleCache); } 3895WriteFlag(CoreFlags.IsVisibleCache, isVisible); 4533get { return ReadFlag(CoreFlags.TouchesOverCache); } 4549get { return ReadFlag(CoreFlags.TouchesCapturedWithinCache); } 4717get { return ReadFlag(CoreFlags.HasAutomationPeer); } 4718set { WriteFlag(CoreFlags.HasAutomationPeer, value); } 4722get { return ReadFlag(CoreFlags.RenderingInvalidated); } 4723set { WriteFlag(CoreFlags.RenderingInvalidated, value); } 4728get { return ReadFlag(CoreFlags.SnapsToDevicePixelsCache); } 4729set { WriteFlag(CoreFlags.SnapsToDevicePixelsCache, value); } 4734get { return ReadFlag(CoreFlags.ClipToBoundsCache); } 4735set { WriteFlag(CoreFlags.ClipToBoundsCache, value); } 4740get { return ReadFlag(CoreFlags.MeasureDirty); } 4741set { WriteFlag(CoreFlags.MeasureDirty, value); } 4746get { return ReadFlag(CoreFlags.ArrangeDirty); } 4747set { WriteFlag(CoreFlags.ArrangeDirty, value); } 4752get { return ReadFlag(CoreFlags.MeasureInProgress); } 4753set { WriteFlag(CoreFlags.MeasureInProgress, value); } 4758get { return ReadFlag(CoreFlags.ArrangeInProgress); } 4759set { WriteFlag(CoreFlags.ArrangeInProgress, value); } 4764get { return ReadFlag(CoreFlags.NeverMeasured); } 4765set { WriteFlag(CoreFlags.NeverMeasured, value); } 4770get { return ReadFlag(CoreFlags.NeverArranged); } 4771set { WriteFlag(CoreFlags.NeverArranged, value); } 4776get { return ReadFlag(CoreFlags.MeasureDuringArrange); } 4777set { WriteFlag(CoreFlags.MeasureDuringArrange, value); } 4782get { return ReadFlag(CoreFlags.AreTransformsClean); } 4783set { WriteFlag(CoreFlags.AreTransformsClean, value); }
System\Windows\UIElement3D.cs (15)
402return ReadFlag(CoreFlags.IsMouseOverCache); 413return ReadFlag(CoreFlags.IsStylusOverCache); 426return ReadFlag(CoreFlags.IsKeyboardFocusWithinCache); 467return ReadFlag(CoreFlags.IsMouseCaptureWithinCache); 530return ReadFlag(CoreFlags.IsStylusCaptureWithinCache); 702if (!ReadFlag(CoreFlags.IsCollapsed) && collapsed) //Hidden or Visible->Collapsed 704WriteFlag(CoreFlags.IsCollapsed, true); 706else if (ReadFlag(CoreFlags.IsCollapsed) && !collapsed) //Collapsed -> Hidden 708WriteFlag(CoreFlags.IsCollapsed, false); 1027get { return ReadFlag(CoreFlags.IsVisibleCache); } 1106WriteFlag(CoreFlags.IsVisibleCache, isVisible); 1423get { return ReadFlag(CoreFlags.TouchesOverCache); } 1439get { return ReadFlag(CoreFlags.TouchesCapturedWithinCache); } 1562get { return ReadFlag(CoreFlags.HasAutomationPeer); } 1563set { WriteFlag(CoreFlags.HasAutomationPeer, value); }