System\Windows\Controls\Grid.cs (29)
62SetFlags((bool) ShowGridLinesProperty.GetDefaultValue(DependencyObjectType), Flags.ShowGridLinesPropertyValue);
268get { return (CheckFlagsAnd(Flags.ShowGridLinesPropertyValue)); }
825get { return (CheckFlagsAnd(Flags.MeasureOverrideInProgress)); }
826set { SetFlags(value, Flags.MeasureOverrideInProgress); }
834get { return (CheckFlagsAnd(Flags.ArrangeOverrideInProgress)); }
835set { SetFlags(value, Flags.ArrangeOverrideInProgress); }
843get { return (!CheckFlagsAnd(Flags.ValidDefinitionsUStructure)); }
844set { SetFlags(!value, Flags.ValidDefinitionsUStructure); }
852get { return (!CheckFlagsAnd(Flags.ValidDefinitionsVStructure)); }
853set { SetFlags(!value, Flags.ValidDefinitionsVStructure); }
2937private void SetFlags(bool value, Flags flags)
2946private bool CheckFlagsAnd(Flags flags)
2959private bool CheckFlagsOr(Flags flags)
2977grid.SetFlags((bool) e.NewValue, Flags.ShowGridLinesPropertyValue);
3161get { return (!CheckFlagsAnd(Flags.ValidCellsStructure)); }
3162set { SetFlags(!value, Flags.ValidCellsStructure); }
3170get { return (CheckFlagsAnd(Flags.ListenToNotifications)); }
3171set { SetFlags(value, Flags.ListenToNotifications); }
3179get { return (CheckFlagsAnd(Flags.SizeToContentU)); }
3180set { SetFlags(value, Flags.SizeToContentU); }
3188get { return (CheckFlagsAnd(Flags.SizeToContentV)); }
3189set { SetFlags(value, Flags.SizeToContentV); }
3197get { return (CheckFlagsAnd(Flags.HasStarCellsU)); }
3198set { SetFlags(value, Flags.HasStarCellsU); }
3206get { return (CheckFlagsAnd(Flags.HasStarCellsV)); }
3207set { SetFlags(value, Flags.HasStarCellsV); }
3215get { return (CheckFlagsAnd(Flags.HasGroup3CellsInAutoRows)); }
3216set { SetFlags(value, Flags.HasGroup3CellsInAutoRows); }
3276private Flags _flags; // grid validity / property caches dirtiness flags