36 references to CheckFlags
PresentationFramework (36)
System\Windows\Controls\TextBlock.cs (36)
387if(CheckFlags(Flags.ContentChangeInProgress)) 597!textblock.CheckFlags(Flags.TextContentChanging) && 1177if (CheckFlags(Flags.PendingTextContainerEventInit)) 1224bool formattedOnce = CheckFlags(Flags.FormattedOnce); 1281if (!CheckFlags(Flags.HasFirstLine)) 1514SetFlags(CheckFlags(Flags.HasParagraphEllipses), Flags.RequiresAlignment); 1525if (CheckFlags(Flags.HasParagraphEllipses)) 1542if (!CheckFlags(Flags.HasParagraphEllipses) || 1564if (!CheckFlags(Flags.HasParagraphEllipses)) 1595if (CheckFlags(Flags.FormattedOnce)) 1843if(CheckFlags(Flags.ContentChangeInProgress)) 1950if (CheckFlags(Flags.MeasureInProgress)) 2025if (CheckFlags(Flags.RequiresAlignment)) 2730CheckFlags(Flags.HasFirstLine) && 2731!CheckFlags(Flags.ContentChangeInProgress) && 2732!CheckFlags(Flags.MeasureInProgress) && 2733!CheckFlags(Flags.ArrangeInProgress); // Content is not currently changeing 2755return !CheckFlags(Flags.IsTypographySet); 2776get { return CheckFlags(Flags.IsContentPresenterContainer); } 2872if (CheckFlags(Flags.FormattedOnce)) 2876Invariant.Assert(!CheckFlags(Flags.PendingTextContainerEventInit)); 2924Invariant.Assert(CheckFlags(Flags.FormattedOnce), "Unexpected Highlights.Changed callback before first format!"); 2946if (CheckFlags(Flags.FormattedOnce)) 2981if (CheckFlags(Flags.FormattedOnce)) 2991if (!CheckFlags(Flags.TextContentChanging) && args.TextChange != TextChangeType.PropertyModified) 3136if (!CheckFlags(Flags.HasParagraphEllipses)) 3338if (CheckFlags(Flags.TreeInReadOnlyMode)) 3397Debug.Assert(CheckFlags(Flags.RequiresAlignment)); 3506if (CheckFlags(Flags.HasFirstLine)) 3557if(CheckFlags(Flags.MeasureInProgress)) 3562if(CheckFlags(Flags.ArrangeInProgress)) 3567if(CheckFlags(Flags.ContentChangeInProgress)) 3677if (!CheckFlags(Flags.MeasureInProgress)) 3736if (CheckFlags(Flags.HasFirstLine)) 3759if (CheckFlags(Flags.IsHyphenatorSet)) 4074if (text.CheckFlags(Flags.TextContentChanging))