36 references to CheckFlags
PresentationFramework (36)
System\Windows\Controls\TextBlock.cs (36)
400if(CheckFlags(Flags.ContentChangeInProgress)) 610!textblock.CheckFlags(Flags.TextContentChanging) && 1190if (CheckFlags(Flags.PendingTextContainerEventInit)) 1237bool formattedOnce = CheckFlags(Flags.FormattedOnce); 1297if (!CheckFlags(Flags.HasFirstLine)) 1533SetFlags(CheckFlags(Flags.HasParagraphEllipses), Flags.RequiresAlignment); 1544if (CheckFlags(Flags.HasParagraphEllipses)) 1561if (!CheckFlags(Flags.HasParagraphEllipses) || 1583if (!CheckFlags(Flags.HasParagraphEllipses)) 1614if (CheckFlags(Flags.FormattedOnce)) 1862if(CheckFlags(Flags.ContentChangeInProgress)) 1972if (CheckFlags(Flags.MeasureInProgress)) 2047if (CheckFlags(Flags.RequiresAlignment)) 2752CheckFlags(Flags.HasFirstLine) && 2753!CheckFlags(Flags.ContentChangeInProgress) && 2754!CheckFlags(Flags.MeasureInProgress) && 2755!CheckFlags(Flags.ArrangeInProgress); // Content is not currently changeing 2777return !CheckFlags(Flags.IsTypographySet); 2798get { return CheckFlags(Flags.IsContentPresenterContainer); } 2894if (CheckFlags(Flags.FormattedOnce)) 2898Invariant.Assert(!CheckFlags(Flags.PendingTextContainerEventInit)); 2946Invariant.Assert(CheckFlags(Flags.FormattedOnce), "Unexpected Highlights.Changed callback before first format!"); 2968if (CheckFlags(Flags.FormattedOnce)) 3003if (CheckFlags(Flags.FormattedOnce)) 3013if (!CheckFlags(Flags.TextContentChanging) && args.TextChange != TextChangeType.PropertyModified) 3156if (!CheckFlags(Flags.HasParagraphEllipses)) 3358if (CheckFlags(Flags.TreeInReadOnlyMode)) 3417Debug.Assert(CheckFlags(Flags.RequiresAlignment)); 3526if (CheckFlags(Flags.HasFirstLine)) 3577if(CheckFlags(Flags.MeasureInProgress)) 3582if(CheckFlags(Flags.ArrangeInProgress)) 3587if(CheckFlags(Flags.ContentChangeInProgress)) 3697if (!CheckFlags(Flags.MeasureInProgress)) 3756if (CheckFlags(Flags.HasFirstLine)) 3779if (CheckFlags(Flags.IsHyphenatorSet)) 4094if (text.CheckFlags(Flags.TextContentChanging))