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