29 references to Flags
PresentationFramework (29)
System\Windows\Controls\Grid.cs (29)
53SetFlags((bool) ShowGridLinesProperty.GetDefaultValue(DependencyObjectType), Flags.ShowGridLinesPropertyValue); 259get { return (CheckFlagsAnd(Flags.ShowGridLinesPropertyValue)); } 816get { return (CheckFlagsAnd(Flags.MeasureOverrideInProgress)); } 817set { SetFlags(value, Flags.MeasureOverrideInProgress); } 825get { return (CheckFlagsAnd(Flags.ArrangeOverrideInProgress)); } 826set { SetFlags(value, Flags.ArrangeOverrideInProgress); } 834get { return (!CheckFlagsAnd(Flags.ValidDefinitionsUStructure)); } 835set { SetFlags(!value, Flags.ValidDefinitionsUStructure); } 843get { return (!CheckFlagsAnd(Flags.ValidDefinitionsVStructure)); } 844set { SetFlags(!value, Flags.ValidDefinitionsVStructure); } 2928private void SetFlags(bool value, Flags flags) 2937private bool CheckFlagsAnd(Flags flags) 2950private bool CheckFlagsOr(Flags flags) 2968grid.SetFlags((bool) e.NewValue, Flags.ShowGridLinesPropertyValue); 3152get { return (!CheckFlagsAnd(Flags.ValidCellsStructure)); } 3153set { SetFlags(!value, Flags.ValidCellsStructure); } 3161get { return (CheckFlagsAnd(Flags.ListenToNotifications)); } 3162set { SetFlags(value, Flags.ListenToNotifications); } 3170get { return (CheckFlagsAnd(Flags.SizeToContentU)); } 3171set { SetFlags(value, Flags.SizeToContentU); } 3179get { return (CheckFlagsAnd(Flags.SizeToContentV)); } 3180set { SetFlags(value, Flags.SizeToContentV); } 3188get { return (CheckFlagsAnd(Flags.HasStarCellsU)); } 3189set { SetFlags(value, Flags.HasStarCellsU); } 3197get { return (CheckFlagsAnd(Flags.HasStarCellsV)); } 3198set { SetFlags(value, Flags.HasStarCellsV); } 3206get { return (CheckFlagsAnd(Flags.HasGroup3CellsInAutoRows)); } 3207set { SetFlags(value, Flags.HasGroup3CellsInAutoRows); } 3267private Flags _flags; // grid validity / property caches dirtiness flags