36 references to CheckFlags
PresentationFramework (36)
System\Windows\Controls\TextBlock.cs (36)
388if(CheckFlags(Flags.ContentChangeInProgress)) 598!textblock.CheckFlags(Flags.TextContentChanging) && 1178if (CheckFlags(Flags.PendingTextContainerEventInit)) 1225bool formattedOnce = CheckFlags(Flags.FormattedOnce); 1282if (!CheckFlags(Flags.HasFirstLine)) 1515SetFlags(CheckFlags(Flags.HasParagraphEllipses), Flags.RequiresAlignment); 1526if (CheckFlags(Flags.HasParagraphEllipses)) 1543if (!CheckFlags(Flags.HasParagraphEllipses) || 1565if (!CheckFlags(Flags.HasParagraphEllipses)) 1596if (CheckFlags(Flags.FormattedOnce)) 1844if(CheckFlags(Flags.ContentChangeInProgress)) 1951if (CheckFlags(Flags.MeasureInProgress)) 2026if (CheckFlags(Flags.RequiresAlignment)) 2731CheckFlags(Flags.HasFirstLine) && 2732!CheckFlags(Flags.ContentChangeInProgress) && 2733!CheckFlags(Flags.MeasureInProgress) && 2734!CheckFlags(Flags.ArrangeInProgress); // Content is not currently changeing 2756return !CheckFlags(Flags.IsTypographySet); 2777get { return CheckFlags(Flags.IsContentPresenterContainer); } 2873if (CheckFlags(Flags.FormattedOnce)) 2877Invariant.Assert(!CheckFlags(Flags.PendingTextContainerEventInit)); 2925Invariant.Assert(CheckFlags(Flags.FormattedOnce), "Unexpected Highlights.Changed callback before first format!"); 2947if (CheckFlags(Flags.FormattedOnce)) 2982if (CheckFlags(Flags.FormattedOnce)) 2992if (!CheckFlags(Flags.TextContentChanging) && args.TextChange != TextChangeType.PropertyModified) 3137if (!CheckFlags(Flags.HasParagraphEllipses)) 3339if (CheckFlags(Flags.TreeInReadOnlyMode)) 3398Debug.Assert(CheckFlags(Flags.RequiresAlignment)); 3507if (CheckFlags(Flags.HasFirstLine)) 3558if(CheckFlags(Flags.MeasureInProgress)) 3563if(CheckFlags(Flags.ArrangeInProgress)) 3568if(CheckFlags(Flags.ContentChangeInProgress)) 3678if (!CheckFlags(Flags.MeasureInProgress)) 3737if (CheckFlags(Flags.HasFirstLine)) 3760if (CheckFlags(Flags.IsHyphenatorSet)) 4075if (text.CheckFlags(Flags.TextContentChanging))