1 write to IsRoot
PresentationCore (1)
System\Windows\Media\Animation\Clock.cs (1)
663rootClock.IsRoot = true;
24 references to IsRoot
PresentationCore (24)
System\Windows\Media\Animation\Clock.cs (21)
179if (IsRoot && HasControllableRoot) 343if (IsRoot) 548while (!current.IsRoot) // Traverse up the tree to the root node 615if (CanSlip && (IsRoot || _timeline.BeginTime.HasValue)) 869Debug.Assert(IsRoot); 891Debug.Assert(IsRoot); 962Debug.Assert(IsRoot); 973Debug.Assert(IsRoot); 1004Debug.Assert(IsRoot); 1799Debug.Assert(IsRoot); // root clocks only; non-roots have constant begin time 1927Debug.Assert(IsRoot); 2486Debug.Assert(!IsInteractivelyStopped || IsRoot); 2660Debug.Assert(!IsInteractivelyStopped || IsRoot); 2701Debug.Assert(IsRoot); 2929if (performTickOperations && IsRoot) 3089Debug.Assert(!IsInteractivelyStopped || IsRoot); 3091if (IsRoot) // We are a root child, use time manager time 3407Debug.Assert(!current.IsRoot, "Root nodes never should reset their Slip amounts with ResetSlipOnSubtree(), even when seeking."); 3747if (IsRoot && (CurrentStateInvalidatedEventRaised || !isInTick)) 3761Debug.Assert(IsRoot); // This should only be called on root-child clocks 4001Debug.Assert(syncClock.IsRoot || syncClock._timeline.BeginTime.HasValue); // Only roots may later validate their _beginTime
System\Windows\Media\Animation\ClockGroup.cs (3)
127if (!IsRoot || 237current.NeedsPostfixTraversal = (current is ClockGroup) || (current.IsRoot); 438Debug.Assert(IsRoot);