Beispiel #1
0
 public CallInfo(int index, AnimationContext context, Rect oldBounds, Rect newBounds)
 {
     Index     = index;
     Context   = context;
     OldBounds = oldBounds;
     NewBounds = newBounds;
 }
Beispiel #2
0
 public CallInfo(int index, AnimationContext context)
 {
     Index     = index;
     Context   = context;
     OldBounds = default;
     NewBounds = default;
 }
Beispiel #3
0
 protected override void StartBoundsChangeAnimation(UIElement element, AnimationContext context, Rect oldBounds, Rect newBounds)
 {
     if (StartBoundsChangeAnimationFunc != null)
     {
         StartBoundsChangeAnimationFunc(element, context, oldBounds, newBounds);
         OnBoundsChangeAnimationCompleted(element);
     }
 }
Beispiel #4
0
 protected override void StartHideAnimation(UIElement element, AnimationContext context)
 {
     if (StartHideAnimationFunc != null)
     {
         StartHideAnimationFunc(element, context);
         OnHideAnimationCompleted(element);
     }
 }
Beispiel #5
0
 protected override bool HasBoundsChangeAnimationCore(
     UIElement element,
     AnimationContext context,
     Rect oldBounds,
     Rect newBounds)
 {
     return(HasBoundsChangeAnimationValue);
 }
Beispiel #6
0
 protected override bool HasHideAnimationCore(UIElement element, AnimationContext context)
 {
     return(HasHideAnimationValue);
 }