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