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