75 references to CurrentState
PresentationCore (69)
Core\CSharp\System\Windows\Media\Animation\AnimationLayer.cs (3)
68
&& newAnimationClocks[0].
CurrentState
== ClockState.Stopped)
233
&& _animationClocks[0].
CurrentState
== ClockState.Stopped)
269
if (clock.
CurrentState
!= ClockState.Stopped)
Core\CSharp\System\Windows\Media\Animation\AnimationStorage.cs (1)
634
if (animationClocks[0].
CurrentState
== ClockState.Stopped)
Core\CSharp\System\Windows\Media\Animation\Clock.cs (3)
2919
if (_syncData != null && _syncData.IsInSyncPeriod && _parent.
CurrentState
!= ClockState.Stopped) // We are already in a slip zone
2945
if (_syncData != null && !_syncData.IsInSyncPeriod && _parent.
CurrentState
!= ClockState.Stopped &&
3178
Debug.Assert(_parent.
CurrentState
!= ClockState.Stopped);
Core\CSharp\System\Windows\Media\Animation\ClockGroup.cs (1)
202
if (currentClock != null && currentClock.
CurrentState
== ClockState.Active)
Core\CSharp\System\Windows\Media\Animation\DoubleAnimationUsingPath.cs (1)
175
Debug.Assert(animationClock.
CurrentState
!= ClockState.Stopped);
Core\CSharp\System\Windows\Media\Animation\Generated\BooleanAnimationBase.cs (1)
165
if (animationClock.
CurrentState
== ClockState.Stopped)
Core\CSharp\System\Windows\Media\Animation\Generated\BooleanAnimationUsingKeyFrames.cs (1)
336
Debug.Assert(animationClock.
CurrentState
!= ClockState.Stopped);
Core\CSharp\System\Windows\Media\Animation\Generated\ByteAnimation.cs (1)
220
Debug.Assert(animationClock.
CurrentState
!= ClockState.Stopped);
Core\CSharp\System\Windows\Media\Animation\Generated\ByteAnimationBase.cs (1)
165
if (animationClock.
CurrentState
== ClockState.Stopped)
Core\CSharp\System\Windows\Media\Animation\Generated\ByteAnimationUsingKeyFrames.cs (1)
336
Debug.Assert(animationClock.
CurrentState
!= ClockState.Stopped);
Core\CSharp\System\Windows\Media\Animation\Generated\CharAnimationBase.cs (1)
165
if (animationClock.
CurrentState
== ClockState.Stopped)
Core\CSharp\System\Windows\Media\Animation\Generated\CharAnimationUsingKeyFrames.cs (1)
336
Debug.Assert(animationClock.
CurrentState
!= ClockState.Stopped);
Core\CSharp\System\Windows\Media\Animation\Generated\ColorAnimation.cs (1)
220
Debug.Assert(animationClock.
CurrentState
!= ClockState.Stopped);
Core\CSharp\System\Windows\Media\Animation\Generated\ColorAnimationBase.cs (1)
165
if (animationClock.
CurrentState
== ClockState.Stopped)
Core\CSharp\System\Windows\Media\Animation\Generated\ColorAnimationUsingKeyFrames.cs (1)
336
Debug.Assert(animationClock.
CurrentState
!= ClockState.Stopped);
Core\CSharp\System\Windows\Media\Animation\Generated\DecimalAnimation.cs (1)
220
Debug.Assert(animationClock.
CurrentState
!= ClockState.Stopped);
Core\CSharp\System\Windows\Media\Animation\Generated\DecimalAnimationBase.cs (1)
165
if (animationClock.
CurrentState
== ClockState.Stopped)
Core\CSharp\System\Windows\Media\Animation\Generated\DecimalAnimationUsingKeyFrames.cs (1)
336
Debug.Assert(animationClock.
CurrentState
!= ClockState.Stopped);
Core\CSharp\System\Windows\Media\Animation\Generated\DoubleAnimation.cs (1)
220
Debug.Assert(animationClock.
CurrentState
!= ClockState.Stopped);
Core\CSharp\System\Windows\Media\Animation\Generated\DoubleAnimationBase.cs (1)
165
if (animationClock.
CurrentState
== ClockState.Stopped)
Core\CSharp\System\Windows\Media\Animation\Generated\DoubleAnimationUsingKeyFrames.cs (1)
336
Debug.Assert(animationClock.
CurrentState
!= ClockState.Stopped);
Core\CSharp\System\Windows\Media\Animation\Generated\Int16Animation.cs (1)
220
Debug.Assert(animationClock.
CurrentState
!= ClockState.Stopped);
Core\CSharp\System\Windows\Media\Animation\Generated\Int16AnimationBase.cs (1)
165
if (animationClock.
CurrentState
== ClockState.Stopped)
Core\CSharp\System\Windows\Media\Animation\Generated\Int16AnimationUsingKeyFrames.cs (1)
336
Debug.Assert(animationClock.
CurrentState
!= ClockState.Stopped);
Core\CSharp\System\Windows\Media\Animation\Generated\Int32Animation.cs (1)
220
Debug.Assert(animationClock.
CurrentState
!= ClockState.Stopped);
Core\CSharp\System\Windows\Media\Animation\Generated\Int32AnimationBase.cs (1)
165
if (animationClock.
CurrentState
== ClockState.Stopped)
Core\CSharp\System\Windows\Media\Animation\Generated\Int32AnimationUsingKeyFrames.cs (1)
336
Debug.Assert(animationClock.
CurrentState
!= ClockState.Stopped);
Core\CSharp\System\Windows\Media\Animation\Generated\Int64Animation.cs (1)
220
Debug.Assert(animationClock.
CurrentState
!= ClockState.Stopped);
Core\CSharp\System\Windows\Media\Animation\Generated\Int64AnimationBase.cs (1)
165
if (animationClock.
CurrentState
== ClockState.Stopped)
Core\CSharp\System\Windows\Media\Animation\Generated\Int64AnimationUsingKeyFrames.cs (1)
336
Debug.Assert(animationClock.
CurrentState
!= ClockState.Stopped);
Core\CSharp\System\Windows\Media\Animation\Generated\MatrixAnimationBase.cs (1)
165
if (animationClock.
CurrentState
== ClockState.Stopped)
Core\CSharp\System\Windows\Media\Animation\Generated\MatrixAnimationUsingKeyFrames.cs (1)
336
Debug.Assert(animationClock.
CurrentState
!= ClockState.Stopped);
Core\CSharp\System\Windows\Media\Animation\Generated\ObjectAnimationBase.cs (1)
105
if (animationClock.
CurrentState
== ClockState.Stopped)
Core\CSharp\System\Windows\Media\Animation\Generated\ObjectAnimationUsingKeyFrames.cs (1)
336
Debug.Assert(animationClock.
CurrentState
!= ClockState.Stopped);
Core\CSharp\System\Windows\Media\Animation\Generated\Point3DAnimation.cs (1)
220
Debug.Assert(animationClock.
CurrentState
!= ClockState.Stopped);
Core\CSharp\System\Windows\Media\Animation\Generated\Point3DAnimationBase.cs (1)
165
if (animationClock.
CurrentState
== ClockState.Stopped)
Core\CSharp\System\Windows\Media\Animation\Generated\Point3DAnimationUsingKeyFrames.cs (1)
336
Debug.Assert(animationClock.
CurrentState
!= ClockState.Stopped);
Core\CSharp\System\Windows\Media\Animation\Generated\PointAnimation.cs (1)
220
Debug.Assert(animationClock.
CurrentState
!= ClockState.Stopped);
Core\CSharp\System\Windows\Media\Animation\Generated\PointAnimationBase.cs (1)
165
if (animationClock.
CurrentState
== ClockState.Stopped)
Core\CSharp\System\Windows\Media\Animation\Generated\PointAnimationUsingKeyFrames.cs (1)
336
Debug.Assert(animationClock.
CurrentState
!= ClockState.Stopped);
Core\CSharp\System\Windows\Media\Animation\Generated\QuaternionAnimation.cs (1)
220
Debug.Assert(animationClock.
CurrentState
!= ClockState.Stopped);
Core\CSharp\System\Windows\Media\Animation\Generated\QuaternionAnimationBase.cs (1)
165
if (animationClock.
CurrentState
== ClockState.Stopped)
Core\CSharp\System\Windows\Media\Animation\Generated\QuaternionAnimationUsingKeyFrames.cs (1)
336
Debug.Assert(animationClock.
CurrentState
!= ClockState.Stopped);
Core\CSharp\System\Windows\Media\Animation\Generated\RectAnimation.cs (1)
220
Debug.Assert(animationClock.
CurrentState
!= ClockState.Stopped);
Core\CSharp\System\Windows\Media\Animation\Generated\RectAnimationBase.cs (1)
165
if (animationClock.
CurrentState
== ClockState.Stopped)
Core\CSharp\System\Windows\Media\Animation\Generated\RectAnimationUsingKeyFrames.cs (1)
336
Debug.Assert(animationClock.
CurrentState
!= ClockState.Stopped);
Core\CSharp\System\Windows\Media\Animation\Generated\Rotation3DAnimation.cs (1)
220
Debug.Assert(animationClock.
CurrentState
!= ClockState.Stopped);
Core\CSharp\System\Windows\Media\Animation\Generated\Rotation3DAnimationBase.cs (1)
156
if (animationClock.
CurrentState
== ClockState.Stopped)
Core\CSharp\System\Windows\Media\Animation\Generated\Rotation3DAnimationUsingKeyFrames.cs (1)
336
Debug.Assert(animationClock.
CurrentState
!= ClockState.Stopped);
Core\CSharp\System\Windows\Media\Animation\Generated\SingleAnimation.cs (1)
220
Debug.Assert(animationClock.
CurrentState
!= ClockState.Stopped);
Core\CSharp\System\Windows\Media\Animation\Generated\SingleAnimationBase.cs (1)
165
if (animationClock.
CurrentState
== ClockState.Stopped)
Core\CSharp\System\Windows\Media\Animation\Generated\SingleAnimationUsingKeyFrames.cs (1)
336
Debug.Assert(animationClock.
CurrentState
!= ClockState.Stopped);
Core\CSharp\System\Windows\Media\Animation\Generated\SizeAnimation.cs (1)
220
Debug.Assert(animationClock.
CurrentState
!= ClockState.Stopped);
Core\CSharp\System\Windows\Media\Animation\Generated\SizeAnimationBase.cs (1)
165
if (animationClock.
CurrentState
== ClockState.Stopped)
Core\CSharp\System\Windows\Media\Animation\Generated\SizeAnimationUsingKeyFrames.cs (1)
336
Debug.Assert(animationClock.
CurrentState
!= ClockState.Stopped);
Core\CSharp\System\Windows\Media\Animation\Generated\StringAnimationBase.cs (1)
156
if (animationClock.
CurrentState
== ClockState.Stopped)
Core\CSharp\System\Windows\Media\Animation\Generated\StringAnimationUsingKeyFrames.cs (1)
336
Debug.Assert(animationClock.
CurrentState
!= ClockState.Stopped);
Core\CSharp\System\Windows\Media\Animation\Generated\Vector3DAnimation.cs (1)
220
Debug.Assert(animationClock.
CurrentState
!= ClockState.Stopped);
Core\CSharp\System\Windows\Media\Animation\Generated\Vector3DAnimationBase.cs (1)
165
if (animationClock.
CurrentState
== ClockState.Stopped)
Core\CSharp\System\Windows\Media\Animation\Generated\Vector3DAnimationUsingKeyFrames.cs (1)
336
Debug.Assert(animationClock.
CurrentState
!= ClockState.Stopped);
Core\CSharp\System\Windows\Media\Animation\Generated\VectorAnimation.cs (1)
220
Debug.Assert(animationClock.
CurrentState
!= ClockState.Stopped);
Core\CSharp\System\Windows\Media\Animation\Generated\VectorAnimationBase.cs (1)
165
if (animationClock.
CurrentState
== ClockState.Stopped)
Core\CSharp\System\Windows\Media\Animation\Generated\VectorAnimationUsingKeyFrames.cs (1)
336
Debug.Assert(animationClock.
CurrentState
!= ClockState.Stopped);
Core\CSharp\System\Windows\Media\Animation\MatrixAnimationUsingPath.cs (1)
258
Debug.Assert(animationClock.
CurrentState
!= ClockState.Stopped);
Core\CSharp\System\Windows\Media\Animation\PointAnimationUsingPath.cs (1)
151
Debug.Assert(animationClock.
CurrentState
!= ClockState.Stopped);
PresentationFramework (6)
src\Framework\System\windows\Documents\CaretElement.cs (2)
600
if (_blinkAnimationClock.
CurrentState
== ClockState.Active)
944
if (visible && (!(_blinkAnimationClock.
CurrentState
== ClockState.Active) || positionChanged))
src\Framework\System\Windows\Media\Animation\Generated\ThicknessAnimation.cs (1)
220
Debug.Assert(animationClock.
CurrentState
!= ClockState.Stopped);
src\Framework\System\Windows\Media\Animation\Generated\ThicknessAnimationBase.cs (1)
165
if (animationClock.
CurrentState
== ClockState.Stopped)
src\Framework\System\Windows\Media\Animation\Generated\ThicknessAnimationUsingKeyFrames.cs (1)
336
Debug.Assert(animationClock.
CurrentState
!= ClockState.Stopped);
src\Framework\System\Windows\Media\Animation\Storyboard.cs (1)
1467
return clock.
CurrentState
;