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