1 write to IsRoot
PresentationCore (1)
System\Windows\Media\Animation\Clock.cs (1)
650rootClock.IsRoot = true;
24 references to IsRoot
PresentationCore (24)
System\Windows\Media\Animation\Clock.cs (21)
166if (IsRoot && HasControllableRoot) 330if (IsRoot) 535while (!current.IsRoot) // Traverse up the tree to the root node 602if (CanSlip && (IsRoot || _timeline.BeginTime.HasValue)) 856Debug.Assert(IsRoot); 878Debug.Assert(IsRoot); 949Debug.Assert(IsRoot); 960Debug.Assert(IsRoot); 991Debug.Assert(IsRoot); 1786Debug.Assert(IsRoot); // root clocks only; non-roots have constant begin time 1914Debug.Assert(IsRoot); 2473Debug.Assert(!IsInteractivelyStopped || IsRoot); 2647Debug.Assert(!IsInteractivelyStopped || IsRoot); 2688Debug.Assert(IsRoot); 2916if (performTickOperations && IsRoot) 3076Debug.Assert(!IsInteractivelyStopped || IsRoot); 3078if (IsRoot) // We are a root child, use time manager time 3394Debug.Assert(!current.IsRoot, "Root nodes never should reset their Slip amounts with ResetSlipOnSubtree(), even when seeking."); 3734if (IsRoot && (CurrentStateInvalidatedEventRaised || !isInTick)) 3748Debug.Assert(IsRoot); // This should only be called on root-child clocks 3988Debug.Assert(syncClock.IsRoot || syncClock._timeline.BeginTime.HasValue); // Only roots may later validate their _beginTime
System\Windows\Media\Animation\ClockGroup.cs (3)
122if (!IsRoot || 232current.NeedsPostfixTraversal = (current is ClockGroup) || (current.IsRoot); 433Debug.Assert(IsRoot);