1 write to IsRoot
PresentationCore (1)
System\Windows\Media\Animation\Clock.cs (1)
649rootClock.IsRoot = true;
24 references to IsRoot
PresentationCore (24)
System\Windows\Media\Animation\Clock.cs (21)
165if (IsRoot && HasControllableRoot) 329if (IsRoot) 534while (!current.IsRoot) // Traverse up the tree to the root node 601if (CanSlip && (IsRoot || _timeline.BeginTime.HasValue)) 855Debug.Assert(IsRoot); 877Debug.Assert(IsRoot); 948Debug.Assert(IsRoot); 959Debug.Assert(IsRoot); 990Debug.Assert(IsRoot); 1785Debug.Assert(IsRoot); // root clocks only; non-roots have constant begin time 1913Debug.Assert(IsRoot); 2471Debug.Assert(!IsInteractivelyStopped || IsRoot); 2645Debug.Assert(!IsInteractivelyStopped || IsRoot); 2686Debug.Assert(IsRoot); 2914if (performTickOperations && IsRoot) 3074Debug.Assert(!IsInteractivelyStopped || IsRoot); 3076if (IsRoot) // We are a root child, use time manager time 3392Debug.Assert(!current.IsRoot, "Root nodes never should reset their Slip amounts with ResetSlipOnSubtree(), even when seeking."); 3729if (IsRoot && (CurrentStateInvalidatedEventRaised || !isInTick)) 3743Debug.Assert(IsRoot); // This should only be called on root-child clocks 3978Debug.Assert(syncClock.IsRoot || syncClock._timeline.BeginTime.HasValue); // Only roots may later validate their _beginTime
System\Windows\Media\Animation\ClockGroup.cs (3)
121if (!IsRoot || 231current.NeedsPostfixTraversal = (current is ClockGroup) || (current.IsRoot); 432Debug.Assert(IsRoot);