123 references to CoreFlags
PresentationCore (123)
System\Windows\ContentElement.cs (9)
328return ReadFlag(CoreFlags.IsMouseOverCache); 339return ReadFlag(CoreFlags.IsStylusOverCache); 352return ReadFlag(CoreFlags.IsKeyboardFocusWithinCache); 388return ReadFlag(CoreFlags.IsMouseCaptureWithinCache); 451return ReadFlag(CoreFlags.IsStylusCaptureWithinCache); 832get { return ReadFlag(CoreFlags.TouchesOverCache); } 848get { return ReadFlag(CoreFlags.TouchesCapturedWithinCache); } 949get { return ReadFlag(CoreFlags.HasAutomationPeer); } 950set { WriteFlag(CoreFlags.HasAutomationPeer, value); }
System\Windows\FocusWithinProperty.cs (2)
19CoreFlags.IsKeyboardFocusWithinCache, 20CoreFlags.IsKeyboardFocusWithinChanged)
System\Windows\Generated\ContentElement.cs (7)
607WriteFlag(CoreFlags.ExistsEventHandlersStore, false); 637WriteFlag(CoreFlags.ExistsEventHandlersStore, false); 706if(!ReadFlag(CoreFlags.ExistsEventHandlersStore)) 723WriteFlag(CoreFlags.ExistsEventHandlersStore, true); 2547internal bool ReadFlag(CoreFlags field) 2552internal void WriteFlag(CoreFlags field,bool value) 2564private CoreFlags _flags;
System\Windows\Generated\UIElement.cs (7)
607WriteFlag(CoreFlags.ExistsEventHandlersStore, false); 637WriteFlag(CoreFlags.ExistsEventHandlersStore, false); 706if(!ReadFlag(CoreFlags.ExistsEventHandlersStore)) 723WriteFlag(CoreFlags.ExistsEventHandlersStore, true); 4721internal bool ReadFlag(CoreFlags field) 4726internal void WriteFlag(CoreFlags field,bool value) 4738private CoreFlags _flags;
System\Windows\Generated\UIElement3D.cs (7)
404WriteFlag(CoreFlags.ExistsEventHandlersStore, false); 434WriteFlag(CoreFlags.ExistsEventHandlersStore, false); 503if(!ReadFlag(CoreFlags.ExistsEventHandlersStore)) 520WriteFlag(CoreFlags.ExistsEventHandlersStore, true); 2268internal bool ReadFlag(CoreFlags field) 2273internal void WriteFlag(CoreFlags field,bool value) 2285private CoreFlags _flags;
System\Windows\Input\TouchesCapturedWithinProperty.cs (2)
16CoreFlags.TouchesCapturedWithinCache, 17CoreFlags.TouchesCapturedWithinChanged)
System\Windows\Input\TouchesOverProperty.cs (4)
16CoreFlags.TouchesOverCache, 17CoreFlags.TouchesOverChanged, 18CoreFlags.TouchLeaveCache, 19CoreFlags.TouchEnterCache)
System\Windows\MouseCaptureWithinProperty.cs (2)
19CoreFlags.IsMouseCaptureWithinCache, 20CoreFlags.IsMouseCaptureWithinChanged)
System\Windows\MouseOverProperty.cs (2)
19CoreFlags.IsMouseOverCache, 20CoreFlags.IsMouseOverChanged)
System\Windows\ReverseInheritProperty.cs (18)
18CoreFlags flagCache, 19CoreFlags flagChanged) 20: this(flagKey, flagCache, flagChanged, CoreFlags.None, CoreFlags.None) 26CoreFlags flagCache, 27CoreFlags flagChanged, 28CoreFlags flagOldOriginCache, 29CoreFlags flagNewOriginCache) 57(FlagOldOriginCache != CoreFlags.None) && 58(FlagNewOriginCache != CoreFlags.None)); 174bool isFlagOldOriginCacheSet = ((FlagOldOriginCache == CoreFlags.None) ? false : IsFlagSet(uie, ce, uie3D, FlagOldOriginCache)); 175bool isFlagNewOriginCacheSet = ((FlagNewOriginCache == CoreFlags.None) ? false : IsFlagSet(uie, ce, uie3D, FlagNewOriginCache)); 259private static void SetFlag(UIElement uie, ContentElement ce, UIElement3D uie3D, CoreFlags flag, bool value) 277private static bool IsFlagSet(UIElement uie, ContentElement ce, UIElement3D uie3D, CoreFlags flag) 307protected CoreFlags FlagCache; 308protected CoreFlags FlagChanged; 309protected CoreFlags FlagOldOriginCache; // Flag to keep track of elements in the path of old origin 310protected CoreFlags FlagNewOriginCache; // Flag to keep track of elements in the path of new origin
System\Windows\StylusCaptureWithinProperty.cs (2)
19CoreFlags.IsStylusCaptureWithinCache, 20CoreFlags.IsStylusCaptureWithinChanged)
System\Windows\StylusOverProperty.cs (2)
19CoreFlags.IsStylusOverCache, 20CoreFlags.IsStylusOverChanged)
System\Windows\UIElement.cs (44)
211if(ReadFlag(CoreFlags.IsCollapsed)) 2436return ReadFlag(CoreFlags.IsMouseOverCache); 2447return ReadFlag(CoreFlags.IsStylusOverCache); 2460return ReadFlag(CoreFlags.IsKeyboardFocusWithinCache); 2501return ReadFlag(CoreFlags.IsMouseCaptureWithinCache); 2564return ReadFlag(CoreFlags.IsStylusCaptureWithinCache); 3010if(ReadFlag(CoreFlags.IsOpacitySuppressed)) 3015if(ReadFlag(CoreFlags.IsCollapsed)) 3017WriteFlag(CoreFlags.IsCollapsed, false); 3029WriteFlag(CoreFlags.IsOpacitySuppressed, false); 3035if(!ReadFlag(CoreFlags.IsOpacitySuppressed)) 3038WriteFlag(CoreFlags.IsOpacitySuppressed, true); 3041if(!ReadFlag(CoreFlags.IsCollapsed) && collapsed) //Hidden or Visible->Collapsed 3043WriteFlag(CoreFlags.IsCollapsed, true); 3048else if(ReadFlag(CoreFlags.IsCollapsed) && !collapsed) //Collapsed -> Hidden 3050WriteFlag(CoreFlags.IsCollapsed, false); 3822get { return ReadFlag(CoreFlags.IsVisibleCache); } 3900WriteFlag(CoreFlags.IsVisibleCache, isVisible); 4538get { return ReadFlag(CoreFlags.TouchesOverCache); } 4554get { return ReadFlag(CoreFlags.TouchesCapturedWithinCache); } 4722get { return ReadFlag(CoreFlags.HasAutomationPeer); } 4723set { WriteFlag(CoreFlags.HasAutomationPeer, value); } 4727get { return ReadFlag(CoreFlags.RenderingInvalidated); } 4728set { WriteFlag(CoreFlags.RenderingInvalidated, value); } 4733get { return ReadFlag(CoreFlags.SnapsToDevicePixelsCache); } 4734set { WriteFlag(CoreFlags.SnapsToDevicePixelsCache, value); } 4739get { return ReadFlag(CoreFlags.ClipToBoundsCache); } 4740set { WriteFlag(CoreFlags.ClipToBoundsCache, value); } 4745get { return ReadFlag(CoreFlags.MeasureDirty); } 4746set { WriteFlag(CoreFlags.MeasureDirty, value); } 4751get { return ReadFlag(CoreFlags.ArrangeDirty); } 4752set { WriteFlag(CoreFlags.ArrangeDirty, value); } 4757get { return ReadFlag(CoreFlags.MeasureInProgress); } 4758set { WriteFlag(CoreFlags.MeasureInProgress, value); } 4763get { return ReadFlag(CoreFlags.ArrangeInProgress); } 4764set { WriteFlag(CoreFlags.ArrangeInProgress, value); } 4769get { return ReadFlag(CoreFlags.NeverMeasured); } 4770set { WriteFlag(CoreFlags.NeverMeasured, value); } 4775get { return ReadFlag(CoreFlags.NeverArranged); } 4776set { WriteFlag(CoreFlags.NeverArranged, value); } 4781get { return ReadFlag(CoreFlags.MeasureDuringArrange); } 4782set { WriteFlag(CoreFlags.MeasureDuringArrange, value); } 4787get { return ReadFlag(CoreFlags.AreTransformsClean); } 4788set { WriteFlag(CoreFlags.AreTransformsClean, value); }
System\Windows\UIElement3D.cs (15)
417return ReadFlag(CoreFlags.IsMouseOverCache); 428return ReadFlag(CoreFlags.IsStylusOverCache); 441return ReadFlag(CoreFlags.IsKeyboardFocusWithinCache); 482return ReadFlag(CoreFlags.IsMouseCaptureWithinCache); 545return ReadFlag(CoreFlags.IsStylusCaptureWithinCache); 717if (!ReadFlag(CoreFlags.IsCollapsed) && collapsed) //Hidden or Visible->Collapsed 719WriteFlag(CoreFlags.IsCollapsed, true); 721else if (ReadFlag(CoreFlags.IsCollapsed) && !collapsed) //Collapsed -> Hidden 723WriteFlag(CoreFlags.IsCollapsed, false); 1042get { return ReadFlag(CoreFlags.IsVisibleCache); } 1121WriteFlag(CoreFlags.IsVisibleCache, isVisible); 1438get { return ReadFlag(CoreFlags.TouchesOverCache); } 1454get { return ReadFlag(CoreFlags.TouchesCapturedWithinCache); } 1577get { return ReadFlag(CoreFlags.HasAutomationPeer); } 1578set { WriteFlag(CoreFlags.HasAutomationPeer, value); }