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); 1782Debug.Assert(IsRoot); // root clocks only; non-roots have constant begin time 1910Debug.Assert(IsRoot); 2468Debug.Assert(!IsInteractivelyStopped || IsRoot); 2642Debug.Assert(!IsInteractivelyStopped || IsRoot); 2683Debug.Assert(IsRoot); 2908if (performTickOperations && IsRoot) 3068Debug.Assert(!IsInteractivelyStopped || IsRoot); 3070if (IsRoot) // We are a root child, use time manager time 3386Debug.Assert(!current.IsRoot, "Root nodes never should reset their Slip amounts with ResetSlipOnSubtree(), even when seeking."); 3723if (IsRoot && (CurrentStateInvalidatedEventRaised || !isInTick)) 3737Debug.Assert(IsRoot); // This should only be called on root-child clocks 3972Debug.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);